-
Notifications
You must be signed in to change notification settings - Fork 2
/
pom.xml
128 lines (123 loc) · 3.74 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.andylizi.starsector</groupId>
<artifactId>planet-search</artifactId>
<!-- Also need to change planetsearch.version -->
<version>1.2.2</version>
<packaging>jar</packaging>
<name>PlanetSearch</name>
<licenses>
<license>
<name>MPL-2.0</name>
<url>https://mozilla.org/MPL/2.0/</url>
</license>
</licenses>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<starsector.version>0.97a-RC11</starsector.version>
</properties>
<dependencies>
<!--
mvn install:install-file \
-Dfile=starfarer.api.jar \
-Dsources=starfarer.api.zip \
-DgroupId=com.fs.starfarer \
-DartifactId=starfarer-api \
-Dversion=0.97a-RC11 \
-Dpackaging=jar \
-DgeneratePom=true
-->
<dependency>
<groupId>com.fs.starfarer</groupId>
<artifactId>starfarer-api</artifactId>
<version>${starsector.version}</version>
<scope>provided</scope>
</dependency>
<!--
mvn install:install-file \
-Dfile=fs.common_obf.jar \
-DgroupId=com.fs.starfarer \
-DartifactId=common \
-Dversion=0.97a-RC11 \
-Dpackaging=jar \
-DgeneratePom=true
-->
<dependency>
<groupId>com.fs.starfarer</groupId>
<artifactId>common</artifactId>
<version>${starsector.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.9</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations-java5</artifactId>
<version>23.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.8.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>1.8.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<finalName>${project.name}-${project.version}</finalName>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<excludes>
<exclude>com/fs/**</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.5.0</version>
<configuration>
<descriptors>
<descriptor>src/assembly/mod.xml</descriptor>
</descriptors>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.1.0</version>
</plugin>
</plugins>
</build>
</project>