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

Last change on this file since 889 was 785, checked in by wouter, 8 months ago

#275 NASTY string based python code manipulation to get proper translation of "when()"

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