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 |
|
---|
78 | <dependency>
|
---|
79 | <groupId>tudelft.utilities</groupId>
|
---|
80 | <artifactId>logging</artifactId>
|
---|
81 | <version>1.1.0</version>
|
---|
82 | </dependency>
|
---|
83 |
|
---|
84 | <dependency>
|
---|
85 | <groupId>tudelft.utilities</groupId>
|
---|
86 | <artifactId>pyrunner</artifactId>
|
---|
87 | <version>1.2.1</version>
|
---|
88 | </dependency>
|
---|
89 |
|
---|
90 | <dependency>
|
---|
91 | <!-- used for @NonNull. -->
|
---|
92 | <groupId>org.eclipse.jdt</groupId>
|
---|
93 | <artifactId>org.eclipse.jdt.annotation</artifactId>
|
---|
94 | <version>2.3.0</version>
|
---|
95 | </dependency>
|
---|
96 |
|
---|
97 | <dependency>
|
---|
98 | <groupId>com.fasterxml.jackson.core</groupId>
|
---|
99 | <artifactId>jackson-core</artifactId>
|
---|
100 | <version>${jackson-2-version}</version>
|
---|
101 | <scope>test</scope>
|
---|
102 | </dependency>
|
---|
103 |
|
---|
104 | <!-- Just the annotations; use this dependency if you want to attach annotations
|
---|
105 | to classes without connecting them to the code. -->
|
---|
106 | <dependency>
|
---|
107 | <groupId>com.fasterxml.jackson.core</groupId>
|
---|
108 | <artifactId>jackson-annotations</artifactId>
|
---|
109 | <version>${jackson-2-version}</version>
|
---|
110 | <scope>test</scope>
|
---|
111 | </dependency>
|
---|
112 |
|
---|
113 | <!-- databinding; ObjectMapper, JsonNode and related classes are here -->
|
---|
114 | <dependency>
|
---|
115 | <groupId>com.fasterxml.jackson.core</groupId>
|
---|
116 | <artifactId>jackson-databind</artifactId>
|
---|
117 | <version>${jackson-2-version}</version>
|
---|
118 | <scope>test</scope>
|
---|
119 | </dependency>
|
---|
120 |
|
---|
121 | <!-- smile (binary JSON). Other artifacts in this group do other formats. -->
|
---|
122 | <dependency>
|
---|
123 | <groupId>com.fasterxml.jackson.dataformat</groupId>
|
---|
124 | <artifactId>jackson-dataformat-smile</artifactId>
|
---|
125 | <version>${jackson-2-version}</version>
|
---|
126 | <scope>test</scope>
|
---|
127 | </dependency>
|
---|
128 | <!-- JAX-RS provider -->
|
---|
129 | <dependency>
|
---|
130 | <groupId>com.fasterxml.jackson.jaxrs</groupId>
|
---|
131 | <artifactId>jackson-jaxrs-json-provider</artifactId>
|
---|
132 | <version>${jackson-2-version}</version>
|
---|
133 | <scope>test</scope>
|
---|
134 | </dependency>
|
---|
135 | <!-- Support for JAX-B annotations as additional configuration -->
|
---|
136 | <dependency>
|
---|
137 | <groupId>com.fasterxml.jackson.module</groupId>
|
---|
138 | <artifactId>jackson-module-jaxb-annotations</artifactId>
|
---|
139 | <version>${jackson-2-version}</version>
|
---|
140 | <scope>test</scope>
|
---|
141 | </dependency>
|
---|
142 |
|
---|
143 | <!-- Used ONLY for getting the source file of a class. #345 -->
|
---|
144 | <dependency>
|
---|
145 | <groupId>org.apache.bcel</groupId>
|
---|
146 | <artifactId>bcel</artifactId>
|
---|
147 | <version>6.10.0</version>
|
---|
148 | </dependency>
|
---|
149 |
|
---|
150 | </dependencies>
|
---|
151 |
|
---|
152 | <build>
|
---|
153 |
|
---|
154 |
|
---|
155 | <plugins>
|
---|
156 |
|
---|
157 | <!-- This adds additional source packages -->
|
---|
158 | <plugin>
|
---|
159 | <groupId>org.codehaus.mojo</groupId>
|
---|
160 | <artifactId>build-helper-maven-plugin</artifactId>
|
---|
161 | <version>1.9.1</version>
|
---|
162 | <executions>
|
---|
163 | <execution>
|
---|
164 | <id>add-test-source</id>
|
---|
165 | <phase>generate-test-sources</phase>
|
---|
166 | <goals>
|
---|
167 | <goal>add-test-source</goal>
|
---|
168 | </goals>
|
---|
169 | <configuration>
|
---|
170 | <sources>
|
---|
171 | <source>src/test/overload</source>
|
---|
172 | <source>src/test/overloadconstructor</source>
|
---|
173 | <source>src/test/hasnext</source>
|
---|
174 | <source>src/test/iterator</source>
|
---|
175 | <source>src/test/resourcestest</source>
|
---|
176 | <source>src/test/reservedword</source>
|
---|
177 | <source>src/test/objectfunctions</source>
|
---|
178 | <source>src/test/enum</source>
|
---|
179 | <source>src/test/cyclicref</source>
|
---|
180 | </sources>
|
---|
181 | </configuration>
|
---|
182 | </execution>
|
---|
183 | </executions>
|
---|
184 | </plugin>
|
---|
185 |
|
---|
186 | <plugin>
|
---|
187 | <groupId>org.apache.maven.plugins</groupId>
|
---|
188 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
189 | <version>3.8.0</version>
|
---|
190 | <configuration>
|
---|
191 | <source>1.8</source>
|
---|
192 | <target>1.8</target>
|
---|
193 | </configuration>
|
---|
194 | </plugin>
|
---|
195 |
|
---|
196 | <plugin>
|
---|
197 | <groupId>org.apache.maven.plugins</groupId>
|
---|
198 | <artifactId>maven-source-plugin</artifactId>
|
---|
199 | <version>3.1.0</version>
|
---|
200 | <executions>
|
---|
201 | <execution>
|
---|
202 | <id>attach-sources</id>
|
---|
203 | <goals>
|
---|
204 | <goal>jar</goal>
|
---|
205 | </goals>
|
---|
206 | </execution>
|
---|
207 | </executions>
|
---|
208 | </plugin>
|
---|
209 |
|
---|
210 | <plugin>
|
---|
211 | <groupId>org.apache.maven.plugins</groupId>
|
---|
212 | <artifactId>maven-javadoc-plugin</artifactId>
|
---|
213 | <version>2.10.1</version>
|
---|
214 | <executions>
|
---|
215 | <execution>
|
---|
216 | <id>attach-javadocs</id>
|
---|
217 | <goals>
|
---|
218 | <goal>jar</goal>
|
---|
219 | </goals>
|
---|
220 | <configuration>
|
---|
221 | <additionalparam>${javadoc.opts}</additionalparam>
|
---|
222 | <additionalparam>-Xdoclint:none</additionalparam>
|
---|
223 | </configuration>
|
---|
224 | </execution>
|
---|
225 | </executions>
|
---|
226 | </plugin>
|
---|
227 |
|
---|
228 | <plugin>
|
---|
229 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
230 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
231 | <version>3.6.1</version>
|
---|
232 | <executions>
|
---|
233 | <execution>
|
---|
234 | <id>build-info</id>
|
---|
235 | <goals>
|
---|
236 | <goal>publish</goal>
|
---|
237 | </goals>
|
---|
238 | <configuration>
|
---|
239 | <publisher>
|
---|
240 | <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
|
---|
241 | <repoKey>libs-release</repoKey>
|
---|
242 | <username>wouter</username>
|
---|
243 | <password>${passwd}</password>
|
---|
244 | </publisher>
|
---|
245 | </configuration>
|
---|
246 | </execution>
|
---|
247 | </executions>
|
---|
248 | </plugin>
|
---|
249 |
|
---|
250 | <plugin>
|
---|
251 | <groupId>org.apache.maven.plugins</groupId>
|
---|
252 | <artifactId>maven-enforcer-plugin</artifactId>
|
---|
253 | <version>3.0.0-M2</version>
|
---|
254 | <executions>
|
---|
255 | <execution>
|
---|
256 | <id>enforce</id>
|
---|
257 | <configuration>
|
---|
258 | <rules>
|
---|
259 | <dependencyConvergence />
|
---|
260 | </rules>
|
---|
261 | </configuration>
|
---|
262 | <goals>
|
---|
263 | <goal>enforce</goal>
|
---|
264 | </goals>
|
---|
265 | </execution>
|
---|
266 | </executions>
|
---|
267 | </plugin>
|
---|
268 |
|
---|
269 |
|
---|
270 |
|
---|
271 | <plugin>
|
---|
272 | <groupId>org.apache.maven.plugins</groupId>
|
---|
273 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
274 | <version>2.4.1</version>
|
---|
275 | <configuration>
|
---|
276 | <!-- get all project dependencies -->
|
---|
277 | <descriptorRefs>
|
---|
278 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
279 | </descriptorRefs>
|
---|
280 | <archive>
|
---|
281 | <manifest>
|
---|
282 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
---|
283 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
---|
284 | </manifest>
|
---|
285 | </archive>
|
---|
286 | </configuration>
|
---|
287 | <executions>
|
---|
288 | <execution>
|
---|
289 | <id>make-assembly</id>
|
---|
290 | <!-- bind to the packaging phase -->
|
---|
291 | <phase>package</phase>
|
---|
292 | <goals>
|
---|
293 | <goal>single</goal>
|
---|
294 | </goals>
|
---|
295 | </execution>
|
---|
296 | </executions>
|
---|
297 | </plugin>
|
---|
298 |
|
---|
299 |
|
---|
300 | </plugins>
|
---|
301 |
|
---|
302 | <pluginManagement>
|
---|
303 | <plugins>
|
---|
304 | <plugin>
|
---|
305 | <groupId>org.eclipse.m2e</groupId>
|
---|
306 | <artifactId>lifecycle-mapping</artifactId>
|
---|
307 | <version>1.0.0</version>
|
---|
308 | <configuration>
|
---|
309 | <lifecycleMappingMetadata>
|
---|
310 | <pluginExecutions>
|
---|
311 | <pluginExecution>
|
---|
312 | <pluginExecutionFilter>
|
---|
313 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
314 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
315 | <versionRange>[1.0.0,)</versionRange>
|
---|
316 | <goals>
|
---|
317 | <goal>publish</goal>
|
---|
318 | </goals>
|
---|
319 | </pluginExecutionFilter>
|
---|
320 | <action>
|
---|
321 | <ignore />
|
---|
322 | </action>
|
---|
323 | </pluginExecution>
|
---|
324 | </pluginExecutions>
|
---|
325 | </lifecycleMappingMetadata>
|
---|
326 | </configuration>
|
---|
327 | </plugin>
|
---|
328 | </plugins>
|
---|
329 | </pluginManagement>
|
---|
330 |
|
---|
331 |
|
---|
332 | </build>
|
---|
333 |
|
---|
334 | </project>
|
---|