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

Last change on this file since 1121 was 1120, checked in by wouter, 7 weeks ago

#358 updated POMs to 1.0.2. added systemproperties

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>tudunit-t</artifactId>
7 <version>1.0.2</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 <j2p-version>${project.version}</j2p-version>
15 <jackson-2-version>2.12.3</jackson-2-version>
16 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17 <passwd>${env.ARTIFACTORY_PASS}</passwd>
18 </properties>
19
20
21 <distributionManagement>
22 <repository>
23 <id>artifactory.ewi.tudelft.nl</id>
24 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
25 </repository>
26 </distributionManagement>
27
28 <repositories>
29 <repository>
30 <id>artifactory.ewi.tudelft.nl</id>
31 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
32 <snapshots>
33 <enabled>false</enabled>
34 </snapshots>
35 </repository>
36 </repositories>
37
38 <pluginRepositories>
39 <pluginRepository>
40 <id>central</id>
41 <url>https://repo1.maven.org/maven2</url>
42 </pluginRepository>
43 <pluginRepository>
44 <id>jfrog-plugins-release</id>
45 <name>plugins-release</name>
46 <url>https://oss.jfrog.org/artifactory/plugins-release</url>
47 </pluginRepository>
48 </pluginRepositories>
49
50
51 <dependencies>
52 <dependency>
53 <groupId>tudelft.utilities.j2p</groupId>
54 <artifactId>core</artifactId>
55 <version>${j2p-version}</version>
56 </dependency>
57
58 <dependency>
59 <groupId>junit</groupId>
60 <artifactId>junit</artifactId>
61 <version>4.12</version>
62 <scope>test</scope>
63 </dependency>
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 <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>
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>
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.6.1</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.