|
2 | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 3 | <modelVersion>4.0.0</modelVersion> |
4 | 4 |
|
5 | | - <groupId>org.ipfs</groupId> |
| 5 | + <groupId>io.ipfs</groupId> |
6 | 6 | <artifactId>api</artifactId> |
7 | | - <version>0.0.1-SNAPSHOT</version> |
| 7 | + <version>v1.0.0</version> |
8 | 8 | <packaging>jar</packaging> |
9 | 9 |
|
10 | 10 | <name>java-ipfs-api</name> |
11 | 11 | <url>https://github.com/ipfs/java-ipfs-api</url> |
12 | 12 |
|
| 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:git@github.com: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 | + |
13 | 32 | <properties> |
14 | 33 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
15 | 34 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
16 | 35 | <junit.version>4.12</junit.version> |
17 | 36 | <hamcrest.version>1.3</hamcrest.version> |
18 | 37 | </properties> |
19 | 38 |
|
| 39 | + <repositories> |
| 40 | + <repository> |
| 41 | + <id>jitpack.io</id> |
| 42 | + <url>https://jitpack.io</url> |
| 43 | + </repository> |
| 44 | + </repositories> |
| 45 | + |
20 | 46 | <dependencies> |
21 | 47 | <dependency> |
22 | 48 | <groupId>junit</groupId> |
|
31 | 57 | <scope>test</scope> |
32 | 58 | </dependency> |
33 | 59 | <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> |
37 | 63 | </dependency> |
38 | 64 | <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> |
42 | 68 | </dependency> |
43 | 69 | </dependencies> |
44 | 70 |
|
|
55 | 81 | </plugin> |
56 | 82 | <plugin> |
57 | 83 | <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> |
92 | 86 | </plugin> |
93 | 87 | <plugin> |
94 | 88 | <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> |
113 | 99 | </plugins> |
114 | 100 | </build> |
115 | 101 | </project> |
0 commit comments