Merge branch 'hotfix/3.12.3' into develop
[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>3.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
15 <build>
16 <pluginManagement>
17 <plugins>
18 <plugin>
19 <groupId>org.apache.maven.plugins</groupId>
20 <artifactId>maven-surefire-plugin</artifactId>
21 <version>2.7</version>
22 </plugin>
23 </plugins>
24 </pluginManagement>
25 <plugins>
26 <plugin>
27 <groupId>org.apache.maven.plugins</groupId>
28 <artifactId>maven-dependency-plugin</artifactId>
29 <version>2.4</version>
30 <executions>
31 <execution>
32 <id>copy-dependency-war</id>
33 <phase>validate</phase>
34 <goals>
35 <goal>copy-dependencies</goal>
36 </goals>
37 <configuration>
38 <includeArtifactIds>
39 cdmlib-remote-webapp
40 </includeArtifactIds>
41 <outputDirectory>
42 ${basedir}/lib
43 </outputDirectory>
44 <overWriteReleases>true</overWriteReleases>
45 <overWriteSnapshots>true</overWriteSnapshots>
46 <excludeTransitive>true</excludeTransitive>
47 </configuration>
48 </execution>
49 </executions>
50 </plugin>
51 <plugin>
52 <groupId>org.apache.maven.plugins</groupId>
53 <artifactId>maven-antrun-plugin</artifactId>
54 <version>1.7</version>
55 <executions>
56 <execution>
57 <id>update-snapshot-jar-names</id>
58 <phase>validate</phase>
59 <goals>
60 <goal>run</goal>
61 </goals>
62 <configuration>
63 <target>
64 <echo>Anonymizing war</echo>
65 <move todir="./lib">
66 <fileset dir="./lib" />
67 <mapper type="regexp"
68 from="(^cdmlib\-remote\-webapp).*(\.war)" to="\1\2" />
69 </move>
70 </target>
71 </configuration>
72 </execution>
73 </executions>
74 </plugin>
75 </plugins>
76 </build>
77 <repositories>
78 <repository>
79 <id>SpringSource Enterprise Bundle Repository - External Bundle
80 Milestones
81 </id>
82 <url>http://repository.springsource.com/maven/bundles/milestone
83 </url>
84 </repository>
85 <repository>
86 <id>SpringSource Enterprise Bundle Repository - SpringSource
87 Bundle
88 Releases
89 </id>
90 <url>http://repository.springsource.com/maven/bundles/release
91 </url>
92 </repository>
93 <repository>
94 <id>SpringSource Enterprise Bundle Repository - External Bundle
95 Releases
96 </id>
97 <url>http://repository.springsource.com/maven/bundles/external
98 </url>
99 </repository>
100 </repositories>
101 <dependencies>
102 <dependency>
103 <groupId>eu.etaxonomy</groupId>
104 <artifactId>cdmlib-remote-webapp</artifactId>
105 <version>${cdmlib.version}</version>
106 <type>war</type>
107 </dependency>
108 </dependencies>
109 </project>
110