Project

General

Profile

Download (5.79 KB) Statistics
| Branch: | Tag: | Revision:
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.16.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
        <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
    <dependency>
144
      <groupId>eu.etaxonomy</groupId>
145
      <artifactId>cdmlib-db</artifactId>
146
      <version>${cdmlib.version}</version>
147
    </dependency>
148
     <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</groupId>
160
        <artifactId>jetty-server</artifactId>
161
        <version>${jetty-version}</version>
162
    </dependency>
163
    <dependency>
164
        <groupId>org.eclipse.jetty</groupId>
165
        <artifactId>jetty-util</artifactId>
166
        <version>${jetty-version}</version>
167
    </dependency>
168
    <dependency>
169
        <groupId>org.eclipse.jetty</groupId>
170
        <artifactId>jetty-webapp</artifactId>
171
        <version>${jetty-version}</version>
172
    </dependency>
173
  </dependencies>
174
</project>
175

    
(3-3/3)