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