source: java2python/core/pom.xml@ 1031

Last change on this file since 1031 was 1029, checked in by wouter, 3 months ago

comment added

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