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

Last change on this file since 726 was 726, checked in by wouter, 13 months ago

#248 added test showing the issue. It's in junit-t as you can only run unit tests there. Maybe this belongs to core

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