source: java2python/core/pom.xml@ 1428

Last change on this file since 1428 was 1428, checked in by wouter, 6 days ago

user removeFirst to implement list,set.remove. Added test to show it works

File size: 9.1 KB
Line 
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.6</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.2</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.1</version>
87 </dependency>
88
89 <dependency>
90 <groupId>tudelft.utilities</groupId>
91 <artifactId>pyrunner</artifactId>
92 <version>1.3.0</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 <source>src/test/remove</source>
187 </sources>
188 </configuration>
189 </execution>
190 </executions>
191 </plugin>
192
193 <plugin>
194 <groupId>org.apache.maven.plugins</groupId>
195 <artifactId>maven-compiler-plugin</artifactId>
196 <version>3.8.0</version>
197 <configuration>
198 <source>1.8</source>
199 <target>1.8</target>
200 </configuration>
201 </plugin>
202
203 <plugin>
204 <groupId>org.apache.maven.plugins</groupId>
205 <artifactId>maven-source-plugin</artifactId>
206 <version>3.1.0</version>
207 <executions>
208 <execution>
209 <id>attach-sources</id>
210 <goals>
211 <goal>jar</goal>
212 </goals>
213 </execution>
214 </executions>
215 </plugin>
216
217 <plugin>
218 <groupId>org.apache.maven.plugins</groupId>
219 <artifactId>maven-javadoc-plugin</artifactId>
220 <version>2.10.1</version>
221 <executions>
222 <execution>
223 <id>attach-javadocs</id>
224 <goals>
225 <goal>jar</goal>
226 </goals>
227 <configuration>
228 <additionalparam>${javadoc.opts}</additionalparam>
229 <additionalparam>-Xdoclint:none</additionalparam>
230 </configuration>
231 </execution>
232 </executions>
233 </plugin>
234
235 <plugin>
236 <groupId>org.jfrog.buildinfo</groupId>
237 <artifactId>artifactory-maven-plugin</artifactId>
238 <version>3.6.1</version>
239 <executions>
240 <execution>
241 <id>build-info</id>
242 <goals>
243 <goal>publish</goal>
244 </goals>
245 <configuration>
246 <publisher>
247 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
248 <repoKey>libs-release</repoKey>
249 <username>wouter</username>
250 <password>${passwd}</password>
251 </publisher>
252 </configuration>
253 </execution>
254 </executions>
255 </plugin>
256
257 <plugin>
258 <groupId>org.apache.maven.plugins</groupId>
259 <artifactId>maven-enforcer-plugin</artifactId>
260 <version>3.0.0-M2</version>
261 <executions>
262 <execution>
263 <id>enforce</id>
264 <configuration>
265 <rules>
266 <dependencyConvergence />
267 </rules>
268 </configuration>
269 <goals>
270 <goal>enforce</goal>
271 </goals>
272 </execution>
273 </executions>
274 </plugin>
275
276
277
278 <plugin>
279 <groupId>org.apache.maven.plugins</groupId>
280 <artifactId>maven-assembly-plugin</artifactId>
281 <version>2.4.1</version>
282 <configuration>
283 <!-- get all project dependencies -->
284 <descriptorRefs>
285 <descriptorRef>jar-with-dependencies</descriptorRef>
286 </descriptorRefs>
287 <archive>
288 <manifest>
289 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
290 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
291 </manifest>
292 </archive>
293 </configuration>
294 <executions>
295 <execution>
296 <id>make-assembly</id>
297 <!-- bind to the packaging phase -->
298 <phase>package</phase>
299 <goals>
300 <goal>single</goal>
301 </goals>
302 </execution>
303 </executions>
304 </plugin>
305
306
307 </plugins>
308
309 <pluginManagement>
310 <plugins>
311 <plugin>
312 <groupId>org.eclipse.m2e</groupId>
313 <artifactId>lifecycle-mapping</artifactId>
314 <version>1.0.0</version>
315 <configuration>
316 <lifecycleMappingMetadata>
317 <pluginExecutions>
318 <pluginExecution>
319 <pluginExecutionFilter>
320 <groupId>org.jfrog.buildinfo</groupId>
321 <artifactId>artifactory-maven-plugin</artifactId>
322 <versionRange>[1.0.0,)</versionRange>
323 <goals>
324 <goal>publish</goal>
325 </goals>
326 </pluginExecutionFilter>
327 <action>
328 <ignore />
329 </action>
330 </pluginExecution>
331 </pluginExecutions>
332 </lifecycleMappingMetadata>
333 </configuration>
334 </plugin>
335 </plugins>
336 </pluginManagement>
337
338
339 </build>
340
341</project>
Note: See TracBrowser for help on using the repository browser.