Project

General

Profile

Download (5.26 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" 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.5.1-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"
84
			  from="(^cdmlib\-.*\-[0-9]\.[0-9]\.[0-9]\-)[0-9.-]+(\.jar)" to="\1SNAPSHOT\2" />
85
		</move>				  
86
		<move todir="./lib">
87
		  <fileset dir="./lib" />
88
		  <mapper type="regexp"
89
			  from="(^cdmlib\-.*\-[0-9]\.[0-9]\.[0-9]\-)[0-9.-]+(\-sources\.jar)" to="\1SNAPSHOT\2" />
90
		</move>				  
91
	      </target>	
92
	    </configuration>
93
	  </execution>
94
	</executions>
95
      </plugin>
96
    </plugins>
97
  </build>
98
  <dependencies>
99
    <dependency>
100
      <groupId>identificationKeyAPI</groupId>
101
      <artifactId>identificationKeyAPI</artifactId>
102
      <version>1.0-SNAPSHOT</version>
103
    </dependency>
104
    <dependency>
105
      <groupId>eu.etaxonomy</groupId>
106
      <artifactId>cdmlib-commons</artifactId>
107
      <version>${cdmlib.version}</version>
108
    </dependency>
109
    <dependency>
110
      <groupId>eu.etaxonomy</groupId>
111
      <artifactId>cdmlib-model</artifactId>
112
      <version>${cdmlib.version}</version>
113
    </dependency>
114
    <dependency>
115
      <groupId>eu.etaxonomy</groupId>
116
      <artifactId>cdmlib-persistence</artifactId>
117
      <version>${cdmlib.version}</version>
118
    </dependency>
119
    <dependency>
120
      <groupId>eu.etaxonomy</groupId>
121
      <artifactId>cdmlib-remote</artifactId>
122
      <version>${cdmlib.version}</version>
123
    </dependency>
124
    <dependency>
125
      <groupId>eu.etaxonomy</groupId>
126
      <artifactId>cdmlib-print</artifactId>
127
      <version>${cdmlib.version}</version>
128
    </dependency>
129
    <dependency>
130
      <groupId>eu.etaxonomy</groupId>
131
      <artifactId>cdmlib-services</artifactId>
132
      <version>${cdmlib.version}</version>
133
    </dependency>
134
    <dependency>
135
      <groupId>eu.etaxonomy</groupId>
136
      <artifactId>cdmlib-io</artifactId>
137
      <version>${cdmlib.version}</version>
138
    </dependency>
139
    <dependency>
140
      <groupId>eu.etaxonomy</groupId>
141
      <artifactId>cdmlib-ext</artifactId>
142
      <version>${cdmlib.version}</version>
143
    </dependency>
144
   	<dependency>
145
      <groupId>org.aspectj</groupId>
146
      <artifactId>aspectjrt</artifactId>
147
	  <version>1.7.1</version>
148
	</dependency>
149
	  <dependency>
150
	  <groupId>org.aspectj</groupId>
151
	  <artifactId>aspectjweaver</artifactId>
152
	  <version>1.7.1</version>
153
	 </dependency>
154
	 
155
    <!--  for ikey-plus 
156
	 TODO this should not be needed but the utils class contained  in this jar 
157
	 seems to be loaded as bean by spring
158
    -->
159
  </dependencies>
160
</project>
(5-5/5)