source: java2python/geniuswebtranslator/pom.xml@ 1473

Last change on this file since 1473 was 1472, checked in by wouter, 6 days ago

#439 major next phase. added the next package: profileconnection, translation not working yet

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