source: pom.xml@ 21

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

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

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