Project

General

Profile

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

    
(3-3/3)