Project

General

Profile

Download (5.95 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.21.0</version>
8
  </parent>
9
  <modelVersion>4.0.0</modelVersion>
10
  <artifactId>eu.etaxonomy.taxeditor.local</artifactId>
11
  <packaging>eclipse-plugin</packaging>
12
  <name>Local Plugin</name>
13
  <build>
14
    <pluginManagement>
15
      <plugins>
16
        <plugin>
17
          <groupId>org.apache.maven.plugins</groupId>
18
          <artifactId>maven-surefire-plugin</artifactId>
19
          <version>2.7</version>
20
        </plugin>
21
      </plugins>
22
    </pluginManagement>
23
    <plugins>
24
      <plugin>
25
        <groupId>org.apache.maven.plugins</groupId>
26
        <artifactId>maven-dependency-plugin</artifactId>
27
        <version>2.4</version>
28
        <executions>
29
          <execution>
30
            <id>copy-dependency-war</id>
31
            <phase>validate</phase>
32
            <goals>
33
              <goal>copy-dependencies</goal>
34
            </goals>
35
            <configuration>
36
              <includeArtifactIds>
37
                cdmlib-remote-webapp
38
              </includeArtifactIds>
39
              <outputDirectory>
40
                ${basedir}/lib
41
              </outputDirectory>
42
              <overWriteReleases>true</overWriteReleases>
43
              <overWriteSnapshots>true</overWriteSnapshots>
44
              <excludeTransitive>true</excludeTransitive>
45
            </configuration>
46
          </execution>
47
          <execution>
48
            <id>copy-dependency-jars</id>
49
            <phase>validate</phase>
50
            <goals>
51
              <goal>copy-dependencies</goal>
52
            </goals>
53
            <configuration>
54
              <includeArtifactIds>
55
                log4j,
56
                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,
75
                h2,postgresql,mysql-connector-java,mssql-jdbc,jtds
76
              </includeArtifactIds>
77
              <outputDirectory>
78
                ${basedir}/lib
79
              </outputDirectory>
80
              <overWriteReleases>true</overWriteReleases>
81
              <overWriteSnapshots>true</overWriteSnapshots>
82
              <excludeTransitive>false</excludeTransitive>
83
            </configuration>
84
          </execution>
85
        </executions>
86
      </plugin>
87
      <plugin>
88
        <groupId>org.apache.maven.plugins</groupId>
89
        <artifactId>maven-antrun-plugin</artifactId>
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>4.0.1</version>
157
    </dependency>-->
158
    <dependency>
159
        <groupId>org.hibernate.validator</groupId>
160
        <artifactId>hibernate-validator</artifactId>
161
        <version>6.1.5.Final</version>
162
    </dependency>
163
    <dependency>
164
        <groupId>org.eclipse.jetty</groupId>
165
        <artifactId>jetty-server</artifactId>
166
        <version>${jetty-version}</version>
167
    </dependency>
168
    <dependency>
169
        <groupId>org.eclipse.jetty</groupId>
170
        <artifactId>jetty-util</artifactId>
171
        <version>${jetty-version}</version>
172
    </dependency>
173
    <dependency>
174
        <groupId>org.eclipse.jetty</groupId>
175
        <artifactId>jetty-webapp</artifactId>
176
        <version>${jetty-version}</version>
177
    </dependency>
178
  </dependencies>
179
  <description>Enables acces to a local managed cdm server</description>
180
</project>
181

    
(5-5/5)