source: java2python/core/pom.xml@ 1108

Last change on this file since 1108 was 1105, checked in by wouter, 3 months ago

#363 all versions bumped to 1.0.1. All unit tests are OK

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