source: java2python/tudjunit-t/pom.xml@ 888

Last change on this file since 888 was 877, checked in by wouter, 6 months ago

yupdate versions, use scope=test

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>tudunit-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 <dependency>
67 <groupId>tudelft.utilities</groupId>
68 <artifactId>pyrunner</artifactId>
69 <version>1.1.1</version>
70 <scope>test</scope>
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 </sources>
151 </configuration>
152 </execution>
153 </executions>
154 </plugin>
155
156 <plugin>
157 <groupId>org.apache.maven.plugins</groupId>
158 <artifactId>maven-source-plugin</artifactId>
159 <version>3.1.0</version>
160 <executions>
161 <execution>
162 <id>attach-sources</id>
163 <goals>
164 <goal>jar</goal>
165 </goals>
166 </execution>
167 </executions>
168 </plugin>
169
170 <plugin>
171 <groupId>org.apache.maven.plugins</groupId>
172 <artifactId>maven-javadoc-plugin</artifactId>
173 <version>2.10.1</version>
174 <executions>
175 <execution>
176 <id>attach-javadocs</id>
177 <goals>
178 <goal>jar</goal>
179 </goals>
180 <configuration>
181 <additionalparam>${javadoc.opts}</additionalparam>
182 <additionalparam>-Xdoclint:none</additionalparam>
183 </configuration>
184 </execution>
185 </executions>
186 </plugin>
187
188 <plugin>
189 <groupId>org.jfrog.buildinfo</groupId>
190 <artifactId>artifactory-maven-plugin</artifactId>
191 <version>3.2.3</version>
192 <executions>
193 <execution>
194 <id>build-info</id>
195 <goals>
196 <goal>publish</goal>
197 </goals>
198 <configuration>
199 <publisher>
200 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
201 <repoKey>libs-release</repoKey>
202 <username>wouter</username>
203 <password>${passwd}</password>
204 </publisher>
205 </configuration>
206 </execution>
207 </executions>
208 </plugin>
209
210 <plugin>
211 <groupId>org.apache.maven.plugins</groupId>
212 <artifactId>maven-assembly-plugin</artifactId>
213 <version>2.4.1</version>
214 <configuration>
215 <!-- get all project dependencies -->
216 <descriptorRefs>
217 <descriptorRef>jar-with-dependencies</descriptorRef>
218 </descriptorRefs>
219 <archive>
220 <manifest>
221 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
222 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
223 </manifest>
224 </archive>
225 </configuration>
226 <executions>
227 <execution>
228 <id>make-assembly</id>
229 <!-- bind to the packaging phase -->
230 <phase>package</phase>
231 <goals>
232 <goal>single</goal>
233 </goals>
234 </execution>
235 </executions>
236 </plugin>
237
238
239 </plugins>
240
241 <pluginManagement>
242 <plugins>
243 <plugin>
244 <groupId>org.eclipse.m2e</groupId>
245 <artifactId>lifecycle-mapping</artifactId>
246 <version>1.0.0</version>
247 <configuration>
248 <lifecycleMappingMetadata>
249 <pluginExecutions>
250 <pluginExecution>
251 <pluginExecutionFilter>
252 <groupId>org.jfrog.buildinfo</groupId>
253 <artifactId>artifactory-maven-plugin</artifactId>
254 <versionRange>[1.0.0,)</versionRange>
255 <goals>
256 <goal>publish</goal>
257 </goals>
258 </pluginExecutionFilter>
259 <action>
260 <ignore />
261 </action>
262 </pluginExecution>
263 </pluginExecutions>
264 </lifecycleMappingMetadata>
265 </configuration>
266 </plugin>
267 </plugins>
268 </pluginManagement>
269
270
271 </build>
272
273</project>
Note: See TracBrowser for help on using the repository browser.