ref #8868 updating jetty to 9.4.26.v20200117
[taxeditor.git] / eu.etaxonomy.taxeditor.webapp / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" 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 <parent>
5 <groupId>eu.etaxonomy</groupId>
6 <artifactId>taxeditor-parent</artifactId>
7 <version>5.13.0-SNAPSHOT</version>
8 </parent>
9 <modelVersion>4.0.0</modelVersion>
10 <artifactId>eu.etaxonomy.taxeditor.webapp</artifactId>
11 <packaging>eclipse-plugin</packaging>
12 <name>CDM Library Webapp Plugin</name>
13 <description>CDM Library webapp as a plugin</description>
14 <properties>
15 <jetty-version>9.4.26.v20200117</jetty-version>
16 </properties>
17 <build>
18 <pluginManagement>
19 <plugins>
20 <plugin>
21 <groupId>org.apache.maven.plugins</groupId>
22 <artifactId>maven-surefire-plugin</artifactId>
23 <version>2.7</version>
24 </plugin>
25 </plugins>
26 </pluginManagement>
27 <plugins>
28 <plugin>
29 <groupId>org.apache.maven.plugins</groupId>
30 <artifactId>maven-dependency-plugin</artifactId>
31 <version>2.4</version>
32 <executions>
33 <execution>
34 <id>copy-dependency-war</id>
35 <phase>validate</phase>
36 <goals>
37 <goal>copy-dependencies</goal>
38 </goals>
39 <configuration>
40 <includeArtifactIds>
41 cdmlib-remote-webapp
42 </includeArtifactIds>
43 <outputDirectory>
44 ${basedir}/lib
45 </outputDirectory>
46 <overWriteReleases>true</overWriteReleases>
47 <overWriteSnapshots>true</overWriteSnapshots>
48 <excludeTransitive>true</excludeTransitive>
49 </configuration>
50 </execution>
51 <execution>
52 <id>copy-dependency-jars</id>
53 <phase>validate</phase>
54 <goals>
55 <goal>copy-dependencies</goal>
56 </goals>
57 <configuration>
58 <includeArtifactIds>
59 log4j,javax.servlet-api,jetty-server,jetty-util,jetty-webapp,jetty-xml,jetty-servlet,jetty-security
60 </includeArtifactIds>
61 <outputDirectory>
62 ${basedir}/lib
63 </outputDirectory>
64 <overWriteReleases>true</overWriteReleases>
65 <overWriteSnapshots>true</overWriteSnapshots>
66 <excludeTransitive>false</excludeTransitive>
67 </configuration>
68 </execution>
69 <execution>
70 <id>copy-dependency-jars-transitive</id>
71 <phase>validate</phase>
72 <goals>
73 <goal>copy-dependencies</goal>
74 </goals>
75 <configuration>
76 <includeArtifactIds>
77 c3p0,mchange-commons-java,h2,postgresql,mysql-connector-java,jdbc4
78 </includeArtifactIds>
79 <outputDirectory>
80 ${basedir}/lib
81 </outputDirectory>
82 <overWriteReleases>true</overWriteReleases>
83 <overWriteSnapshots>true</overWriteSnapshots>
84 <excludeTransitive>false</excludeTransitive>
85 </configuration>
86 </execution>
87 </executions>
88 </plugin>
89 <plugin>
90 <groupId>org.apache.maven.plugins</groupId>
91 <artifactId>maven-antrun-plugin</artifactId>
92 <version>1.7</version>
93 <executions>
94 <execution>
95 <id>update-snapshot-jar-names</id>
96 <phase>validate</phase>
97 <goals>
98 <goal>run</goal>
99 </goals>
100 <configuration>
101 <target>
102 <echo>Anonymizing war</echo>
103 <move todir="./lib">
104 <fileset dir="./lib" />
105 <mapper type="regexp"
106 from="(^cdmlib\-remote\-webapp).*(\.war)" to="\1\2" />
107 </move>
108 </target>
109 </configuration>
110 </execution>
111 </executions>
112 </plugin>
113 </plugins>
114 </build>
115 <repositories>
116 <repository>
117 <id>SpringSource Enterprise Bundle Repository - External Bundle
118 Milestones
119 </id>
120 <url>http://repository.springsource.com/maven/bundles/milestone
121 </url>
122 </repository>
123 <repository>
124 <id>SpringSource Enterprise Bundle Repository - SpringSource
125 Bundle
126 Releases
127 </id>
128 <url>http://repository.springsource.com/maven/bundles/release
129 </url>
130 </repository>
131 <repository>
132 <id>SpringSource Enterprise Bundle Repository - External Bundle
133 Releases
134 </id>
135 <url>http://repository.springsource.com/maven/bundles/external
136 </url>
137 </repository>
138 </repositories>
139 <dependencies>
140 <dependency>
141 <groupId>eu.etaxonomy</groupId>
142 <artifactId>cdmlib-remote-webapp</artifactId>
143 <version>${cdmlib.version}</version>
144 <type>war</type>
145 </dependency>
146 <dependency>
147 <groupId>eu.etaxonomy</groupId>
148 <artifactId>cdmlib-db</artifactId>
149 <version>${cdmlib.version}</version>
150 </dependency>
151 <dependency>
152 <groupId>log4j</groupId>
153 <artifactId>log4j</artifactId>
154 <version>${log4j.version}</version>
155 </dependency>
156 <dependency>
157 <groupId>javax.servlet</groupId>
158 <artifactId>javax.servlet-api</artifactId>
159 <version>3.1.0</version>
160 </dependency>
161 <dependency>
162 <groupId>org.eclipse.jetty</groupId>
163 <artifactId>jetty-server</artifactId>
164 <version>${jetty-version}</version>
165 </dependency>
166 <dependency>
167 <groupId>org.eclipse.jetty</groupId>
168 <artifactId>jetty-util</artifactId>
169 <version>${jetty-version}</version>
170 </dependency>
171 <dependency>
172 <groupId>org.eclipse.jetty</groupId>
173 <artifactId>jetty-webapp</artifactId>
174 <version>${jetty-version}</version>
175 </dependency>
176 </dependencies>
177 </project>
178