source: java2python/geniuswebtranslator/pom.xml@ 1269

Last change on this file since 1269 was 1227, checked in by wouter, 3 weeks ago

#386 bump all translator stuff to 1.0.4

File size: 7.4 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>geniuswebtranslator</artifactId>
7 <version>1.0.4</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 <geniusweb.version>2.1.6</geniusweb.version>
18 <j2p-version>${project.version}</j2p-version>
19 </properties>
20
21
22
23 <distributionManagement>
24 <repository>
25 <id>artifactory.ewi.tudelft.nl</id>
26 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
27 </repository>
28 </distributionManagement>
29
30 <repositories>
31 <repository>
32 <id>artifactory.ewi.tudelft.nl</id>
33 <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
34 <snapshots>
35 <enabled>false</enabled>
36 </snapshots>
37 </repository>
38 </repositories>
39
40 <pluginRepositories>
41 <pluginRepository>
42 <id>central</id>
43 <url>https://repo1.maven.org/maven2</url>
44 </pluginRepository>
45 <pluginRepository>
46 <id>jfrog-plugins-release</id>
47 <name>plugins-release</name>
48 <url>https://oss.jfrog.org/artifactory/plugins-release</url>
49 </pluginRepository>
50 </pluginRepositories>
51
52 <dependencies>
53
54 <dependency>
55 <groupId>tudelft.utilities.j2p</groupId>
56 <artifactId>core</artifactId>
57 <version>${j2p-version}</version>
58 </dependency>
59
60 <dependency>
61 <groupId>tudelft.utilities.j2p</groupId>
62 <artifactId>tudutils-t</artifactId>
63 <version>${j2p-version}</version>
64 </dependency>
65
66 <dependency>
67 <groupId>tudelft.utilities.j2p</groupId>
68 <artifactId>tudunit-t</artifactId>
69 <version>${j2p-version}</version>
70 </dependency>
71
72 <dependency>
73 <groupId>tudelft.utilities.j2p</groupId>
74 <artifactId>jackson-t</artifactId>
75 <version>${j2p-version}</version>
76 </dependency>
77 <dependency>
78 <groupId>tudelft.utilities.j2p</groupId>
79 <artifactId>mockito-t</artifactId>
80 <version>${j2p-version}</version>
81 </dependency>
82 <dependency>
83 <groupId>tudelft.utilities.j2p</groupId>
84 <artifactId>junit-t</artifactId>
85 <version>${j2p-version}</version>
86 </dependency>
87 <dependency>
88 <groupId>tudelft.utilities</groupId>
89 <artifactId>logging</artifactId>
90 <version>1.1.0</version>
91 </dependency>
92 <dependency>
93 <groupId>tudelft</groupId>
94 <artifactId>annotations</artifactId>
95 <version>1.0.0</version>
96 </dependency>
97
98 <!-- needed for the ip package Disabled as part of code was disabled -->
99 <!-- <dependency> -->
100 <!-- <groupId>org.apache.commons</groupId> -->
101 <!-- <artifactId>commons-math</artifactId> -->
102 <!-- <version>2.2</version> -->
103 <!-- </dependency> -->
104
105 <!-- @NonNull annotation -->
106 <dependency>
107 <groupId>org.eclipse.jdt</groupId>
108 <artifactId>org.eclipse.jdt.annotation</artifactId>
109 <version>2.3.0</version>
110 </dependency>
111
112
113
114 <!-- Normally these below would be in TEST scope. But we need to compile
115 the test code in NORMAL mode, not in test mode, because we don't want to
116 RUN these tests. We only want to run the COMPILED code -->
117 <dependency>
118 <groupId>junit</groupId>
119 <artifactId>junit</artifactId>
120 <version>4.12</version>
121 </dependency>
122 <dependency>
123 <groupId>org.mockito</groupId>
124 <artifactId>mockito-core</artifactId>
125 <version>3.11.2</version>
126 </dependency>
127 <dependency>
128 <groupId>tudelft.utilities</groupId>
129 <artifactId>junit</artifactId>
130 <version>1.0.5</version>
131 </dependency>
132
133 <!-- pyrunner is needed for running the compiled code -->
134 <dependency>
135 <groupId>tudelft.utilities</groupId>
136 <artifactId>pyrunner</artifactId>
137 <version>1.2.1</version>
138 <scope>test</scope>
139 </dependency>
140
141
142 </dependencies>
143
144 <build>
145
146 <plugins>
147
148
149
150 <plugin>
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-compiler-plugin</artifactId>
153 <version>3.8.0</version>
154 <configuration>
155 <source>1.8</source>
156 <target>1.8</target>
157 </configuration>
158 </plugin>
159
160 <plugin>
161 <groupId>org.codehaus.mojo</groupId>
162 <artifactId>build-helper-maven-plugin</artifactId>
163 <version>3.4.0</version>
164 <executions>
165 <execution>
166 <phase>generate-sources</phase>
167 <goals>
168 <goal>add-source</goal>
169 </goals>
170 <configuration>
171 <sources>
172 <source>geniusweb/src/main/java</source>
173 <source>geniusweb/src/test/java</source>
174 <!-- next one is really a resource, but this copies it as needed -->
175 <source>geniusweb/src/test/resources</source>
176 </sources>
177 </configuration>
178 </execution>
179
180 </executions>
181 </plugin>
182
183 <plugin>
184 <groupId>org.jfrog.buildinfo</groupId>
185 <artifactId>artifactory-maven-plugin</artifactId>
186 <version>3.6.1</version>
187 <executions>
188 <execution>
189 <id>build-info</id>
190 <goals>
191 <goal>publish</goal>
192 </goals>
193 <configuration>
194 <publisher>
195 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
196 <repoKey>libs-release</repoKey>
197 <username>wouter</username>
198 <password>${passwd}</password>
199 </publisher>
200 </configuration>
201 </execution>
202 </executions>
203 </plugin>
204
205 <plugin>
206 <groupId>org.apache.maven.plugins</groupId>
207 <artifactId>maven-enforcer-plugin</artifactId>
208 <version>3.0.0-M2</version>
209 <executions>
210 <execution>
211 <id>enforce</id>
212 <configuration>
213 <rules>
214 <dependencyConvergence />
215 </rules>
216 </configuration>
217 <goals>
218 <goal>enforce</goal>
219 </goals>
220 </execution>
221 </executions>
222 </plugin>
223
224
225
226 <plugin>
227 <groupId>org.apache.maven.plugins</groupId>
228 <artifactId>maven-assembly-plugin</artifactId>
229 <version>2.4.1</version>
230 <configuration>
231 <!-- get all project dependencies -->
232 <descriptorRefs>
233 <descriptorRef>jar-with-dependencies</descriptorRef>
234 </descriptorRefs>
235 <archive>
236 <manifest>
237 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
238 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
239 </manifest>
240 </archive>
241 </configuration>
242 <executions>
243 <execution>
244 <id>make-assembly</id>
245 <!-- bind to the packaging phase -->
246 <phase>package</phase>
247 <goals>
248 <goal>single</goal>
249 </goals>
250 </execution>
251 </executions>
252 </plugin>
253
254
255 </plugins>
256
257 <pluginManagement>
258 <plugins>
259 <plugin>
260 <groupId>org.eclipse.m2e</groupId>
261 <artifactId>lifecycle-mapping</artifactId>
262 <version>1.0.0</version>
263 <configuration>
264 <lifecycleMappingMetadata>
265 <pluginExecutions>
266 <pluginExecution>
267 <pluginExecutionFilter>
268 <groupId>org.jfrog.buildinfo</groupId>
269 <artifactId>artifactory-maven-plugin</artifactId>
270 <versionRange>[1.0.0,)</versionRange>
271 <goals>
272 <goal>publish</goal>
273 </goals>
274 </pluginExecutionFilter>
275 <action>
276 <ignore />
277 </action>
278 </pluginExecution>
279 </pluginExecutions>
280 </lifecycleMappingMetadata>
281 </configuration>
282 </plugin>
283 </plugins>
284 </pluginManagement>
285
286
287 </build>
288
289</project>
Note: See TracBrowser for help on using the repository browser.