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