Project

General

Profile

Download (13.9 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.17.0-SNAPSHOT</version>
8
  </parent>
9
  <modelVersion>4.0.0</modelVersion>
10
  <artifactId>eu.etaxonomy.taxeditor.cdmlib</artifactId>
11
  <packaging>eclipse-plugin</packaging>
12
  <name>CDM Library Dependencies Plugin</name>
13
  <description>CDM Library and dependencies 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-dependencies</id>
32
            <phase>validate</phase>
33
            <goals>
34
              <goal>copy-dependencies</goal>
35
            </goals>
36
            <configuration>
37
              <excludeArtifactIds>
38
                cdmlib-remote-webapp
39
              </excludeArtifactIds>
40
              <includeArtifactIds>
41
                cdmlib-commons,cdmlib-model,cdmlib-persistence,cdmlib-services,cdmlib-cache,cdmlib-ext,cdmlib-io,cdmlib-remote,cdmlib-print
42
              </includeArtifactIds>
43
              <outputDirectory>${basedir}/lib</outputDirectory>
44
              <overWriteReleases>true</overWriteReleases>
45
              <overWriteSnapshots>true</overWriteSnapshots>
46
              <excludeTransitive>true</excludeTransitive>
47
            </configuration>
48
          </execution>
49
          <execution>
50
            <id>copy-dependency-jars</id>
51
            <phase>validate</phase>
52
            <goals>
53
              <goal>copy-dependencies</goal>
54
            </goals>
55
            <configuration>
56
              <includeArtifactIds>
57
                httpclient,JavaAPIforKml,iiif-apis,commons-beanutils,commons-lang3,commons-codec,commons-imaging
58
              </includeArtifactIds>
59
              <outputDirectory>
60
                ${basedir}/lib
61
              </outputDirectory>
62
              <overWriteReleases>true</overWriteReleases>
63
              <overWriteSnapshots>true</overWriteSnapshots>
64
              <excludeTransitive>true</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
                httpclient-cache,httpcore,httpmime
76
<!--                 c3p0,mchange-commons-java,h2,postgresql,mysql-connector-java,jdbc4 -->
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>Update cdmlib jars to SNAPSHOT when build with
101
                  timestamp
102
                </echo>
103
                <move todir="./lib">
104
                  <fileset dir="./lib" />
105
                  <mapper type="regexp"
106
                    from="(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\.jar)"
107
                    to="\1SNAPSHOT\2" />
108
                </move>
109
                <move todir="./lib">
110
                  <fileset dir="./lib" />
111
                  <mapper type="regexp"
112
                    from="(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\-sources\.jar)"
113
                    to="\1SNAPSHOT\2" />
114
                </move>
115
              </target>
116
            </configuration>
117
          </execution>
118
          <execution>
119
            <id>remove-existing-jars</id>
120
            <phase>clean</phase>
121
            <goals>
122
              <goal>run</goal>
123
            </goals>
124
            <configuration>
125
              <target>
126
                <echo>Remove all cdmlib jars</echo>
127
                <delete>
128
                  <fileset dir="./lib" includes="cdmlib-*" />
129
                </delete>
130
              </target>
131
            </configuration>
132
          </execution>
133
        </executions>
134
      </plugin>
135
    </plugins>
136
  </build>
137
  <profiles>
138
    <profile>
139
      <id>copyAllJars</id>
140
      <build>
141
        <plugins>
142
          <plugin>
143
            <groupId>org.apache.maven.plugins</groupId>
144
            <artifactId>maven-dependency-plugin</artifactId>
145
            <version>2.4</version>
146
            <executions>
147
              <execution>
148
                <id>copy-all-dependencies</id>
149
                <phase>validate</phase>
150
                <goals>
151
                  <goal>copy-dependencies</goal>
152
                </goals>
153
                <configuration>
154
                  <excludeArtifactIds>
155
                    cdmlib-remote-webapp
156
                  </excludeArtifactIds>
157
                  <outputDirectory>${basedir}/lib</outputDirectory>
158
                  <overWriteReleases>true</overWriteReleases>
159
                  <overWriteSnapshots>true</overWriteSnapshots>
160
                  <excludeTransitive>true</excludeTransitive>
161
                </configuration>
162
              </execution>
163
            </executions>
164
          </plugin>
165
        </plugins>
166
      </build>
167
    </profile>
168
  </profiles>
169
  <repositories>
170
    <repository>
171
      <id>SpringSource Enterprise Bundle Repository - External Bundle
172
        Milestones
173
      </id>
174
      <url>http://repository.springsource.com/maven/bundles/milestone
175
      </url>
176
    </repository>
177
    <repository>
178
      <id>SpringSource Enterprise Bundle Repository - SpringSource
179
        Bundle
180
        Releases
181
      </id>
182
      <url>http://repository.springsource.com/maven/bundles/release
183
      </url>
184
    </repository>
185
    <repository>
186
      <id>SpringSource Enterprise Bundle Repository - External Bundle
187
        Releases
188
      </id>
189
      <url>http://repository.springsource.com/maven/bundles/external
190
      </url>
191
    </repository>
192
	 <repository>
193
        <id>repository.springsource.release</id>
194
        <name>SpringSource GA Repository</name>
195
        <url>http://repo.springsource.org/release</url>
196
    </repository>
197
  </repositories>
198
  <dependencies>
199
    <dependency>
200
      <groupId>eu.etaxonomy</groupId>
201
      <artifactId>cdmlib-commons</artifactId>
202
      <version>${cdmlib.version}</version>
203
    </dependency>
204
    <dependency>
205
      <groupId>eu.etaxonomy</groupId>
206
      <artifactId>cdmlib-model</artifactId>
207
      <version>${cdmlib.version}</version>
208
    </dependency>
209
    <dependency>
210
      <groupId>eu.etaxonomy</groupId>
211
      <artifactId>cdmlib-persistence</artifactId>
212
      <version>${cdmlib.version}</version>
213
    </dependency>
214
    <dependency>
215
      <groupId>eu.etaxonomy</groupId>
216
      <artifactId>cdmlib-remote</artifactId>
217
      <version>${cdmlib.version}</version>
218
    </dependency>
219
    <dependency>
220
      <groupId>eu.etaxonomy</groupId>
221
      <artifactId>cdmlib-print</artifactId>
222
      <version>${cdmlib.version}</version>
223
    </dependency>
224
    <dependency>
225
      <groupId>eu.etaxonomy</groupId>
226
      <artifactId>cdmlib-services</artifactId>
227
      <version>${cdmlib.version}</version>
228
    </dependency>
229
    <dependency>
230
      <groupId>eu.etaxonomy</groupId>
231
      <artifactId>cdmlib-io</artifactId>
232
      <version>${cdmlib.version}</version>
233
    </dependency>
234
    <dependency>
235
      <groupId>eu.etaxonomy</groupId>
236
      <artifactId>cdmlib-ext</artifactId>
237
      <version>${cdmlib.version}</version>
238
    </dependency>
239
    <dependency>
240
      <groupId>eu.etaxonomy</groupId>
241
      <artifactId>cdmlib-cache</artifactId>
242
      <version>${cdmlib.version}</version>
243
    </dependency>
244
    <dependency>
245
      <groupId>dom4j</groupId>
246
      <artifactId>dom4j</artifactId>
247
      <version>1.6</version>
248
    </dependency>
249
    <dependency>
250
      <groupId>log4j</groupId>
251
      <artifactId>log4j</artifactId>
252
      <version>1.2.17</version>
253
    </dependency>
254
    <dependency>
255
      <groupId>org.jdom</groupId>
256
      <artifactId>jdom</artifactId>
257
      <version>1.1.3</version>
258
    </dependency>
259
    <dependency>
260
      <groupId>org.springframework</groupId>
261
      <artifactId>spring-context</artifactId>
262
      <version>4.2.4.RELEASE</version>
263
    </dependency>
264
    <dependency>
265
      <groupId>org.springframework</groupId>
266
      <artifactId>spring-context-support</artifactId>
267
      <version>4.2.4.RELEASE</version>
268
    </dependency>
269
    <dependency>
270
      <groupId>org.springframework</groupId>
271
      <artifactId>spring-aspects</artifactId>
272
      <version>4.2.4.RELEASE</version>
273
    </dependency>
274
    <dependency>
275
      <groupId>org.springframework</groupId>
276
      <artifactId>spring-test</artifactId>
277
      <version>4.2.4.RELEASE</version>
278
    </dependency>
279
    <dependency>
280
      <groupId>org.springframework</groupId>
281
      <artifactId>spring-beans</artifactId>
282
      <version>4.2.4.RELEASE</version>
283
    </dependency>
284
    <dependency>
285
      <groupId>org.springframework</groupId>
286
      <artifactId>spring-tx</artifactId>
287
      <version>4.2.4.RELEASE</version>
288
    </dependency>
289
    <dependency>
290
		<groupId>org.springframework</groupId>
291
		<artifactId>spring-web</artifactId>
292
		<version>4.2.4.RELEASE</version>
293
	</dependency>
294
    <dependency>
295
      <groupId>org.springframework</groupId>
296
      <artifactId>spring-core</artifactId>
297
      <version>4.2.4.RELEASE</version>
298
    </dependency>
299
    <dependency>
300
      <groupId>org.springframework</groupId>
301
      <artifactId>spring-aop</artifactId>
302
      <version>4.2.4.RELEASE</version>
303
    </dependency>
304
    <dependency>
305
		<groupId>org.springframework</groupId>
306
		<artifactId>spring-expression</artifactId>
307
		<version>4.2.4.RELEASE</version>
308
	</dependency>
309
   <dependency>
310
		<groupId>org.springframework</groupId>
311
		<artifactId>spring-orm</artifactId>
312
		<version>4.2.4.RELEASE</version>
313
	</dependency>
314
    <dependency>
315
		<groupId>org.springframework</groupId>
316
		<artifactId>spring-jdbc</artifactId>
317
		<version>4.2.4.RELEASE</version>
318
	</dependency>
319
    <dependency>
320
      <groupId>org.springframework.security</groupId>
321
      <artifactId>spring-security-core</artifactId>
322
      <version>4.0.3.RELEASE</version>
323
    </dependency>
324
    <dependency>
325
      <groupId>org.springframework.security</groupId>
326
      <artifactId>spring-security-config</artifactId>
327
      <version>4.0.3.RELEASE</version>
328
    </dependency>
329
    <dependency>
330
      <groupId>org.springframework.security</groupId>
331
      <artifactId>spring-security-remoting</artifactId>
332
      <version>4.0.3.RELEASE</version>
333
    </dependency>
334
    <dependency>
335
      <groupId>commons-lang</groupId>
336
      <artifactId>commons-lang</artifactId>
337
      <version>2.6</version>
338
    </dependency>
339
    <dependency>
340
        <groupId>commons-beanutils</groupId>
341
        <artifactId>commons-beanutils</artifactId>
342
        <version>1.9.4</version>
343
    </dependency>
344
    <dependency>
345
        <groupId>org.apache.commons</groupId>
346
        <artifactId>commons-imaging</artifactId>
347
        <version>1.0-alpha1</version>
348
      </dependency>
349
    <dependency>
350
      <groupId>au.com.bytecode</groupId>
351
      <artifactId>opencsv</artifactId>
352
      <version>2.4</version>
353
    </dependency>
354

    
355
    <dependency>
356
      <groupId>org.apache.httpcomponents</groupId>
357
      <artifactId>httpclient</artifactId>
358
    </dependency>
359

    
360
    <dependency>
361
        <groupId>org.apache.commons</groupId>
362
        <artifactId>commons-lang3</artifactId>
363
        <version>3.10</version>
364
    </dependency>
365
    <dependency>
366
    	<!-- used in AuthenticatingHttpInvokerRequestExecutor -->
367
        <groupId>commons-codec</groupId>
368
        <artifactId>commons-codec</artifactId>
369
        <version>1.14</version>
370
    </dependency>
371

    
372
    <!-- For Unit Tests Start -->
373
	<!-- still needed? -->
374

    
375
    <dependency>
376
      <groupId>commons-dbcp</groupId>
377
      <artifactId>commons-dbcp</artifactId>
378
      <version>1.4</version>
379
    </dependency>
380
    <dependency>
381
      <groupId>commons-pool</groupId>
382
      <artifactId>commons-pool</artifactId>
383
      <version>1.5.4</version>
384
    </dependency>
385
 
386
    <!-- For Unit Tests End -->
387

    
388
    <!-- For Hibernate Mapping Start -->
389
    <dependency>
390
      <groupId>wsdl4j</groupId>
391
      <artifactId>wsdl4j</artifactId>
392
      <version>1.6.3</version>
393
    </dependency>
394
    <dependency>
395
      <groupId>javax.validation</groupId>
396
      <artifactId>validation-api</artifactId>
397
      <version>1.1.0.Final</version>
398
    </dependency>
399
    <!-- For Hibernate Mapping End -->
400
    
401
    <!-- KML/IIIF dependencies should not bee needed for the taxeditor, but at current the KMLDocumentBuilder 
402
         is used in the EditGeoService bean which is needed to display the distribution maps in the editor.
403
     -->
404
     <dependency>
405
        <groupId>de.micromata.jak</groupId>
406
        <artifactId>JavaAPIforKml</artifactId>
407
        <version>2.2.1</version><!-- must be same version as in cdmlib -->
408
    </dependency>
409
    <dependency>
410
        <groupId>de.digitalcollections.iiif</groupId>
411
        <artifactId>iiif-apis</artifactId>
412
        <version>0.3.7</version>
413
    </dependency>
414
  </dependencies>
415
</project>
416

    
(5-5/5)