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