source: java2python/junit-t/pom.xml@ 896

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

#310 moved GetResourcesTest to junit-t because this test is so much easier if we have junit translator and package translation. junit tests now require @RunWith annotation for proper translation. Added more translators

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