source: java2python/core/pom.xml@ 670

Last change on this file since 670 was 670, checked in by wouter, 11 months ago

#185 iterator hasNext now testing OK. It's also nice to show to users as how-to

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