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