a5e60617a539b4e967e96a9187fedd8bf687e3d9
[taxeditor.git] / eu.etaxonomy.taxeditor.cdmlib / pom.xml
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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3 <parent>
4 <groupId>eu.etaxonomy</groupId>
5 <artifactId>taxeditor-parent</artifactId>
6 <version>3.10.0-SNAPSHOT</version>
7 </parent>
8 <modelVersion>4.0.0</modelVersion>
9 <artifactId>eu.etaxonomy.taxeditor.cdmlib</artifactId>
10 <packaging>eclipse-plugin</packaging>
11 <name>CDM Library Dependencies Plugin</name>
12 <description>CDM Library and dependencies as a plugin</description>
13 <build>
14 <plugins>
15 <plugin>
16 <groupId>org.apache.maven.plugins</groupId>
17 <artifactId>maven-dependency-plugin</artifactId>
18 <version>2.4</version>
19 <executions>
20 <execution>
21 <id>copy-dependencies</id>
22 <phase>validate</phase>
23 <goals>
24 <goal>copy-dependencies</goal>
25 </goals>
26 <configuration>
27 <includeArtifactIds>cdmlib-commons,cdmlib-model,cdmlib-persistence,cdmlib-remote,cdmlib-print,cdmlib-services,cdmlib-ext,cdmlib-io</includeArtifactIds>
28 <outputDirectory>lib</outputDirectory>
29 <overWriteReleases>true</overWriteReleases>
30 <overWriteSnapshots>true</overWriteSnapshots>
31 <excludeTransitive>true</excludeTransitive>
32 </configuration>
33 </execution>
34 <execution>
35 <id>copy-dependencies-sources</id>
36 <phase>validate</phase>
37 <goals>
38 <goal>copy-dependencies</goal>
39 </goals>
40 <configuration>
41 <classifier>sources</classifier>
42 <includeArtifactIds>cdmlib-commons,cdmlib-model,cdmlib-persistence,cdmlib-remote,cdmlib-print,cdmlib-services,cdmlib-ext,cdmlib-io</includeArtifactIds>
43 <outputDirectory>lib</outputDirectory>
44 <overWriteReleases>true</overWriteReleases>
45 <overWriteSnapshots>true</overWriteSnapshots>
46 <excludeTransitive>true</excludeTransitive>
47 <failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact>
48 </configuration>
49 </execution>
50 </executions>
51 </plugin>
52 <plugin>
53 <groupId>org.apache.maven.plugins</groupId>
54 <artifactId>maven-antrun-plugin</artifactId>
55 <version>1.7</version>
56 <executions>
57 <execution>
58 <id>remove-existing-jars</id>
59 <phase>clean</phase>
60 <goals>
61 <goal>run</goal>
62 </goals>
63 <configuration>
64 <target>
65 <echo>Remove all cdmlib jars</echo>
66 <delete>
67 <fileset dir="./lib" includes="cdmlib-*" />
68 </delete>
69 </target>
70 </configuration>
71 </execution>
72 <execution>
73 <id>update-snapshot-jar-names</id>
74 <phase>validate</phase>
75 <goals>
76 <goal>run</goal>
77 </goals>
78 <configuration>
79 <target>
80 <echo>Update cdmlib jars to SNAPSHOT when build with timestamp</echo>
81 <move todir="./lib">
82 <fileset dir="./lib" />
83 <mapper type="regexp" from="(^cdmlib\-.*\-[0-9]\.[0-9]\.[0-9]\-)[0-9.-]+(\.jar)" to="\1SNAPSHOT\2" />
84 </move>
85 <move todir="./lib">
86 <fileset dir="./lib" />
87 <mapper type="regexp" from="(^cdmlib\-.*\-[0-9]\.[0-9]\.[0-9]\-)[0-9.-]+(\-sources\.jar)" to="\1SNAPSHOT\2" />
88 </move>
89 </target>
90 </configuration>
91 </execution>
92 </executions>
93 </plugin>
94 </plugins>
95 </build>
96 <dependencies>
97 <dependency>
98 <groupId>identificationKeyAPI</groupId>
99 <artifactId>identificationKeyAPI</artifactId>
100 <version>1.0-SNAPSHOT</version>
101 </dependency>
102 <dependency>
103 <groupId>eu.etaxonomy</groupId>
104 <artifactId>cdmlib-commons</artifactId>
105 <version>${cdmlib.version}</version>
106 </dependency>
107 <dependency>
108 <groupId>eu.etaxonomy</groupId>
109 <artifactId>cdmlib-model</artifactId>
110 <version>${cdmlib.version}</version>
111 </dependency>
112 <dependency>
113 <groupId>eu.etaxonomy</groupId>
114 <artifactId>cdmlib-persistence</artifactId>
115 <version>${cdmlib.version}</version>
116 </dependency>
117 <dependency>
118 <groupId>eu.etaxonomy</groupId>
119 <artifactId>cdmlib-remote</artifactId>
120 <version>${cdmlib.version}</version>
121 </dependency>
122 <dependency>
123 <groupId>eu.etaxonomy</groupId>
124 <artifactId>cdmlib-print</artifactId>
125 <version>${cdmlib.version}</version>
126 </dependency>
127 <dependency>
128 <groupId>eu.etaxonomy</groupId>
129 <artifactId>cdmlib-services</artifactId>
130 <version>${cdmlib.version}</version>
131 </dependency>
132 <dependency>
133 <groupId>eu.etaxonomy</groupId>
134 <artifactId>cdmlib-io</artifactId>
135 <version>${cdmlib.version}</version>
136 </dependency>
137 <dependency>
138 <groupId>eu.etaxonomy</groupId>
139 <artifactId>cdmlib-ext</artifactId>
140 <version>${cdmlib.version}</version>
141 </dependency>
142 <dependency>
143 <groupId>org.aspectj</groupId>
144 <artifactId>aspectjrt</artifactId>
145 <version>1.7.1</version>
146 </dependency>
147 <dependency>
148 <groupId>org.aspectj</groupId>
149 <artifactId>aspectjweaver</artifactId>
150 <version>1.7.1</version>
151 </dependency>
152
153 <!-- for ikey-plus
154 TODO this should not be needed but the utils class contained in this jar
155 seems to be loaded as bean by spring
156 -->
157 </dependencies>
158 </project>