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

Last change on this file since 839 was 727, checked in by wouter, 12 months ago

dep on runner only for running tests

File size: 7.2 KB
RevLine 
[478]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>
[595]23 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
[478]24 </repository>
25 </distributionManagement>
26
27 <repositories>
28 <repository>
29 <id>artifactory.ewi.tudelft.nl</id>
[595]30 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
[478]31 <snapshots>
32 <enabled>false</enabled>
33 </snapshots>
34 </repository>
35 </repositories>
36
37 <pluginRepositories>
38 <pluginRepository>
39 <id>central</id>
[595]40 <url>https://repo1.maven.org/maven2</url>
[478]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
[726]66
[478]67 <dependency>
68 <groupId>tudelft.utilities</groupId>
69 <artifactId>pyrunner</artifactId>
[726]70 <version>1.1.0</version>
[727]71 <scope>test</scope>
[478]72 </dependency>
[726]73
[478]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 <plugins>
127 <plugin>
128 <groupId>org.apache.maven.plugins</groupId>
129 <artifactId>maven-compiler-plugin</artifactId>
130 <version>3.8.0</version>
131 <configuration>
132 <source>1.8</source>
133 <target>1.8</target>
134 </configuration>
135 </plugin>
136
137 <plugin>
[514]138 <groupId>org.codehaus.mojo</groupId>
139 <artifactId>build-helper-maven-plugin</artifactId>
140 <version>1.9.1</version>
141 <executions>
142 <execution>
143 <id>add-test-source</id>
144 <phase>generate-test-sources</phase>
145 <goals>
146 <goal>add-test-source</goal>
147 </goals>
148 <configuration>
149 <sources>
150 <source>assert</source>
[726]151 <source>someunittest</source>
[514]152 </sources>
153 </configuration>
154 </execution>
155 </executions>
156 </plugin>
157
158 <plugin>
[478]159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-source-plugin</artifactId>
161 <version>3.1.0</version>
162 <executions>
163 <execution>
164 <id>attach-sources</id>
165 <goals>
166 <goal>jar</goal>
167 </goals>
168 </execution>
169 </executions>
170 </plugin>
171
172 <plugin>
173 <groupId>org.apache.maven.plugins</groupId>
174 <artifactId>maven-javadoc-plugin</artifactId>
175 <version>2.10.1</version>
176 <executions>
177 <execution>
178 <id>attach-javadocs</id>
179 <goals>
180 <goal>jar</goal>
181 </goals>
182 <configuration>
183 <additionalparam>${javadoc.opts}</additionalparam>
184 <additionalparam>-Xdoclint:none</additionalparam>
185 </configuration>
186 </execution>
187 </executions>
188 </plugin>
189
190 <plugin>
191 <groupId>org.jfrog.buildinfo</groupId>
192 <artifactId>artifactory-maven-plugin</artifactId>
193 <version>3.2.3</version>
194 <executions>
195 <execution>
196 <id>build-info</id>
197 <goals>
198 <goal>publish</goal>
199 </goals>
200 <configuration>
201 <publisher>
202 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
203 <repoKey>libs-release</repoKey>
204 <username>wouter</username>
205 <password>${passwd}</password>
206 </publisher>
207 </configuration>
208 </execution>
209 </executions>
210 </plugin>
211
212 <plugin>
213 <groupId>org.apache.maven.plugins</groupId>
214 <artifactId>maven-assembly-plugin</artifactId>
215 <version>2.4.1</version>
216 <configuration>
217 <!-- get all project dependencies -->
218 <descriptorRefs>
219 <descriptorRef>jar-with-dependencies</descriptorRef>
220 </descriptorRefs>
221 <archive>
222 <manifest>
223 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
224 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
225 </manifest>
226 </archive>
227 </configuration>
228 <executions>
229 <execution>
230 <id>make-assembly</id>
231 <!-- bind to the packaging phase -->
232 <phase>package</phase>
233 <goals>
234 <goal>single</goal>
235 </goals>
236 </execution>
237 </executions>
238 </plugin>
239
240
241 </plugins>
242
243 <pluginManagement>
244 <plugins>
245 <plugin>
246 <groupId>org.eclipse.m2e</groupId>
247 <artifactId>lifecycle-mapping</artifactId>
248 <version>1.0.0</version>
249 <configuration>
250 <lifecycleMappingMetadata>
251 <pluginExecutions>
252 <pluginExecution>
253 <pluginExecutionFilter>
254 <groupId>org.jfrog.buildinfo</groupId>
255 <artifactId>artifactory-maven-plugin</artifactId>
256 <versionRange>[1.0.0,)</versionRange>
257 <goals>
258 <goal>publish</goal>
259 </goals>
260 </pluginExecutionFilter>
261 <action>
262 <ignore />
263 </action>
264 </pluginExecution>
265 </pluginExecutions>
266 </lifecycleMappingMetadata>
267 </configuration>
268 </plugin>
269 </plugins>
270 </pluginManagement>
271
272
273 </build>
274
275</project>
Note: See TracBrowser for help on using the repository browser.