1 |
7a96337f
|
Cherian Mathew
|
<?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 |
909ddfb3
|
jenkins
|
<version>4.15.0</version>
|
8 |
7a96337f
|
Cherian Mathew
|
</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 |
d26c9f9a
|
Andreas Kohlbecker
|
<execution>
|
49 |
|
|
<id>copy-dependency-jars</id>
|
50 |
|
|
<phase>validate</phase>
|
51 |
|
|
<goals>
|
52 |
|
|
<goal>copy-dependencies</goal>
|
53 |
|
|
</goals>
|
54 |
|
|
<configuration>
|
55 |
d09f7b40
|
Andreas Kohlbecker
|
<includeArtifactIds>
|
56 |
dbd1c8d4
|
Andreas Müller
|
log4j,javax.servlet-api,jetty-all
|
57 |
d26c9f9a
|
Andreas Kohlbecker
|
</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 |
dbd1c8d4
|
Andreas Müller
|
<execution>
|
67 |
7de68329
|
Andreas Müller
|
<id>copy-dependency-jars-transitive</id>
|
68 |
dbd1c8d4
|
Andreas Müller
|
<phase>validate</phase>
|
69 |
|
|
<goals>
|
70 |
|
|
<goal>copy-dependencies</goal>
|
71 |
|
|
</goals>
|
72 |
|
|
<configuration>
|
73 |
|
|
<includeArtifactIds>
|
74 |
38556693
|
Andreas Müller
|
c3p0,mchange-commons-java,h2,postgresql,mysql-connector-java,jdbc4
|
75 |
dbd1c8d4
|
Andreas Müller
|
</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 |
7a96337f
|
Cherian Mathew
|
</executions>
|
85 |
|
|
</plugin>
|
86 |
|
|
<plugin>
|
87 |
|
|
<groupId>org.apache.maven.plugins</groupId>
|
88 |
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
89 |
|
|
<version>1.7</version>
|
90 |
|
|
<executions>
|
91 |
|
|
<execution>
|
92 |
|
|
<id>update-snapshot-jar-names</id>
|
93 |
|
|
<phase>validate</phase>
|
94 |
|
|
<goals>
|
95 |
|
|
<goal>run</goal>
|
96 |
|
|
</goals>
|
97 |
|
|
<configuration>
|
98 |
|
|
<target>
|
99 |
|
|
<echo>Anonymizing war</echo>
|
100 |
|
|
<move todir="./lib">
|
101 |
|
|
<fileset dir="./lib" />
|
102 |
|
|
<mapper type="regexp"
|
103 |
|
|
from="(^cdmlib\-remote\-webapp).*(\.war)" to="\1\2" />
|
104 |
|
|
</move>
|
105 |
|
|
</target>
|
106 |
|
|
</configuration>
|
107 |
|
|
</execution>
|
108 |
|
|
</executions>
|
109 |
|
|
</plugin>
|
110 |
|
|
</plugins>
|
111 |
|
|
</build>
|
112 |
|
|
<repositories>
|
113 |
|
|
<repository>
|
114 |
|
|
<id>SpringSource Enterprise Bundle Repository - External Bundle
|
115 |
|
|
Milestones
|
116 |
|
|
</id>
|
117 |
|
|
<url>http://repository.springsource.com/maven/bundles/milestone
|
118 |
|
|
</url>
|
119 |
|
|
</repository>
|
120 |
|
|
<repository>
|
121 |
|
|
<id>SpringSource Enterprise Bundle Repository - SpringSource
|
122 |
|
|
Bundle
|
123 |
|
|
Releases
|
124 |
|
|
</id>
|
125 |
|
|
<url>http://repository.springsource.com/maven/bundles/release
|
126 |
|
|
</url>
|
127 |
|
|
</repository>
|
128 |
|
|
<repository>
|
129 |
|
|
<id>SpringSource Enterprise Bundle Repository - External Bundle
|
130 |
|
|
Releases
|
131 |
|
|
</id>
|
132 |
|
|
<url>http://repository.springsource.com/maven/bundles/external
|
133 |
|
|
</url>
|
134 |
|
|
</repository>
|
135 |
|
|
</repositories>
|
136 |
|
|
<dependencies>
|
137 |
|
|
<dependency>
|
138 |
|
|
<groupId>eu.etaxonomy</groupId>
|
139 |
|
|
<artifactId>cdmlib-remote-webapp</artifactId>
|
140 |
|
|
<version>${cdmlib.version}</version>
|
141 |
|
|
<type>war</type>
|
142 |
|
|
</dependency>
|
143 |
d26c9f9a
|
Andreas Kohlbecker
|
<dependency>
|
144 |
1c56dd72
|
Andreas Müller
|
<groupId>eu.etaxonomy</groupId>
|
145 |
|
|
<artifactId>cdmlib-db</artifactId>
|
146 |
|
|
<version>${cdmlib.version}</version>
|
147 |
d26c9f9a
|
Andreas Kohlbecker
|
</dependency>
|
148 |
d09f7b40
|
Andreas Kohlbecker
|
<dependency>
|
149 |
|
|
<groupId>log4j</groupId>
|
150 |
|
|
<artifactId>log4j</artifactId>
|
151 |
|
|
<version>${log4j.version}</version>
|
152 |
|
|
</dependency>
|
153 |
|
|
<dependency>
|
154 |
|
|
<groupId>javax.servlet</groupId>
|
155 |
|
|
<artifactId>javax.servlet-api</artifactId>
|
156 |
|
|
<version>3.1.0</version>
|
157 |
|
|
</dependency>
|
158 |
|
|
<dependency>
|
159 |
|
|
<groupId>org.eclipse.jetty.aggregate</groupId>
|
160 |
|
|
<artifactId>jetty-all</artifactId>
|
161 |
|
|
<version>9.2.9.v20150224</version>
|
162 |
|
|
</dependency>
|
163 |
7a96337f
|
Cherian Mathew
|
</dependencies>
|
164 |
|
|
</project>
|