Project

General

Profile

Download (5.31 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.43.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>3.0.0-M5</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>3.2.0</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-api,log4j-core,
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
  <dependencies>
113
    <dependency>
114
      <groupId>eu.etaxonomy</groupId>
115
      <artifactId>cdmlib-remote-webapp</artifactId>
116
      <version>${cdmlib.version}</version>
117
      <type>war</type>
118
    </dependency>
119
    <dependency>
120
      <groupId>eu.etaxonomy</groupId>
121
      <artifactId>cdmlib-db</artifactId>
122
      <version>${cdmlib.version}</version>
123
    </dependency>
124
    <dependency>
125
      <groupId>org.apache.logging.log4j</groupId>
126
      <artifactId>log4j-api</artifactId>
127
      <version>${log4j.version}</version>
128
    </dependency>
129
    <dependency>
130
      <groupId>org.apache.logging.log4j</groupId>
131
      <artifactId>log4j-core</artifactId>
132
      <version>${log4j.version}</version>
133
    </dependency>
134
    <dependency>
135
        <groupId>org.hibernate.validator</groupId>
136
        <artifactId>hibernate-validator</artifactId>
137
        <version>6.2.3.Final</version>
138
    </dependency>
139
    <dependency>
140
        <groupId>org.eclipse.jetty</groupId>
141
        <artifactId>jetty-server</artifactId>
142
        <version>${jetty-version}</version>
143
    </dependency>
144
    <dependency>
145
        <groupId>org.eclipse.jetty</groupId>
146
        <artifactId>jetty-util</artifactId>
147
        <version>${jetty-version}</version>
148
    </dependency>
149
    <dependency>
150
        <groupId>org.eclipse.jetty</groupId>
151
        <artifactId>jetty-webapp</artifactId>
152
        <version>${jetty-version}</version>
153
    </dependency>
154
  </dependencies>
155
  <description>Enables acces to a local managed cdm server</description>
156
</project>
157

    
(5-5/5)