fc450addfcb23d287786fec6dea68dcb89b2e9d3
[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>4.2.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 c3p0,mchange-commons-java,h2,mysql-connector-java,log4j,javax.servlet-api,jetty-all
57 </includeArtifactIds>
58 <outputDirectory>
59 ${basedir}/lib
60 </outputDirectory>
61 <overWriteReleases>true</overWriteReleases>
62 <overWriteSnapshots>true</overWriteSnapshots>
63 <excludeTransitive>true</excludeTransitive>
64 </configuration>
65 </execution>
66 </executions>
67 </plugin>
68 <plugin>
69 <groupId>org.apache.maven.plugins</groupId>
70 <artifactId>maven-antrun-plugin</artifactId>
71 <version>1.7</version>
72 <executions>
73 <execution>
74 <id>update-snapshot-jar-names</id>
75 <phase>validate</phase>
76 <goals>
77 <goal>run</goal>
78 </goals>
79 <configuration>
80 <target>
81 <echo>Anonymizing war</echo>
82 <move todir="./lib">
83 <fileset dir="./lib" />
84 <mapper type="regexp"
85 from="(^cdmlib\-remote\-webapp).*(\.war)" to="\1\2" />
86 </move>
87 </target>
88 </configuration>
89 </execution>
90 </executions>
91 </plugin>
92 </plugins>
93 </build>
94 <repositories>
95 <repository>
96 <id>SpringSource Enterprise Bundle Repository - External Bundle
97 Milestones
98 </id>
99 <url>http://repository.springsource.com/maven/bundles/milestone
100 </url>
101 </repository>
102 <repository>
103 <id>SpringSource Enterprise Bundle Repository - SpringSource
104 Bundle
105 Releases
106 </id>
107 <url>http://repository.springsource.com/maven/bundles/release
108 </url>
109 </repository>
110 <repository>
111 <id>SpringSource Enterprise Bundle Repository - External Bundle
112 Releases
113 </id>
114 <url>http://repository.springsource.com/maven/bundles/external
115 </url>
116 </repository>
117 </repositories>
118 <dependencies>
119 <dependency>
120 <groupId>eu.etaxonomy</groupId>
121 <artifactId>cdmlib-remote-webapp</artifactId>
122 <version>${cdmlib.version}</version>
123 <type>war</type>
124 </dependency>
125 <dependency>
126 <groupId>com.h2database</groupId>
127 <artifactId>h2</artifactId>
128 <version>${h2.version}</version>
129 </dependency>
130 <dependency>
131 <groupId>mysql</groupId>
132 <artifactId>mysql-connector-java</artifactId>
133 <version>5.1.24</version>
134 </dependency>
135 <dependency>
136 <groupId>com.mchange</groupId>
137 <artifactId>c3p0</artifactId>
138 <version>${c3p0.version}</version>
139 </dependency>
140 <dependency>
141 <groupId>com.mchange</groupId>
142 <artifactId>mchange-commons-java</artifactId>
143 <version>${mchange-commons-java.version}</version>
144 </dependency>
145 <dependency>
146 <groupId>log4j</groupId>
147 <artifactId>log4j</artifactId>
148 <version>${log4j.version}</version>
149 </dependency>
150 <dependency>
151 <groupId>javax.servlet</groupId>
152 <artifactId>javax.servlet-api</artifactId>
153 <version>3.1.0</version>
154 </dependency>
155 <dependency>
156 <groupId>org.eclipse.jetty.aggregate</groupId>
157 <artifactId>jetty-all</artifactId>
158 <version>9.2.9.v20150224</version>
159 </dependency>
160 </dependencies>
161 </project>
162