Skip to content

Commit 67d48e6

Browse files
committed
update pom.xml with Maven dependencies to multformats
1 parent 6335fe1 commit 67d48e6

File tree

1 file changed

+46
-60
lines changed

1 file changed

+46
-60
lines changed

pom.xml

Lines changed: 46 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,47 @@
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44

5-
<groupId>org.ipfs</groupId>
5+
<groupId>io.ipfs</groupId>
66
<artifactId>api</artifactId>
7-
<version>0.0.1-SNAPSHOT</version>
7+
<version>v1.0.0</version>
88
<packaging>jar</packaging>
99

1010
<name>java-ipfs-api</name>
1111
<url>https://github.com/ipfs/java-ipfs-api</url>
1212

13+
<issueManagement>
14+
<url>https://github.com/ipfs/java-ipfs-api/issues</url>
15+
<system>GitHub Issues</system>
16+
</issueManagement>
17+
18+
<scm>
19+
<url>https://github.com/ipfs/java-ipfs-api</url>
20+
<connection>scm:git:git://github.com/ipfs/java-ipfs-api.git</connection>
21+
<developerConnection>scm:git:[email protected]:ipfs/java-ipfs-api.git</developerConnection>
22+
</scm>
23+
24+
<licenses>
25+
<license>
26+
<name>MIT License</name>
27+
<url>https://github.com/ipfs/java-ipfs-api/blob/master/LICENSE</url>
28+
<distribution>repo</distribution>
29+
</license>
30+
</licenses>
31+
1332
<properties>
1433
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1534
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1635
<junit.version>4.12</junit.version>
1736
<hamcrest.version>1.3</hamcrest.version>
1837
</properties>
1938

39+
<repositories>
40+
<repository>
41+
<id>jitpack.io</id>
42+
<url>https://jitpack.io</url>
43+
</repository>
44+
</repositories>
45+
2046
<dependencies>
2147
<dependency>
2248
<groupId>junit</groupId>
@@ -31,14 +57,14 @@
3157
<scope>test</scope>
3258
</dependency>
3359
<dependency>
34-
<groupId>org.ipfs.api</groupId>
35-
<artifactId>Multiaddr</artifactId>
36-
<version>1.0</version>
60+
<groupId>io.ipfs.multiformats</groupId>
61+
<artifactId>multiaddr</artifactId>
62+
<version>v1.0.0</version>
3763
</dependency>
3864
<dependency>
39-
<groupId>org.ipfs.api</groupId>
40-
<artifactId>Multihash</artifactId>
41-
<version>1.0</version>
65+
<groupId>io.ipfs.multiformats</groupId>
66+
<artifactId>multihash</artifactId>
67+
<version>v1.0.0</version>
4268
</dependency>
4369
</dependencies>
4470

@@ -55,61 +81,21 @@
5581
</plugin>
5682
<plugin>
5783
<groupId>org.apache.maven.plugins</groupId>
58-
<artifactId>maven-install-plugin</artifactId>
59-
<version>2.5.1</version>
60-
<executions>
61-
<execution>
62-
<id>install-Multiaddr</id>
63-
<goals>
64-
<goal>install-file</goal>
65-
</goals>
66-
<phase>validate</phase>
67-
<configuration>
68-
<groupId>org.ipfs.api</groupId>
69-
<artifactId>Multiaddr</artifactId>
70-
<version>1.0</version>
71-
<packaging>jar</packaging>
72-
<file>${basedir}/lib/Multiaddr.jar</file>
73-
<generatePom>true</generatePom>
74-
</configuration>
75-
</execution>
76-
<execution>
77-
<id>install-Multihash</id>
78-
<goals>
79-
<goal>install-file</goal>
80-
</goals>
81-
<phase>validate</phase>
82-
<configuration>
83-
<groupId>org.ipfs.api</groupId>
84-
<artifactId>Multihash</artifactId>
85-
<version>1.0</version>
86-
<packaging>jar</packaging>
87-
<file>${basedir}/lib/Multihash.jar</file>
88-
<generatePom>true</generatePom>
89-
</configuration>
90-
</execution>
91-
</executions>
84+
<artifactId>maven-surefire-plugin</artifactId>
85+
<version>2.19.1</version>
9286
</plugin>
9387
<plugin>
9488
<groupId>org.apache.maven.plugins</groupId>
95-
<artifactId>maven-shade-plugin</artifactId>
96-
<version>2.1</version>
97-
<executions>
98-
<execution>
99-
<phase>package</phase>
100-
<goals>
101-
<goal>shade</goal>
102-
</goals>
103-
<configuration>
104-
<transformers>
105-
<transformer
106-
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
107-
</transformer>
108-
</transformers>
109-
</configuration>
110-
</execution>
111-
</executions>
112-
</plugin>
89+
<artifactId>maven-jar-plugin</artifactId>
90+
<version>3.0.2</version>
91+
<configuration>
92+
<archive>
93+
<manifest>
94+
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
95+
</manifest>
96+
</archive>
97+
</configuration>
98+
</plugin>
11399
</plugins>
114100
</build>
115101
</project>

0 commit comments

Comments
 (0)