Skip to content

Commit 857e155

Browse files
committed
build(maven): import libraries from maven repositories instead of system scope
It's rather uneasy to build a .jar file having libs on disk. Maven says: all hail repos.
1 parent 2371947 commit 857e155

3 files changed

Lines changed: 15 additions & 7 deletions

File tree

lib/fxiconics-0.0.5-jfx.jar

-366 KB
Binary file not shown.

lib/junique-1.0.4.jar

-10 KB
Binary file not shown.

pom.xml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@
1515
<powermock.version>1.6.4</powermock.version>
1616
<hamcrest.version>1.2.1</hamcrest.version>
1717
</properties>
18+
<repositories>
19+
<repository>
20+
<id>poolborges-github-thirdparty</id>
21+
<name>poolborges-github</name>
22+
<url>https://github.com/poolborges/maven/raw/master/thirdparty/</url>
23+
</repository>
24+
<repository>
25+
<id>jitpack.io</id>
26+
<url>https://jitpack.io</url>
27+
</repository>
28+
</repositories>
1829
<build>
1930
<sourceDirectory>${basedir}/src</sourceDirectory>
2031
<testSourceDirectory>${project.basedir}/test</testSourceDirectory>
@@ -111,15 +122,12 @@
111122
<groupId>it.sauronsoftware</groupId>
112123
<artifactId>junique</artifactId>
113124
<version>1.0.4</version>
114-
<scope>system</scope>
115-
<systemPath>${project.basedir}/lib/junique-1.0.4.jar</systemPath>
125+
<type>jar</type>
116126
</dependency>
117127
<dependency>
118-
<groupId>com.pepperonas</groupId>
119-
<artifactId>fxiconics</artifactId>
120-
<version>0.0.5</version>
121-
<scope>system</scope>
122-
<systemPath>${project.basedir}/lib/fxiconics-0.0.5-jfx.jar</systemPath>
128+
<groupId>com.github.pepperonas</groupId>
129+
<artifactId>FxIconics</artifactId>
130+
<version>cd7160eb99</version>
123131
</dependency>
124132
<dependency>
125133
<groupId>org.reflections</groupId>

0 commit comments

Comments
 (0)