1 | <project xmlns="http://maven.apache.org/POM/4.0.0"
|
---|
2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
---|
3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
---|
4 | <modelVersion>4.0.0</modelVersion>
|
---|
5 | <groupId>tudelft.utilities.j2p</groupId>
|
---|
6 | <artifactId>core</artifactId>
|
---|
7 | <version>1.0.3</version>
|
---|
8 |
|
---|
9 | <properties>
|
---|
10 | <!-- Tell Maven we want to use Java 8 -->
|
---|
11 | <maven.compiler.source>1.8</maven.compiler.source>
|
---|
12 | <maven.compiler.target>1.8</maven.compiler.target>
|
---|
13 | <!-- Tell Maven to treat all source files as UTF-8 -->
|
---|
14 | <jackson-2-version>2.12.3</jackson-2-version>
|
---|
15 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
---|
16 | <passwd>${env.ARTIFACTORY_PASS}</passwd>
|
---|
17 | <j2p-version>${project.version}</j2p-version>
|
---|
18 | </properties>
|
---|
19 |
|
---|
20 |
|
---|
21 |
|
---|
22 | <distributionManagement>
|
---|
23 | <repository>
|
---|
24 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
25 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
26 | </repository>
|
---|
27 | </distributionManagement>
|
---|
28 |
|
---|
29 | <repositories>
|
---|
30 | <repository>
|
---|
31 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
32 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
33 | <snapshots>
|
---|
34 | <enabled>false</enabled>
|
---|
35 | </snapshots>
|
---|
36 | </repository>
|
---|
37 | </repositories>
|
---|
38 |
|
---|
39 | <pluginRepositories>
|
---|
40 | <pluginRepository>
|
---|
41 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
42 | <name>plugins-release</name>
|
---|
43 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
44 | </pluginRepository>
|
---|
45 |
|
---|
46 | <pluginRepository>
|
---|
47 | <id>central</id>
|
---|
48 | <url>https://repo1.maven.org/maven2</url>
|
---|
49 | </pluginRepository>
|
---|
50 | <pluginRepository>
|
---|
51 | <id>jfrog-plugins-release</id>
|
---|
52 | <name>plugins-release</name>
|
---|
53 | <url>https://oss.jfrog.org/artifactory/plugins-release</url>
|
---|
54 | </pluginRepository>
|
---|
55 | </pluginRepositories>
|
---|
56 |
|
---|
57 | <dependencies>
|
---|
58 | <dependency>
|
---|
59 | <groupId>com.github.javaparser</groupId>
|
---|
60 | <artifactId>javaparser-symbol-solver-core</artifactId>
|
---|
61 | <version>3.24.8</version>
|
---|
62 | </dependency>
|
---|
63 | <dependency>
|
---|
64 | <groupId>junit</groupId>
|
---|
65 | <artifactId>junit</artifactId>
|
---|
66 | <version>4.12</version>
|
---|
67 | <scope>test</scope>
|
---|
68 | </dependency>
|
---|
69 |
|
---|
70 | <!-- FIXME this should be removed when we have separated the utilities
|
---|
71 | translator -->
|
---|
72 | <dependency>
|
---|
73 | <groupId>tudelft.utilities</groupId>
|
---|
74 | <artifactId>utilities</artifactId>
|
---|
75 | <version>1.3.0</version>
|
---|
76 | </dependency>
|
---|
77 | <dependency>
|
---|
78 | <groupId>tudelft</groupId>
|
---|
79 | <artifactId>annotations</artifactId>
|
---|
80 | <version>1.0.0</version>
|
---|
81 | </dependency>
|
---|
82 |
|
---|
83 | <dependency>
|
---|
84 | <groupId>tudelft.utilities</groupId>
|
---|
85 | <artifactId>logging</artifactId>
|
---|
86 | <version>1.1.0</version>
|
---|
87 | </dependency>
|
---|
88 |
|
---|
89 | <dependency>
|
---|
90 | <groupId>tudelft.utilities</groupId>
|
---|
91 | <artifactId>pyrunner</artifactId>
|
---|
92 | <version>1.2.1</version>
|
---|
93 | </dependency>
|
---|
94 |
|
---|
95 | <dependency>
|
---|
96 | <!-- used for @NonNull. -->
|
---|
97 | <groupId>org.eclipse.jdt</groupId>
|
---|
98 | <artifactId>org.eclipse.jdt.annotation</artifactId>
|
---|
99 | <version>2.3.0</version>
|
---|
100 | </dependency>
|
---|
101 |
|
---|
102 | <dependency>
|
---|
103 | <groupId>com.fasterxml.jackson.core</groupId>
|
---|
104 | <artifactId>jackson-core</artifactId>
|
---|
105 | <version>${jackson-2-version}</version>
|
---|
106 | <scope>test</scope>
|
---|
107 | </dependency>
|
---|
108 |
|
---|
109 | <!-- Just the annotations; use this dependency if you want to attach annotations
|
---|
110 | to classes without connecting them to the code. -->
|
---|
111 | <dependency>
|
---|
112 | <groupId>com.fasterxml.jackson.core</groupId>
|
---|
113 | <artifactId>jackson-annotations</artifactId>
|
---|
114 | <version>${jackson-2-version}</version>
|
---|
115 | <scope>test</scope>
|
---|
116 | </dependency>
|
---|
117 |
|
---|
118 | <!-- databinding; ObjectMapper, JsonNode and related classes are here -->
|
---|
119 | <dependency>
|
---|
120 | <groupId>com.fasterxml.jackson.core</groupId>
|
---|
121 | <artifactId>jackson-databind</artifactId>
|
---|
122 | <version>${jackson-2-version}</version>
|
---|
123 | <scope>test</scope>
|
---|
124 | </dependency>
|
---|
125 |
|
---|
126 | <!-- smile (binary JSON). Other artifacts in this group do other formats. -->
|
---|
127 | <dependency>
|
---|
128 | <groupId>com.fasterxml.jackson.dataformat</groupId>
|
---|
129 | <artifactId>jackson-dataformat-smile</artifactId>
|
---|
130 | <version>${jackson-2-version}</version>
|
---|
131 | <scope>test</scope>
|
---|
132 | </dependency>
|
---|
133 | <!-- JAX-RS provider -->
|
---|
134 | <dependency>
|
---|
135 | <groupId>com.fasterxml.jackson.jaxrs</groupId>
|
---|
136 | <artifactId>jackson-jaxrs-json-provider</artifactId>
|
---|
137 | <version>${jackson-2-version}</version>
|
---|
138 | <scope>test</scope>
|
---|
139 | </dependency>
|
---|
140 | <!-- Support for JAX-B annotations as additional configuration -->
|
---|
141 | <dependency>
|
---|
142 | <groupId>com.fasterxml.jackson.module</groupId>
|
---|
143 | <artifactId>jackson-module-jaxb-annotations</artifactId>
|
---|
144 | <version>${jackson-2-version}</version>
|
---|
145 | <scope>test</scope>
|
---|
146 | </dependency>
|
---|
147 |
|
---|
148 | <!-- Used ONLY for getting the source file of a class. #345 -->
|
---|
149 | <dependency>
|
---|
150 | <groupId>org.apache.bcel</groupId>
|
---|
151 | <artifactId>bcel</artifactId>
|
---|
152 | <version>6.10.0</version>
|
---|
153 | </dependency>
|
---|
154 |
|
---|
155 | </dependencies>
|
---|
156 |
|
---|
157 | <build>
|
---|
158 |
|
---|
159 |
|
---|
160 | <plugins>
|
---|
161 |
|
---|
162 | <!-- This adds additional source packages -->
|
---|
163 | <plugin>
|
---|
164 | <groupId>org.codehaus.mojo</groupId>
|
---|
165 | <artifactId>build-helper-maven-plugin</artifactId>
|
---|
166 | <version>1.9.1</version>
|
---|
167 | <executions>
|
---|
168 | <execution>
|
---|
169 | <id>add-test-source</id>
|
---|
170 | <phase>generate-test-sources</phase>
|
---|
171 | <goals>
|
---|
172 | <goal>add-test-source</goal>
|
---|
173 | </goals>
|
---|
174 | <configuration>
|
---|
175 | <sources>
|
---|
176 | <source>src/test/overload</source>
|
---|
177 | <source>src/test/overloadconstructor</source>
|
---|
178 | <source>src/test/hasnext</source>
|
---|
179 | <source>src/test/iterator</source>
|
---|
180 | <source>src/test/resourcestest</source>
|
---|
181 | <source>src/test/reservedword</source>
|
---|
182 | <source>src/test/objectfunctions</source>
|
---|
183 | <source>src/test/enum</source>
|
---|
184 | <source>src/test/cyclicref</source>
|
---|
185 | <source>src/test/casts</source>
|
---|
186 | </sources>
|
---|
187 | </configuration>
|
---|
188 | </execution>
|
---|
189 | </executions>
|
---|
190 | </plugin>
|
---|
191 |
|
---|
192 | <plugin>
|
---|
193 | <groupId>org.apache.maven.plugins</groupId>
|
---|
194 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
195 | <version>3.8.0</version>
|
---|
196 | <configuration>
|
---|
197 | <source>1.8</source>
|
---|
198 | <target>1.8</target>
|
---|
199 | </configuration>
|
---|
200 | </plugin>
|
---|
201 |
|
---|
202 | <plugin>
|
---|
203 | <groupId>org.apache.maven.plugins</groupId>
|
---|
204 | <artifactId>maven-source-plugin</artifactId>
|
---|
205 | <version>3.1.0</version>
|
---|
206 | <executions>
|
---|
207 | <execution>
|
---|
208 | <id>attach-sources</id>
|
---|
209 | <goals>
|
---|
210 | <goal>jar</goal>
|
---|
211 | </goals>
|
---|
212 | </execution>
|
---|
213 | </executions>
|
---|
214 | </plugin>
|
---|
215 |
|
---|
216 | <plugin>
|
---|
217 | <groupId>org.apache.maven.plugins</groupId>
|
---|
218 | <artifactId>maven-javadoc-plugin</artifactId>
|
---|
219 | <version>2.10.1</version>
|
---|
220 | <executions>
|
---|
221 | <execution>
|
---|
222 | <id>attach-javadocs</id>
|
---|
223 | <goals>
|
---|
224 | <goal>jar</goal>
|
---|
225 | </goals>
|
---|
226 | <configuration>
|
---|
227 | <additionalparam>${javadoc.opts}</additionalparam>
|
---|
228 | <additionalparam>-Xdoclint:none</additionalparam>
|
---|
229 | </configuration>
|
---|
230 | </execution>
|
---|
231 | </executions>
|
---|
232 | </plugin>
|
---|
233 |
|
---|
234 | <plugin>
|
---|
235 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
236 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
237 | <version>3.6.1</version>
|
---|
238 | <executions>
|
---|
239 | <execution>
|
---|
240 | <id>build-info</id>
|
---|
241 | <goals>
|
---|
242 | <goal>publish</goal>
|
---|
243 | </goals>
|
---|
244 | <configuration>
|
---|
245 | <publisher>
|
---|
246 | <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
|
---|
247 | <repoKey>libs-release</repoKey>
|
---|
248 | <username>wouter</username>
|
---|
249 | <password>${passwd}</password>
|
---|
250 | </publisher>
|
---|
251 | </configuration>
|
---|
252 | </execution>
|
---|
253 | </executions>
|
---|
254 | </plugin>
|
---|
255 |
|
---|
256 | <plugin>
|
---|
257 | <groupId>org.apache.maven.plugins</groupId>
|
---|
258 | <artifactId>maven-enforcer-plugin</artifactId>
|
---|
259 | <version>3.0.0-M2</version>
|
---|
260 | <executions>
|
---|
261 | <execution>
|
---|
262 | <id>enforce</id>
|
---|
263 | <configuration>
|
---|
264 | <rules>
|
---|
265 | <dependencyConvergence />
|
---|
266 | </rules>
|
---|
267 | </configuration>
|
---|
268 | <goals>
|
---|
269 | <goal>enforce</goal>
|
---|
270 | </goals>
|
---|
271 | </execution>
|
---|
272 | </executions>
|
---|
273 | </plugin>
|
---|
274 |
|
---|
275 |
|
---|
276 |
|
---|
277 | <plugin>
|
---|
278 | <groupId>org.apache.maven.plugins</groupId>
|
---|
279 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
280 | <version>2.4.1</version>
|
---|
281 | <configuration>
|
---|
282 | <!-- get all project dependencies -->
|
---|
283 | <descriptorRefs>
|
---|
284 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
285 | </descriptorRefs>
|
---|
286 | <archive>
|
---|
287 | <manifest>
|
---|
288 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
---|
289 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
---|
290 | </manifest>
|
---|
291 | </archive>
|
---|
292 | </configuration>
|
---|
293 | <executions>
|
---|
294 | <execution>
|
---|
295 | <id>make-assembly</id>
|
---|
296 | <!-- bind to the packaging phase -->
|
---|
297 | <phase>package</phase>
|
---|
298 | <goals>
|
---|
299 | <goal>single</goal>
|
---|
300 | </goals>
|
---|
301 | </execution>
|
---|
302 | </executions>
|
---|
303 | </plugin>
|
---|
304 |
|
---|
305 |
|
---|
306 | </plugins>
|
---|
307 |
|
---|
308 | <pluginManagement>
|
---|
309 | <plugins>
|
---|
310 | <plugin>
|
---|
311 | <groupId>org.eclipse.m2e</groupId>
|
---|
312 | <artifactId>lifecycle-mapping</artifactId>
|
---|
313 | <version>1.0.0</version>
|
---|
314 | <configuration>
|
---|
315 | <lifecycleMappingMetadata>
|
---|
316 | <pluginExecutions>
|
---|
317 | <pluginExecution>
|
---|
318 | <pluginExecutionFilter>
|
---|
319 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
320 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
321 | <versionRange>[1.0.0,)</versionRange>
|
---|
322 | <goals>
|
---|
323 | <goal>publish</goal>
|
---|
324 | </goals>
|
---|
325 | </pluginExecutionFilter>
|
---|
326 | <action>
|
---|
327 | <ignore />
|
---|
328 | </action>
|
---|
329 | </pluginExecution>
|
---|
330 | </pluginExecutions>
|
---|
331 | </lifecycleMappingMetadata>
|
---|
332 | </configuration>
|
---|
333 | </plugin>
|
---|
334 | </plugins>
|
---|
335 | </pluginManagement>
|
---|
336 |
|
---|
337 |
|
---|
338 | </build>
|
---|
339 |
|
---|
340 | </project>
|
---|