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

Last change on this file since 587 was 514, checked in by wouter, 19 months ago

#161 moved assert test code to its own directory

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