-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from celeduc/mavenize
Mavenize
- Loading branch information
Showing
13 changed files
with
87 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
*.log | ||
dist/* | ||
target/ | ||
dependency-reduced-pom.xml | ||
|
||
# Scala-IDE specific | ||
.idea/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,21 +2,47 @@ | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>org.ipfs</groupId> | ||
<groupId>io.ipfs</groupId> | ||
<artifactId>api</artifactId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
<version>v1.0.0</version> | ||
<packaging>jar</packaging> | ||
|
||
<name>java-ipfs-api</name> | ||
<url>https://github.com/ipfs/java-ipfs-api</url> | ||
|
||
<issueManagement> | ||
<url>https://github.com/ipfs/java-ipfs-api/issues</url> | ||
<system>GitHub Issues</system> | ||
</issueManagement> | ||
|
||
<scm> | ||
<url>https://github.com/ipfs/java-ipfs-api</url> | ||
<connection>scm:git:git://github.com/ipfs/java-ipfs-api.git</connection> | ||
<developerConnection>scm:git:[email protected]:ipfs/java-ipfs-api.git</developerConnection> | ||
</scm> | ||
|
||
<licenses> | ||
<license> | ||
<name>MIT License</name> | ||
<url>https://github.com/ipfs/java-ipfs-api/blob/master/LICENSE</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | ||
<junit.version>4.12</junit.version> | ||
<hamcrest.version>1.3</hamcrest.version> | ||
</properties> | ||
|
||
<repositories> | ||
<repository> | ||
<id>jitpack.io</id> | ||
<url>https://jitpack.io</url> | ||
</repository> | ||
</repositories> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
|
@@ -28,6 +54,17 @@ | |
<groupId>org.hamcrest</groupId> | ||
<artifactId>hamcrest-core</artifactId> | ||
<version>${hamcrest.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.github.multiformats</groupId> | ||
<artifactId>java-multiaddr</artifactId> | ||
<version>v1.0.0</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.github.multiformats</groupId> | ||
<artifactId>java-multihash</artifactId> | ||
<version>v1.0.0</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
|
@@ -42,6 +79,23 @@ | |
<target>1.8</target> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<version>2.19.1</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<version>3.0.2</version> | ||
<configuration> | ||
<archive> | ||
<manifest> | ||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> | ||
</manifest> | ||
</archive> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
5 changes: 4 additions & 1 deletion
5
src/main/java/org/ipfs/api/IPFS.java → src/main/java/io/ipfs/api/IPFS.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
src/main/java/org/ipfs/api/MerkleNode.java → src/main/java/io/ipfs/api/MerkleNode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/org/ipfs/api/Multipart.java → src/main/java/io/ipfs/api/Multipart.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package org.ipfs.api; | ||
package io.ipfs.api; | ||
|
||
import java.io.*; | ||
import java.net.*; | ||
|
2 changes: 1 addition & 1 deletion
2
...in/java/org/ipfs/api/NamedStreamable.java → ...ain/java/io/ipfs/api/NamedStreamable.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package org.ipfs.api; | ||
package io.ipfs.api; | ||
|
||
import java.io.*; | ||
import java.net.*; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters