source: java2python/core/pom.xml@ 1199

Last change on this file since 1199 was 1191, checked in by wouter, 7 weeks ago

#374 moved annotations package to separate module

File size: 9.0 KB
RevLine 
[346]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>
[403]5 <groupId>tudelft.utilities.j2p</groupId>
6 <artifactId>core</artifactId>
[1153]7 <version>1.0.3</version>
[346]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>
[354]15 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
[415]16 <passwd>${env.ARTIFACTORY_PASS}</passwd>
[1113]17 <j2p-version>${project.version}</j2p-version>
[346]18 </properties>
19
[410]20
21
22 <distributionManagement>
23 <repository>
24 <id>artifactory.ewi.tudelft.nl</id>
[595]25 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
[410]26 </repository>
27 </distributionManagement>
28
29 <repositories>
30 <repository>
31 <id>artifactory.ewi.tudelft.nl</id>
[595]32 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
[410]33 <snapshots>
34 <enabled>false</enabled>
35 </snapshots>
36 </repository>
37 </repositories>
38
39 <pluginRepositories>
[1113]40 <pluginRepository>
[1101]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>
[1113]45
[410]46 <pluginRepository>
47 <id>central</id>
[595]48 <url>https://repo1.maven.org/maven2</url>
[410]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
[346]57 <dependencies>
58 <dependency>
59 <groupId>com.github.javaparser</groupId>
60 <artifactId>javaparser-symbol-solver-core</artifactId>
[534]61 <version>3.24.8</version>
[346]62 </dependency>
63 <dependency>
64 <groupId>junit</groupId>
65 <artifactId>junit</artifactId>
66 <version>4.12</version>
67 <scope>test</scope>
68 </dependency>
[354]69
[361]70 <!-- FIXME this should be removed when we have separated the utilities
71 translator -->
[354]72 <dependency>
73 <groupId>tudelft.utilities</groupId>
[361]74 <artifactId>utilities</artifactId>
[982]75 <version>1.3.0</version>
[361]76 </dependency>
[1191]77 <dependency>
78 <groupId>tudelft</groupId>
79 <artifactId>annotations</artifactId>
80 <version>1.0.0</version>
81 </dependency>
[361]82
83 <dependency>
84 <groupId>tudelft.utilities</groupId>
[528]85 <artifactId>logging</artifactId>
[1099]86 <version>1.1.0</version>
[528]87 </dependency>
[800]88
[528]89 <dependency>
90 <groupId>tudelft.utilities</groupId>
[354]91 <artifactId>pyrunner</artifactId>
[1105]92 <version>1.2.1</version>
[354]93 </dependency>
94
95 <dependency>
[1113]96 <!-- used for @NonNull. -->
[800]97 <groupId>org.eclipse.jdt</groupId>
98 <artifactId>org.eclipse.jdt.annotation</artifactId>
99 <version>2.3.0</version>
100 </dependency>
101
102 <dependency>
[346]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
[1021]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>
[354]154
[346]155 </dependencies>
[503]156
[410]157 <build>
158
[528]159
[410]160 <plugins>
[528]161
162 <!-- This adds additional source packages -->
[410]163 <plugin>
[528]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>
[606]177 <source>src/test/overloadconstructor</source>
[670]178 <source>src/test/hasnext</source>
[677]179 <source>src/test/iterator</source>
[879]180 <source>src/test/resourcestest</source>
[933]181 <source>src/test/reservedword</source>
[1056]182 <source>src/test/objectfunctions</source>
[1177]183 <source>src/test/enum</source>
[1186]184 <source>src/test/cyclicref</source>
[528]185 </sources>
186 </configuration>
187 </execution>
188 </executions>
189 </plugin>
190
191 <plugin>
[410]192 <groupId>org.apache.maven.plugins</groupId>
193 <artifactId>maven-compiler-plugin</artifactId>
194 <version>3.8.0</version>
195 <configuration>
196 <source>1.8</source>
197 <target>1.8</target>
198 </configuration>
199 </plugin>
200
201 <plugin>
202 <groupId>org.apache.maven.plugins</groupId>
203 <artifactId>maven-source-plugin</artifactId>
204 <version>3.1.0</version>
205 <executions>
206 <execution>
207 <id>attach-sources</id>
208 <goals>
209 <goal>jar</goal>
210 </goals>
211 </execution>
212 </executions>
213 </plugin>
214
215 <plugin>
216 <groupId>org.apache.maven.plugins</groupId>
217 <artifactId>maven-javadoc-plugin</artifactId>
218 <version>2.10.1</version>
219 <executions>
220 <execution>
221 <id>attach-javadocs</id>
222 <goals>
223 <goal>jar</goal>
224 </goals>
225 <configuration>
226 <additionalparam>${javadoc.opts}</additionalparam>
227 <additionalparam>-Xdoclint:none</additionalparam>
228 </configuration>
229 </execution>
230 </executions>
231 </plugin>
232
233 <plugin>
234 <groupId>org.jfrog.buildinfo</groupId>
235 <artifactId>artifactory-maven-plugin</artifactId>
[1113]236 <version>3.6.1</version>
[410]237 <executions>
238 <execution>
239 <id>build-info</id>
240 <goals>
241 <goal>publish</goal>
242 </goals>
243 <configuration>
244 <publisher>
245 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
246 <repoKey>libs-release</repoKey>
247 <username>wouter</username>
248 <password>${passwd}</password>
249 </publisher>
250 </configuration>
251 </execution>
252 </executions>
253 </plugin>
254
255 <plugin>
256 <groupId>org.apache.maven.plugins</groupId>
[612]257 <artifactId>maven-enforcer-plugin</artifactId>
258 <version>3.0.0-M2</version>
259 <executions>
260 <execution>
261 <id>enforce</id>
262 <configuration>
263 <rules>
264 <dependencyConvergence />
265 </rules>
266 </configuration>
267 <goals>
268 <goal>enforce</goal>
269 </goals>
270 </execution>
271 </executions>
272 </plugin>
273
274
[800]275
[612]276 <plugin>
277 <groupId>org.apache.maven.plugins</groupId>
[410]278 <artifactId>maven-assembly-plugin</artifactId>
279 <version>2.4.1</version>
280 <configuration>
281 <!-- get all project dependencies -->
282 <descriptorRefs>
283 <descriptorRef>jar-with-dependencies</descriptorRef>
284 </descriptorRefs>
285 <archive>
286 <manifest>
287 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
288 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
289 </manifest>
290 </archive>
291 </configuration>
292 <executions>
293 <execution>
294 <id>make-assembly</id>
295 <!-- bind to the packaging phase -->
296 <phase>package</phase>
297 <goals>
298 <goal>single</goal>
299 </goals>
300 </execution>
301 </executions>
302 </plugin>
303
304
305 </plugins>
306
307 <pluginManagement>
308 <plugins>
309 <plugin>
310 <groupId>org.eclipse.m2e</groupId>
311 <artifactId>lifecycle-mapping</artifactId>
312 <version>1.0.0</version>
313 <configuration>
314 <lifecycleMappingMetadata>
315 <pluginExecutions>
316 <pluginExecution>
317 <pluginExecutionFilter>
318 <groupId>org.jfrog.buildinfo</groupId>
319 <artifactId>artifactory-maven-plugin</artifactId>
320 <versionRange>[1.0.0,)</versionRange>
321 <goals>
322 <goal>publish</goal>
323 </goals>
324 </pluginExecutionFilter>
325 <action>
326 <ignore />
327 </action>
328 </pluginExecution>
329 </pluginExecutions>
330 </lifecycleMappingMetadata>
331 </configuration>
332 </plugin>
333 </plugins>
334 </pluginManagement>
335
336
337 </build>
[503]338
[1099]339</project>
Note: See TracBrowser for help on using the repository browser.