|
4 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
5 | 5 | <modelVersion>4.0.0</modelVersion> |
6 | 6 |
|
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> |
14 | 8 | <artifactId>fastfileindex-demo</artifactId> |
| 9 | + <version>v1.0.0</version> |
15 | 10 | <packaging>jar</packaging> |
16 | 11 |
|
| 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 | + |
17 | 25 | <dependencies> |
18 | 26 | <dependency> |
19 | | - <groupId>io.github.andrestubbe</groupId> |
| 27 | + <groupId>com.github.andrestubbe</groupId> |
20 | 28 | <artifactId>fastfileindex</artifactId> |
21 | 29 | <version>v1.0.0</version> |
22 | | - <systemPath>../../target/fastfileindex-v1.0.0.jar</systemPath> |
23 | | - <scope>system</scope> |
24 | 30 | </dependency> |
25 | 31 | </dependencies> |
26 | 32 |
|
27 | 33 | <build> |
28 | 34 | <sourceDirectory>src/main/java</sourceDirectory> |
29 | 35 | <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> |
49 | 36 | <plugin> |
50 | 37 | <groupId>org.codehaus.mojo</groupId> |
51 | 38 | <artifactId>exec-maven-plugin</artifactId> |
52 | 39 | <version>3.1.0</version> |
53 | 40 | <configuration> |
54 | 41 | <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> |
66 | 42 | </configuration> |
67 | 43 | </plugin> |
68 | 44 | </plugins> |
|
0 commit comments