Skip to content

Commit f05001c

Browse files
committed
Remove dependency on system jars
1 parent e33d3c7 commit f05001c

File tree

1 file changed

+20
-42
lines changed

1 file changed

+20
-42
lines changed

pom.xml

Lines changed: 20 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@
3232
<properties>
3333
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3434
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
35-
<junit.version>4.12</junit.version>
36-
<hamcrest.version>1.3</hamcrest.version>
35+
<version.junit>4.12</version.junit>
36+
<version.hamcrest>1.3</version.hamcrest>
37+
<version.multiaddr>v1.3.0</version.multiaddr>
3738
</properties>
3839

3940
<repositories>
@@ -44,46 +45,23 @@
4445
</repositories>
4546

4647
<dependencies>
47-
<dependency>
48-
<groupId>junit</groupId>
49-
<artifactId>junit</artifactId>
50-
<version>${junit.version}</version>
51-
<scope>test</scope>
52-
</dependency>
53-
<dependency>
54-
<groupId>org.hamcrest</groupId>
55-
<artifactId>hamcrest-core</artifactId>
56-
<version>${hamcrest.version}</version>
57-
<scope>test</scope>
58-
</dependency>
59-
<dependency>
60-
<groupId>com.github.multiformats</groupId>
61-
<artifactId>java-multiaddr</artifactId>
62-
<version>v1.3.1</version>
63-
<scope>system</scope>
64-
<systemPath>${project.basedir}/lib/multiaddr.jar</systemPath>
65-
</dependency>
66-
<dependency>
67-
<groupId>com.github.multiformats</groupId>
68-
<artifactId>java-multihash</artifactId>
69-
<version>v1.2.1</version>
70-
<scope>system</scope>
71-
<systemPath>${project.basedir}/lib/multihash.jar</systemPath>
72-
</dependency>
73-
<dependency>
74-
<groupId>com.github.multiformats</groupId>
75-
<artifactId>java-multibase</artifactId>
76-
<version>v1.0.1</version>
77-
<scope>system</scope>
78-
<systemPath>${project.basedir}/lib/multibase.jar</systemPath>
79-
</dependency>
80-
<dependency>
81-
<groupId>com.github.ipld</groupId>
82-
<artifactId>java-cid</artifactId>
83-
<version>v1.1.1</version>
84-
<scope>system</scope>
85-
<systemPath>${project.basedir}/lib/cid.jar</systemPath>
86-
</dependency>
48+
<dependency>
49+
<groupId>com.github.multiformats</groupId>
50+
<artifactId>java-multiaddr</artifactId>
51+
<version>${version.multiaddr}</version>
52+
</dependency>
53+
<dependency>
54+
<groupId>junit</groupId>
55+
<artifactId>junit</artifactId>
56+
<version>${version.junit}</version>
57+
<scope>test</scope>
58+
</dependency>
59+
<dependency>
60+
<groupId>org.hamcrest</groupId>
61+
<artifactId>hamcrest-core</artifactId>
62+
<version>${version.hamcrest}</version>
63+
<scope>test</scope>
64+
</dependency>
8765
</dependencies>
8866

8967
<build>

0 commit comments

Comments
 (0)