Skip to content

Commit a87acf3

Browse files
committed
Simplify Demo pom.xml to use only online JitPack dependency
1 parent ae4b6d3 commit a87acf3

1 file changed

Lines changed: 16 additions & 40 deletions

File tree

examples/Demo/pom.xml

Lines changed: 16 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -4,65 +4,41 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

7-
<parent>
8-
<groupId>io.github.andrestubbe</groupId>
9-
<artifactId>fastfileindex</artifactId>
10-
<version>v1.0.0</version>
11-
<relativePath>../../pom.xml</relativePath>
12-
</parent>
13-
7+
<groupId>io.github.andrestubbe</groupId>
148
<artifactId>fastfileindex-demo</artifactId>
9+
<version>v1.0.0</version>
1510
<packaging>jar</packaging>
1611

12+
<properties>
13+
<maven.compiler.source>17</maven.compiler.source>
14+
<maven.compiler.target>17</maven.compiler.target>
15+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16+
</properties>
17+
18+
<repositories>
19+
<repository>
20+
<id>jitpack.io</id>
21+
<url>https://jitpack.io</url>
22+
</repository>
23+
</repositories>
24+
1725
<dependencies>
1826
<dependency>
19-
<groupId>io.github.andrestubbe</groupId>
27+
<groupId>com.github.andrestubbe</groupId>
2028
<artifactId>fastfileindex</artifactId>
2129
<version>v1.0.0</version>
22-
<systemPath>../../target/fastfileindex-v1.0.0.jar</systemPath>
23-
<scope>system</scope>
2430
</dependency>
2531
</dependencies>
2632

2733
<build>
2834
<sourceDirectory>src/main/java</sourceDirectory>
2935
<plugins>
30-
<plugin>
31-
<groupId>org.codehaus.mojo</groupId>
32-
<artifactId>build-helper-maven-plugin</artifactId>
33-
<version>3.5.0</version>
34-
<executions>
35-
<execution>
36-
<id>add-source</id>
37-
<phase>generate-sources</phase>
38-
<goals>
39-
<goal>add-source</goal>
40-
</goals>
41-
<configuration>
42-
<sources>
43-
<source>../../src/main/java</source>
44-
</sources>
45-
</configuration>
46-
</execution>
47-
</executions>
48-
</plugin>
4936
<plugin>
5037
<groupId>org.codehaus.mojo</groupId>
5138
<artifactId>exec-maven-plugin</artifactId>
5239
<version>3.1.0</version>
5340
<configuration>
5441
<mainClass>fastfileindex.Demo</mainClass>
55-
<classpathScope>compile</classpathScope>
56-
<cleanupDaemonThreads>false</cleanupDaemonThreads>
57-
<additionalClasspathElements>
58-
<additionalClasspathElement>../../build</additionalClasspathElement>
59-
</additionalClasspathElements>
60-
<systemProperties>
61-
<systemProperty>
62-
<key>java.library.path</key>
63-
<value>../../build</value>
64-
</systemProperty>
65-
</systemProperties>
6642
</configuration>
6743
</plugin>
6844
</plugins>

0 commit comments

Comments
 (0)