source: java2python/core/pom.xml@ 1570

Last change on this file since 1570 was 1570, checked in by wouter, 35 hours ago

add version to getZip()

File size: 9.2 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>
[1570]7 <version>1.0.9</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>
[1402]75 <version>1.3.2</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>
[1419]86 <version>1.1.1</version>
[528]87 </dependency>
[800]88
[528]89 <dependency>
90 <groupId>tudelft.utilities</groupId>
[354]91 <artifactId>pyrunner</artifactId>
[1402]92 <version>1.3.0</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
[1570]155 <dependency>
156 <groupId>tudelft.utilities.j2p</groupId>
157 <artifactId>geniuswebtranslator</artifactId>
158 <version>1.0.8</version>
159 </dependency>
[346]160 </dependencies>
[503]161
[410]162 <build>
163
[528]164
[410]165 <plugins>
[528]166
167 <!-- This adds additional source packages -->
[410]168 <plugin>
[528]169 <groupId>org.codehaus.mojo</groupId>
170 <artifactId>build-helper-maven-plugin</artifactId>
171 <version>1.9.1</version>
172 <executions>
173 <execution>
174 <id>add-test-source</id>
175 <phase>generate-test-sources</phase>
176 <goals>
177 <goal>add-test-source</goal>
178 </goals>
179 <configuration>
180 <sources>
181 <source>src/test/overload</source>
[606]182 <source>src/test/overloadconstructor</source>
[670]183 <source>src/test/hasnext</source>
[677]184 <source>src/test/iterator</source>
[879]185 <source>src/test/resourcestest</source>
[933]186 <source>src/test/reservedword</source>
[1056]187 <source>src/test/objectfunctions</source>
[1177]188 <source>src/test/enum</source>
[1186]189 <source>src/test/cyclicref</source>
[1209]190 <source>src/test/casts</source>
[1428]191 <source>src/test/remove</source>
[528]192 </sources>
193 </configuration>
194 </execution>
195 </executions>
196 </plugin>
197
198 <plugin>
[410]199 <groupId>org.apache.maven.plugins</groupId>
200 <artifactId>maven-compiler-plugin</artifactId>
201 <version>3.8.0</version>
202 <configuration>
203 <source>1.8</source>
204 <target>1.8</target>
205 </configuration>
206 </plugin>
207
208 <plugin>
209 <groupId>org.apache.maven.plugins</groupId>
210 <artifactId>maven-source-plugin</artifactId>
211 <version>3.1.0</version>
212 <executions>
213 <execution>
214 <id>attach-sources</id>
215 <goals>
216 <goal>jar</goal>
217 </goals>
218 </execution>
219 </executions>
220 </plugin>
221
222 <plugin>
223 <groupId>org.apache.maven.plugins</groupId>
224 <artifactId>maven-javadoc-plugin</artifactId>
225 <version>2.10.1</version>
226 <executions>
227 <execution>
228 <id>attach-javadocs</id>
229 <goals>
230 <goal>jar</goal>
231 </goals>
232 <configuration>
233 <additionalparam>${javadoc.opts}</additionalparam>
234 <additionalparam>-Xdoclint:none</additionalparam>
235 </configuration>
236 </execution>
237 </executions>
238 </plugin>
239
240 <plugin>
241 <groupId>org.jfrog.buildinfo</groupId>
242 <artifactId>artifactory-maven-plugin</artifactId>
[1113]243 <version>3.6.1</version>
[410]244 <executions>
245 <execution>
246 <id>build-info</id>
247 <goals>
248 <goal>publish</goal>
249 </goals>
250 <configuration>
251 <publisher>
252 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
253 <repoKey>libs-release</repoKey>
254 <username>wouter</username>
255 <password>${passwd}</password>
256 </publisher>
257 </configuration>
258 </execution>
259 </executions>
260 </plugin>
261
262 <plugin>
263 <groupId>org.apache.maven.plugins</groupId>
[612]264 <artifactId>maven-enforcer-plugin</artifactId>
265 <version>3.0.0-M2</version>
266 <executions>
267 <execution>
268 <id>enforce</id>
269 <configuration>
270 <rules>
271 <dependencyConvergence />
272 </rules>
273 </configuration>
274 <goals>
275 <goal>enforce</goal>
276 </goals>
277 </execution>
278 </executions>
279 </plugin>
280
281
[800]282
[612]283 <plugin>
284 <groupId>org.apache.maven.plugins</groupId>
[410]285 <artifactId>maven-assembly-plugin</artifactId>
286 <version>2.4.1</version>
287 <configuration>
288 <!-- get all project dependencies -->
289 <descriptorRefs>
290 <descriptorRef>jar-with-dependencies</descriptorRef>
291 </descriptorRefs>
292 <archive>
293 <manifest>
294 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
295 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
296 </manifest>
297 </archive>
298 </configuration>
299 <executions>
300 <execution>
301 <id>make-assembly</id>
302 <!-- bind to the packaging phase -->
303 <phase>package</phase>
304 <goals>
305 <goal>single</goal>
306 </goals>
307 </execution>
308 </executions>
309 </plugin>
310
311
312 </plugins>
313
314 <pluginManagement>
315 <plugins>
316 <plugin>
317 <groupId>org.eclipse.m2e</groupId>
318 <artifactId>lifecycle-mapping</artifactId>
319 <version>1.0.0</version>
320 <configuration>
321 <lifecycleMappingMetadata>
322 <pluginExecutions>
323 <pluginExecution>
324 <pluginExecutionFilter>
325 <groupId>org.jfrog.buildinfo</groupId>
326 <artifactId>artifactory-maven-plugin</artifactId>
327 <versionRange>[1.0.0,)</versionRange>
328 <goals>
329 <goal>publish</goal>
330 </goals>
331 </pluginExecutionFilter>
332 <action>
333 <ignore />
334 </action>
335 </pluginExecution>
336 </pluginExecutions>
337 </lifecycleMappingMetadata>
338 </configuration>
339 </plugin>
340 </plugins>
341 </pluginManagement>
342
343
344 </build>
[503]345
[1099]346</project>
Note: See TracBrowser for help on using the repository browser.