source: java2python/mockito-t/pom.xml@ 1566

Last change on this file since 1566 was 1566, checked in by wouter, 41 hours ago

#450 mockito = only for testing

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