source: java2python/core/pom.xml@ 1075

Last change on this file since 1075 was 1056, checked in by wouter, 3 months ago

#354 hashcode fixes. Changed ObjectFunctionsTest to installable pakckage because it needs pyutils now

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