source: java2python/core/pom.xml@ 1017

Last change on this file since 1017 was 982, checked in by wouter, 5 months ago

#333 remove overloaded methods from utilities and use utilities 1.3.0

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