1
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
3
|
<modelVersion>4.0.0</modelVersion>
|
4
|
<groupId>eu.etaxonomy.utis</groupId>
|
5
|
<artifactId>eubon-utis</artifactId>
|
6
|
<packaging>war</packaging>
|
7
|
|
8
|
<version>1.3.0</version>
|
9
|
<name>UTIS web application</name>
|
10
|
<url>http://maven.apache.org</url>
|
11
|
|
12
|
<properties>
|
13
|
<java.codelevel>1.8</java.codelevel>
|
14
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
15
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
16
|
<spring.version>4.3.30.RELEASE</spring.version>
|
17
|
<jackson.version>2.13.0</jackson.version>
|
18
|
<utis-core.version>1.3.0</utis-core.version>
|
19
|
<log4j.version>[2.16.0,)</log4j.version>
|
20
|
</properties>
|
21
|
|
22
|
<prerequisites>
|
23
|
<maven>[3.0.0,)</maven>
|
24
|
</prerequisites>
|
25
|
|
26
|
<repositories>
|
27
|
<!-- current spring source repositories -->
|
28
|
<repository>
|
29
|
<id>SpringSource Enterprise Bundle Repository - External Bundle Milestones</id>
|
30
|
<url>http://repository.springsource.com/maven/bundles/milestone</url>
|
31
|
</repository>
|
32
|
<repository>
|
33
|
<id>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</id>
|
34
|
<url>http://repository.springsource.com/maven/bundles/release</url>
|
35
|
</repository>
|
36
|
<repository>
|
37
|
<id>SpringSource Enterprise Bundle Repository - External Bundle Releases</id>
|
38
|
<url>http://repository.springsource.com/maven/bundles/external</url>
|
39
|
</repository>
|
40
|
<repository>
|
41
|
<id>jcenter-release</id>
|
42
|
<name>jcenter</name>
|
43
|
<url>http://oss.jfrog.org/artifactory/oss-release-local/</url>
|
44
|
</repository>
|
45
|
</repositories>
|
46
|
|
47
|
<dependencies>
|
48
|
<dependency>
|
49
|
<groupId>javax.servlet</groupId>
|
50
|
<artifactId>servlet-api</artifactId>
|
51
|
<version>2.5</version>
|
52
|
</dependency>
|
53
|
<dependency>
|
54
|
<groupId>org.springframework</groupId>
|
55
|
<artifactId>spring-context-support</artifactId>
|
56
|
<version>${spring.version}</version>
|
57
|
</dependency>
|
58
|
<dependency>
|
59
|
<groupId>org.springframework</groupId>
|
60
|
<artifactId>spring-web</artifactId>
|
61
|
<version>${spring.version}</version>
|
62
|
</dependency>
|
63
|
<dependency>
|
64
|
<groupId>org.springframework</groupId>
|
65
|
<artifactId>spring-oxm</artifactId>
|
66
|
<version>${spring.version}</version>
|
67
|
</dependency>
|
68
|
<!--
|
69
|
<dependency>
|
70
|
<groupId>org.springframework</groupId>
|
71
|
<artifactId>org.springframework.web.servlet</artifactId>
|
72
|
<version>${spring.version}</version>
|
73
|
</dependency>
|
74
|
-->
|
75
|
<dependency>
|
76
|
<groupId>org.springframework</groupId>
|
77
|
<artifactId>spring-webmvc</artifactId>
|
78
|
<version>${spring.version}</version>
|
79
|
</dependency>
|
80
|
<dependency>
|
81
|
<groupId>junit</groupId>
|
82
|
<artifactId>junit</artifactId>
|
83
|
<version>4.11</version>
|
84
|
<scope>test</scope>
|
85
|
</dependency>
|
86
|
<dependency>
|
87
|
<groupId>org.cybertaxonomy</groupId>
|
88
|
<artifactId>utis-core</artifactId>
|
89
|
<version>${utis-core.version}</version>
|
90
|
</dependency>
|
91
|
<dependency>
|
92
|
<groupId>io.springfox</groupId>
|
93
|
<artifactId>springfox-swagger2</artifactId>
|
94
|
<version>2.6.1</version>
|
95
|
</dependency>
|
96
|
|
97
|
<dependency>
|
98
|
<groupId>org.apache.logging.log4j</groupId>
|
99
|
<artifactId>log4j-api</artifactId>
|
100
|
<version>${log4j.version}</version>
|
101
|
</dependency>
|
102
|
<dependency>
|
103
|
<groupId>org.apache.logging.log4j</groupId>
|
104
|
<artifactId>log4j-core</artifactId>
|
105
|
<version>${log4j.version}</version>
|
106
|
</dependency>
|
107
|
<dependency>
|
108
|
<groupId>org.apache.logging.log4j</groupId>
|
109
|
<artifactId>log4j-web</artifactId>
|
110
|
<version>${log4j.version}</version>
|
111
|
</dependency>
|
112
|
|
113
|
<dependency>
|
114
|
<!-- required for spring config element <mvc:annotation-driven /> -->
|
115
|
<groupId>org.hibernate</groupId>
|
116
|
<artifactId>hibernate-validator</artifactId>
|
117
|
<version>4.3.1.Final</version><!-- 5.1.1.Final causes dependency problems with available slf4j version -->
|
118
|
</dependency>
|
119
|
|
120
|
<!-- dependencies for swagger-springmvc, added explicitely
|
121
|
-->
|
122
|
<dependency>
|
123
|
<groupId>com.fasterxml.jackson.core</groupId>
|
124
|
<artifactId>jackson-databind</artifactId>
|
125
|
<version>${jackson.version}</version>
|
126
|
</dependency>
|
127
|
<dependency>
|
128
|
<groupId>com.fasterxml.jackson.core</groupId>
|
129
|
<artifactId>jackson-core</artifactId>
|
130
|
<version>${jackson.version}</version>
|
131
|
</dependency>
|
132
|
<dependency>
|
133
|
<groupId>com.fasterxml.jackson.core</groupId>
|
134
|
<artifactId>jackson-annotations</artifactId>
|
135
|
<version>${jackson.version}</version>
|
136
|
</dependency>
|
137
|
</dependencies>
|
138
|
|
139
|
<build>
|
140
|
<finalName>eubon-utis</finalName>
|
141
|
<plugins>
|
142
|
<plugin>
|
143
|
<groupId>org.apache.maven.plugins</groupId>
|
144
|
<artifactId>maven-resources-plugin</artifactId>
|
145
|
<version>3.0.2</version>
|
146
|
<configuration>
|
147
|
<encoding>${project.build.sourceEncoding}</encoding>
|
148
|
</configuration>
|
149
|
</plugin>
|
150
|
<plugin>
|
151
|
<groupId>org.apache.maven.plugins</groupId>
|
152
|
<artifactId>maven-compiler-plugin</artifactId>
|
153
|
<version>3.5.1</version>
|
154
|
<configuration>
|
155
|
<source>${java.codelevel}</source>
|
156
|
<target>${java.codelevel}</target>
|
157
|
<encoding>${project.build.sourceEncoding}</encoding>
|
158
|
</configuration>
|
159
|
</plugin>
|
160
|
<plugin>
|
161
|
<groupId>org.apache.maven.plugins</groupId>
|
162
|
<artifactId>maven-war-plugin</artifactId>
|
163
|
<version>2.6</version>
|
164
|
<configuration>
|
165
|
<webResources>
|
166
|
<resource>
|
167
|
<!-- replace the project-version placeholder in html files
|
168
|
file. This property can then be used to retrieve the version number in the
|
169
|
Bootloader -->
|
170
|
<filtering>true</filtering>
|
171
|
<directory>src/main/webapp</directory>
|
172
|
<includes>
|
173
|
<include>index.html</include>
|
174
|
</includes>
|
175
|
</resource>
|
176
|
<resource>
|
177
|
<!-- all other files in classes -->
|
178
|
<directory>src/main/webapp</directory>
|
179
|
<excludes>
|
180
|
<exclude>index.html</exclude>
|
181
|
</excludes>
|
182
|
</resource>
|
183
|
</webResources>
|
184
|
</configuration>
|
185
|
</plugin>
|
186
|
<plugin>
|
187
|
<groupId>org.mortbay.jetty</groupId>
|
188
|
<artifactId>jetty-maven-plugin</artifactId>
|
189
|
<!--
|
190
|
Remote debugging:
|
191
|
export MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n"
|
192
|
mvn jetty:run
|
193
|
-->
|
194
|
<configuration>
|
195
|
<war>${basedir}/target/eubon-utis.war</war>
|
196
|
<webApp>
|
197
|
<contextPath>/eubon-utis</contextPath>
|
198
|
</webApp>
|
199
|
</configuration>
|
200
|
</plugin>
|
201
|
<plugin>
|
202
|
<groupId>org.apache.maven.plugins</groupId>
|
203
|
<artifactId>maven-eclipse-plugin</artifactId>
|
204
|
<version>2.9</version>
|
205
|
<configuration>
|
206
|
<downloadSources>true</downloadSources>
|
207
|
<downloadJavadocs>true</downloadJavadocs>
|
208
|
</configuration>
|
209
|
</plugin>
|
210
|
</plugins>
|
211
|
</build>
|
212
|
</project>
|