source: pom.xml@ 20

Last change on this file since 20 was 20, checked in by bart, 4 years ago

MOPAC support for timedependentparty, boulware, conceder, hardliner, linear

File size: 11.3 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 http://maven.apache.org/maven-v4_0_0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <groupId>geniusweb</groupId>
6 <artifactId>profilesserver</artifactId>
7 <packaging>war</packaging>
8 <version>1.5.4</version> <!-- must equal ${geniusweb.version} -->
9 <name>profileserver Maven Webapp</name>
10 <url>http://maven.apache.org</url>
11
12 <properties>
13 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14 <maven.compiler.target>1.8</maven.compiler.target>
15 <maven.compiler.source>1.8</maven.compiler.source>
16 <basedir>.</basedir>
17 <passwd>${env.ARTIFACTORY_PASS}</passwd>
18 <jackson-2-version>2.9.10</jackson-2-version>
19 <tomcat.version>8.5.20</tomcat.version>
20 <geniusweb.version>1.5.4</geniusweb.version>
21 </properties>
22
23 <distributionManagement>
24 <repository>
25 <id>artifactory.ewi.tudelft.nl</id>
26 <url>http://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
27 </repository>
28 </distributionManagement>
29
30
31 <repositories>
32 <repository>
33 <id>artifactory.ewi.tudelft.nl</id>
34 <url>http://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
35 <snapshots>
36 <enabled>false</enabled>
37 </snapshots>
38 </repository>
39
40 </repositories>
41
42 <pluginRepositories>
43 <pluginRepository>
44 <id>jcenter</id>
45 <url>https://jcenter.bintray.com</url>
46 </pluginRepository>
47 </pluginRepositories>
48
49 <dependencies>
50 <dependency>
51 <groupId>geniusweb</groupId>
52 <artifactId>profile</artifactId>
53 <version>${geniusweb.version}</version>
54 </dependency>
55
56 <dependency>
57 <groupId>geniusweb</groupId>
58 <artifactId>bidspace</artifactId>
59 <version>${geniusweb.version}</version>
60 </dependency>
61
62
63 <dependency>
64 <groupId>tudelft.utilities</groupId>
65 <artifactId>listener</artifactId>
66 <version>1.1.0</version>
67 </dependency>
68
69 <dependency>
70 <groupId>tudelft.utilities</groupId>
71 <artifactId>tree</artifactId>
72 <version>1.1.1</version>
73 </dependency>
74
75 <dependency>
76 <groupId>tudelft.utilities</groupId>
77 <artifactId>junit</artifactId>
78 <version>1.0.2</version>
79 </dependency>
80
81 <dependency>
82 <groupId>tudelft.utilities</groupId>
83 <artifactId>logging</artifactId>
84 <version>1.0.0</version>
85 </dependency>
86 <dependency>
87 <groupId>tudelft.utilities</groupId>
88 <artifactId>files</artifactId>
89 <version>1.1.1</version>
90 </dependency>
91
92
93 <dependency>
94 <groupId>javax.websocket</groupId>
95 <artifactId>javax.websocket-api</artifactId>
96 <version>1.1</version>
97 </dependency>
98
99 <!-- the core, which includes Streaming API, shared low-level abstractions
100 (but NOT data-binding) -->
101 <dependency>
102 <groupId>com.fasterxml.jackson.core</groupId>
103 <artifactId>jackson-core</artifactId>
104 <version>${jackson-2-version}</version>
105 </dependency>
106
107 <!-- Just the annotations; use this dependency if you want to attach annotations
108 to classes without connecting them to the code. -->
109 <dependency>
110 <groupId>com.fasterxml.jackson.core</groupId>
111 <artifactId>jackson-annotations</artifactId>
112 <version>${jackson-2-version}</version>
113 </dependency>
114
115 <!-- databinding; ObjectMapper, JsonNode and related classes are here -->
116 <dependency>
117 <groupId>com.fasterxml.jackson.core</groupId>
118 <artifactId>jackson-databind</artifactId>
119 <version>${jackson-2-version}</version>
120 </dependency>
121
122 <!-- smile (binary JSON). Other artifacts in this group do other formats. -->
123 <dependency>
124 <groupId>com.fasterxml.jackson.dataformat</groupId>
125 <artifactId>jackson-dataformat-smile</artifactId>
126 <version>${jackson-2-version}</version>
127 </dependency>
128 <!-- JAX-RS provider -->
129 <dependency>
130 <groupId>com.fasterxml.jackson.jaxrs</groupId>
131 <artifactId>jackson-jaxrs-json-provider</artifactId>
132 <version>${jackson-2-version}</version>
133 </dependency>
134 <!-- Support for JAX-B annotations as additional configuration -->
135 <dependency>
136 <groupId>com.fasterxml.jackson.module</groupId>
137 <artifactId>jackson-module-jaxb-annotations</artifactId>
138 <version>${jackson-2-version}</version>
139 </dependency>
140
141 <!-- embedded-tomcat for testing the server -->
142 <dependency>
143 <groupId>org.apache.tomcat.embed</groupId>
144 <artifactId>tomcat-embed-core</artifactId>
145 <version>${tomcat.version}</version>
146 <scope>test</scope>
147 </dependency>
148 <dependency>
149 <groupId>org.apache.tomcat.embed</groupId>
150 <artifactId>tomcat-embed-jasper</artifactId>
151 <version>${tomcat.version}</version>
152 <scope>test</scope>
153 </dependency>
154 <dependency>
155 <groupId>org.apache.tomcat</groupId>
156 <artifactId>tomcat-jasper</artifactId>
157 <version>${tomcat.version}</version>
158 <scope>test</scope>
159 </dependency>
160 <dependency>
161 <groupId>org.apache.tomcat</groupId>
162 <artifactId>tomcat-jasper-el</artifactId>
163 <version>${tomcat.version}</version>
164 <scope>test</scope>
165 </dependency>
166 <dependency>
167 <groupId>org.apache.tomcat</groupId>
168 <artifactId>tomcat-jsp-api</artifactId>
169 <version>${tomcat.version}</version>
170 <scope>test</scope>
171 </dependency>
172 <dependency>
173 <groupId>com.neovisionaries</groupId>
174 <artifactId>nv-websocket-client</artifactId>
175 <version>2.6</version>
176 <scope>test</scope>
177 </dependency>
178
179 <dependency>
180 <groupId>org.apache.tomcat.embed</groupId>
181 <artifactId>tomcat-embed-core</artifactId>
182 <version>${tomcat.version}</version>
183 <scope>test</scope>
184 </dependency>
185 <dependency>
186 <groupId>org.apache.tomcat</groupId>
187 <artifactId>tomcat-websocket</artifactId>
188 <version>${tomcat.version}</version>
189 <scope>test</scope>
190 </dependency>
191
192 <dependency>
193 <groupId>org.python</groupId>
194 <artifactId>jython-standalone</artifactId>
195 <version>2.7.0</version>
196 <scope>test</scope>
197 </dependency>
198
199 <dependency>
200 <groupId>junit</groupId>
201 <artifactId>junit</artifactId>
202 <version>4.12</version>
203 <scope>test</scope>
204 </dependency>
205 <dependency>
206 <groupId>org.mockito</groupId>
207 <artifactId>mockito-all</artifactId>
208 <version>1.9.5</version>
209 <scope>test</scope>
210 </dependency>
211
212 </dependencies>
213
214
215 <build>
216 <!-- Don't specify finalName as the war number would mismatch the pom version -->
217
218 <resources>
219 <resource>
220 <directory>src/main/webapp/domainsrepo</directory>
221 </resource>
222 </resources>
223
224
225 <plugins>
226 <!-- Copy the domainsrepo for testing purposes, otherwise the server can't
227 find the repo -->
228 <plugin>
229 <artifactId>maven-resources-plugin</artifactId>
230 <version>3.1.0</version>
231 <executions>
232 <execution>
233 <id>copy-resources</id>
234 <phase>validate</phase>
235 <goals>
236 <goal>copy-resources</goal>
237 </goals>
238 <configuration>
239 <outputDirectory>${basedir}/target/domainsrepo</outputDirectory>
240 <resources>
241 <resource>
242 <directory>src/main/webapp/domainsrepo</directory>
243 </resource>
244 </resources>
245 </configuration>
246 </execution>
247 </executions>
248 </plugin>
249
250 <!-- This makes but does not install the jar <plugin> <groupId>org.apache.maven.plugins</groupId>
251 <artifactId>maven-jar-plugin</artifactId> <executions> <execution> <id>make-a-jar</id>
252 <phase>compile</phase> <goals> <goal>jar</goal> </goals> </execution> </executions>
253 </plugin> -->
254 <!-- This does nothign <plugin> <artifactId>maven-war-plugin</artifactId>
255 <configuration> <archiveClasses>true</archiveClasses> </configuration> </plugin> -->
256
257 <plugin>
258 <artifactId>maven-war-plugin</artifactId>
259 <version>3.2.3</version>
260 <configuration>
261 <attachClasses>true</attachClasses>
262 </configuration>
263 </plugin>
264
265 <plugin>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-enforcer-plugin</artifactId>
268 <version>3.0.0-M2</version>
269 <executions>
270 <execution>
271 <id>enforce</id>
272 <configuration>
273 <rules>
274 <dependencyConvergence />
275 </rules>
276 </configuration>
277 <goals>
278 <goal>enforce</goal>
279 </goals>
280 </execution>
281 </executions>
282 </plugin>
283 <plugin>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-source-plugin</artifactId>
286 <executions>
287 <execution>
288 <id>attach-sources</id>
289 <goals>
290 <goal>jar</goal>
291 </goals>
292 </execution>
293 </executions>
294 </plugin>
295
296 <plugin>
297 <groupId>org.apache.maven.plugins</groupId>
298 <artifactId>maven-compiler-plugin</artifactId>
299 <version>3.8.0</version>
300 <configuration>
301 <source>1.8</source>
302 <target>1.8</target>
303 </configuration>
304 </plugin>
305
306 <plugin>
307 <groupId>org.apache.maven.plugins</groupId>
308 <artifactId>maven-javadoc-plugin</artifactId>
309 <version>3.2.0</version>
310 <executions>
311 <execution>
312 <id>attach-javadocs</id>
313 <goals>
314 <goal>jar</goal>
315 </goals>
316 </execution>
317 </executions>
318 </plugin>
319
320 <plugin>
321 <groupId>org.jfrog.buildinfo</groupId>
322 <artifactId>artifactory-maven-plugin</artifactId>
323 <version>2.6.1</version>
324 <executions>
325 <execution>
326 <id>build-info</id>
327 <goals>
328 <goal>publish</goal>
329 </goals>
330 <configuration>
331 <publisher>
332 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
333 <repoKey>libs-release</repoKey>
334 <username>wouter</username>
335 <password>${passwd}</password>
336 </publisher>
337 </configuration>
338 </execution>
339 </executions>
340 </plugin>
341 <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId>
342 <version>2.4.1</version> <configuration> get all project dependencies <descriptorRefs>
343 <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> <archive>
344 <manifest> <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
345 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> </manifest>
346 </archive> </configuration> <executions> <execution> <id>make-assembly</id>
347 bind to the packaging phase <phase>package</phase> <goals> <goal>single</goal>
348 </goals> </execution> </executions> </plugin> -->
349
350 <!-- Special plugin for the tomcat embedded stuff? -->
351 <plugin>
352 <groupId>org.codehaus.mojo</groupId>
353 <artifactId>appassembler-maven-plugin</artifactId>
354 <version>2.0.0</version>
355 <configuration>
356 <assembleDirectory>target</assembleDirectory>
357 <programs>
358 <program>
359 <mainClass>launch.Main</mainClass>
360 <name>webapp</name>
361 </program>
362 </programs>
363 </configuration>
364 <executions>
365 <execution>
366 <phase>package</phase>
367 <goals>
368 <goal>assemble</goal>
369 </goals>
370 </execution>
371 </executions>
372 </plugin>
373
374 </plugins>
375
376 <pluginManagement>
377 <plugins>
378 <plugin>
379 <groupId>org.eclipse.m2e</groupId>
380 <artifactId>lifecycle-mapping</artifactId>
381 <version>1.0.0</version>
382 <configuration>
383 <lifecycleMappingMetadata>
384 <pluginExecutions>
385 <pluginExecution>
386 <pluginExecutionFilter>
387 <groupId>org.jfrog.buildinfo</groupId>
388 <artifactId>artifactory-maven-plugin</artifactId>
389 <versionRange>[1.0.0,)</versionRange>
390 <goals>
391 <goal>publish</goal>
392 </goals>
393 </pluginExecutionFilter>
394 <action>
395 <ignore />
396 </action>
397 </pluginExecution>
398 </pluginExecutions>
399 </lifecycleMappingMetadata>
400 </configuration>
401 </plugin>
402 </plugins>
403
404 </pluginManagement>
405
406
407 </build>
408</project>
Note: See TracBrowser for help on using the repository browser.