Project

General

Profile

Download (15.2 KB) Statistics
| Branch: | Tag: | Revision:
1 999d37c4 Cherian Mathew
<?xml version="1.0" encoding="UTF-8"?>
2 9e671498 Cherian Mathew
<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 999d37c4 Cherian Mathew
  <parent>
5
    <groupId>eu.etaxonomy</groupId>
6
    <artifactId>taxeditor-parent</artifactId>
7 38b8028b jenkins
    <version>5.18.0-SNAPSHOT</version>
8 999d37c4 Cherian Mathew
  </parent>
9
  <modelVersion>4.0.0</modelVersion>
10
  <artifactId>eu.etaxonomy.taxeditor.cdmlib</artifactId>
11
  <packaging>eclipse-plugin</packaging>
12 765bd4c4 Andreas Müller
  <properties>
13
      <jackson.version>2.11.2</jackson.version>           <!-- checked 2020-08 -->
14
  </properties>
15 999d37c4 Cherian Mathew
  <name>CDM Library Dependencies Plugin</name>
16 ad69c198 Cherian Mathew
  <description>CDM Library and dependencies as a plugin</description>
17 c7ce2226 Cherian Mathew
  <build>
18
    <pluginManagement>
19
      <plugins>
20
        <plugin>
21
          <groupId>org.apache.maven.plugins</groupId>
22
          <artifactId>maven-surefire-plugin</artifactId>
23
          <version>2.7</version>
24
        </plugin>
25
      </plugins>
26
    </pluginManagement>
27 999d37c4 Cherian Mathew
    <plugins>
28
      <plugin>
29 c7ce2226 Cherian Mathew
        <groupId>org.apache.maven.plugins</groupId>
30
        <artifactId>maven-dependency-plugin</artifactId>
31
        <version>2.4</version>
32
        <executions>
33
          <execution>
34
            <id>copy-dependencies</id>
35
            <phase>validate</phase>
36
            <goals>
37
              <goal>copy-dependencies</goal>
38
            </goals>
39
            <configuration>
40
              <excludeArtifactIds>
41
                cdmlib-remote-webapp
42
              </excludeArtifactIds>
43
              <includeArtifactIds>
44 e6ec6b67 Andreas Müller
                cdmlib-commons,cdmlib-model,cdmlib-persistence,cdmlib-services,cdmlib-cache,cdmlib-ext,cdmlib-io,cdmlib-remote,cdmlib-print
45 c7ce2226 Cherian Mathew
              </includeArtifactIds>
46
              <outputDirectory>${basedir}/lib</outputDirectory>
47
              <overWriteReleases>true</overWriteReleases>
48
              <overWriteSnapshots>true</overWriteSnapshots>
49
              <excludeTransitive>true</excludeTransitive>
50
            </configuration>
51
          </execution>
52 c1ad99d9 Andreas Kohlbecker
          <execution>
53
            <id>copy-dependency-jars</id>
54
            <phase>validate</phase>
55
            <goals>
56
              <goal>copy-dependencies</goal>
57
            </goals>
58
            <configuration>
59
              <includeArtifactIds>
60 765bd4c4 Andreas Müller
                httpclient,JavaAPIforKml,iiif-apis,commons-beanutils,commons-lang3,commons-codec,
61
                commons-imaging,h2,jackson-databind,jackson-annotations,jackson-core
62 c1ad99d9 Andreas Kohlbecker
              </includeArtifactIds>
63
              <outputDirectory>
64
                ${basedir}/lib
65
              </outputDirectory>
66
              <overWriteReleases>true</overWriteReleases>
67
              <overWriteSnapshots>true</overWriteSnapshots>
68
              <excludeTransitive>true</excludeTransitive>
69
            </configuration>
70
          </execution>
71
          <execution>
72
            <id>copy-dependency-jars-transitive</id>
73
            <phase>validate</phase>
74
            <goals>
75
              <goal>copy-dependencies</goal>
76
            </goals>
77
            <configuration>
78
              <includeArtifactIds>
79 f52bec28 Andreas Müller
                httpclient-cache,httpcore,httpmime,xercesImpl
80 dd789975 Andreas Müller
<!--                 c3p0,mchange-commons-java,h2,postgresql,mysql-connector-java,jdbc4 -->
81 c1ad99d9 Andreas Kohlbecker
              </includeArtifactIds>
82
              <outputDirectory>
83
                ${basedir}/lib
84
              </outputDirectory>
85
              <overWriteReleases>true</overWriteReleases>
86
              <overWriteSnapshots>true</overWriteSnapshots>
87
              <excludeTransitive>false</excludeTransitive>
88
            </configuration>
89
          </execution>
90 999d37c4 Cherian Mathew
        </executions>
91 c7ce2226 Cherian Mathew
      </plugin>
92
      <plugin>
93
        <groupId>org.apache.maven.plugins</groupId>
94
        <artifactId>maven-antrun-plugin</artifactId>
95
        <executions>
96
          <execution>
97
            <id>update-snapshot-jar-names</id>
98
            <phase>validate</phase>
99
            <goals>
100
              <goal>run</goal>
101
            </goals>
102
            <configuration>
103
              <target>
104
                <echo>Update cdmlib jars to SNAPSHOT when build with
105
                  timestamp
106
                </echo>
107
                <move todir="./lib">
108
                  <fileset dir="./lib" />
109
                  <mapper type="regexp"
110 9d170601 Cherian Mathew
                    from="(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\.jar)"
111 c7ce2226 Cherian Mathew
                    to="\1SNAPSHOT\2" />
112
                </move>
113
                <move todir="./lib">
114
                  <fileset dir="./lib" />
115
                  <mapper type="regexp"
116 9d170601 Cherian Mathew
                    from="(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\-sources\.jar)"
117 9e671498 Cherian Mathew
                    to="\1SNAPSHOT\2" />
118 1cd65199 Cherian Mathew
                </move>
119 c7ce2226 Cherian Mathew
              </target>
120
            </configuration>
121
          </execution>
122 9e671498 Cherian Mathew
          <execution>
123
            <id>remove-existing-jars</id>
124
            <phase>clean</phase>
125
            <goals>
126
              <goal>run</goal>
127
            </goals>
128
            <configuration>
129
              <target>
130
                <echo>Remove all cdmlib jars</echo>
131
                <delete>
132
                  <fileset dir="./lib" includes="cdmlib-*" />
133
                </delete>
134
              </target>
135
            </configuration>
136
          </execution>
137 c7ce2226 Cherian Mathew
        </executions>
138
      </plugin>
139
    </plugins>
140
  </build>
141
  <profiles>
142
    <profile>
143
      <id>copyAllJars</id>
144
      <build>
145
        <plugins>
146
          <plugin>
147
            <groupId>org.apache.maven.plugins</groupId>
148
            <artifactId>maven-dependency-plugin</artifactId>
149
            <version>2.4</version>
150
            <executions>
151
              <execution>
152
                <id>copy-all-dependencies</id>
153
                <phase>validate</phase>
154
                <goals>
155
                  <goal>copy-dependencies</goal>
156
                </goals>
157
                <configuration>
158
                  <excludeArtifactIds>
159
                    cdmlib-remote-webapp
160
                  </excludeArtifactIds>
161
                  <outputDirectory>${basedir}/lib</outputDirectory>
162
                  <overWriteReleases>true</overWriteReleases>
163
                  <overWriteSnapshots>true</overWriteSnapshots>
164
                  <excludeTransitive>true</excludeTransitive>
165
                </configuration>
166
              </execution>
167
            </executions>
168
          </plugin>
169
        </plugins>
170
      </build>
171
    </profile>
172
  </profiles>
173
  <repositories>
174
    <repository>
175
      <id>SpringSource Enterprise Bundle Repository - External Bundle
176
        Milestones
177
      </id>
178
      <url>http://repository.springsource.com/maven/bundles/milestone
179
      </url>
180
    </repository>
181
    <repository>
182
      <id>SpringSource Enterprise Bundle Repository - SpringSource
183
        Bundle
184
        Releases
185
      </id>
186
      <url>http://repository.springsource.com/maven/bundles/release
187
      </url>
188
    </repository>
189
    <repository>
190
      <id>SpringSource Enterprise Bundle Repository - External Bundle
191
        Releases
192
      </id>
193
      <url>http://repository.springsource.com/maven/bundles/external
194
      </url>
195 a3e7482e Katja Luther
    </repository>
196
	 <repository>
197
        <id>repository.springsource.release</id>
198
        <name>SpringSource GA Repository</name>
199
        <url>http://repo.springsource.org/release</url>
200 c7ce2226 Cherian Mathew
    </repository>
201
  </repositories>
202
  <dependencies>
203 d5948f17 Cherian Mathew
    <dependency>
204
      <groupId>eu.etaxonomy</groupId>
205
      <artifactId>cdmlib-commons</artifactId>
206
      <version>${cdmlib.version}</version>
207
    </dependency>
208
    <dependency>
209
      <groupId>eu.etaxonomy</groupId>
210
      <artifactId>cdmlib-model</artifactId>
211
      <version>${cdmlib.version}</version>
212
    </dependency>
213
    <dependency>
214
      <groupId>eu.etaxonomy</groupId>
215
      <artifactId>cdmlib-persistence</artifactId>
216
      <version>${cdmlib.version}</version>
217
    </dependency>
218
    <dependency>
219
      <groupId>eu.etaxonomy</groupId>
220
      <artifactId>cdmlib-remote</artifactId>
221
      <version>${cdmlib.version}</version>
222
    </dependency>
223
    <dependency>
224
      <groupId>eu.etaxonomy</groupId>
225
      <artifactId>cdmlib-print</artifactId>
226
      <version>${cdmlib.version}</version>
227
    </dependency>
228
    <dependency>
229
      <groupId>eu.etaxonomy</groupId>
230
      <artifactId>cdmlib-services</artifactId>
231
      <version>${cdmlib.version}</version>
232
    </dependency>
233
    <dependency>
234
      <groupId>eu.etaxonomy</groupId>
235
      <artifactId>cdmlib-io</artifactId>
236
      <version>${cdmlib.version}</version>
237
    </dependency>
238
    <dependency>
239
      <groupId>eu.etaxonomy</groupId>
240
      <artifactId>cdmlib-ext</artifactId>
241
      <version>${cdmlib.version}</version>
242
    </dependency>
243 f4cc04f2 Katja Luther
    <dependency>
244
      <groupId>eu.etaxonomy</groupId>
245
      <artifactId>cdmlib-cache</artifactId>
246
      <version>${cdmlib.version}</version>
247
    </dependency>
248 c7ce2226 Cherian Mathew
    <dependency>
249
      <groupId>dom4j</groupId>
250
      <artifactId>dom4j</artifactId>
251
      <version>1.6</version>
252
    </dependency>
253
    <dependency>
254
      <groupId>log4j</groupId>
255
      <artifactId>log4j</artifactId>
256
      <version>1.2.17</version>
257
    </dependency>
258
    <dependency>
259
      <groupId>org.jdom</groupId>
260
      <artifactId>jdom</artifactId>
261
      <version>1.1.3</version>
262
    </dependency>
263
    <dependency>
264
      <groupId>org.springframework</groupId>
265 a3e7482e Katja Luther
      <artifactId>spring-context</artifactId>
266
      <version>4.2.4.RELEASE</version>
267 c7ce2226 Cherian Mathew
    </dependency>
268
    <dependency>
269
      <groupId>org.springframework</groupId>
270 a3e7482e Katja Luther
      <artifactId>spring-context-support</artifactId>
271
      <version>4.2.4.RELEASE</version>
272 c7ce2226 Cherian Mathew
    </dependency>
273
    <dependency>
274
      <groupId>org.springframework</groupId>
275 a3e7482e Katja Luther
      <artifactId>spring-aspects</artifactId>
276
      <version>4.2.4.RELEASE</version>
277 c7ce2226 Cherian Mathew
    </dependency>
278
    <dependency>
279
      <groupId>org.springframework</groupId>
280 a3e7482e Katja Luther
      <artifactId>spring-test</artifactId>
281
      <version>4.2.4.RELEASE</version>
282 c7ce2226 Cherian Mathew
    </dependency>
283
    <dependency>
284
      <groupId>org.springframework</groupId>
285 a3e7482e Katja Luther
      <artifactId>spring-beans</artifactId>
286
      <version>4.2.4.RELEASE</version>
287 c7ce2226 Cherian Mathew
    </dependency>
288
    <dependency>
289
      <groupId>org.springframework</groupId>
290 a3e7482e Katja Luther
      <artifactId>spring-tx</artifactId>
291
      <version>4.2.4.RELEASE</version>
292 c7ce2226 Cherian Mathew
    </dependency>
293
    <dependency>
294 a3e7482e Katja Luther
		<groupId>org.springframework</groupId>
295
		<artifactId>spring-web</artifactId>
296
		<version>4.2.4.RELEASE</version>
297
	</dependency>
298 c7ce2226 Cherian Mathew
    <dependency>
299
      <groupId>org.springframework</groupId>
300 a3e7482e Katja Luther
      <artifactId>spring-core</artifactId>
301
      <version>4.2.4.RELEASE</version>
302 c7ce2226 Cherian Mathew
    </dependency>
303
    <dependency>
304
      <groupId>org.springframework</groupId>
305 a3e7482e Katja Luther
      <artifactId>spring-aop</artifactId>
306
      <version>4.2.4.RELEASE</version>
307 c7ce2226 Cherian Mathew
    </dependency>
308
    <dependency>
309 a3e7482e Katja Luther
		<groupId>org.springframework</groupId>
310
		<artifactId>spring-expression</artifactId>
311
		<version>4.2.4.RELEASE</version>
312
	</dependency>
313
   <dependency>
314
		<groupId>org.springframework</groupId>
315
		<artifactId>spring-orm</artifactId>
316
		<version>4.2.4.RELEASE</version>
317
	</dependency>
318 c7ce2226 Cherian Mathew
    <dependency>
319 a3e7482e Katja Luther
		<groupId>org.springframework</groupId>
320
		<artifactId>spring-jdbc</artifactId>
321
		<version>4.2.4.RELEASE</version>
322
	</dependency>
323 c7ce2226 Cherian Mathew
    <dependency>
324
      <groupId>org.springframework.security</groupId>
325
      <artifactId>spring-security-core</artifactId>
326 a3e7482e Katja Luther
      <version>4.0.3.RELEASE</version>
327 c7ce2226 Cherian Mathew
    </dependency>
328
    <dependency>
329
      <groupId>org.springframework.security</groupId>
330
      <artifactId>spring-security-config</artifactId>
331 a3e7482e Katja Luther
      <version>4.0.3.RELEASE</version>
332 c7ce2226 Cherian Mathew
    </dependency>
333
    <dependency>
334
      <groupId>org.springframework.security</groupId>
335
      <artifactId>spring-security-remoting</artifactId>
336 a3e7482e Katja Luther
      <version>4.0.3.RELEASE</version>
337 c7ce2226 Cherian Mathew
    </dependency>
338
    <dependency>
339
      <groupId>commons-lang</groupId>
340
      <artifactId>commons-lang</artifactId>
341
      <version>2.6</version>
342
    </dependency>
343 6157a0af Andreas Kohlbecker
    <dependency>
344
        <groupId>commons-beanutils</groupId>
345
        <artifactId>commons-beanutils</artifactId>
346 ab8cbdf4 Andreas Kohlbecker
        <version>1.9.4</version>
347 6157a0af Andreas Kohlbecker
    </dependency>
348 0b4fe3ea Andreas Müller
    <dependency>
349
        <groupId>org.apache.commons</groupId>
350
        <artifactId>commons-imaging</artifactId>
351 2755bf6d Andreas Kohlbecker
        <version>1.0-alpha2</version>
352 0b4fe3ea Andreas Müller
      </dependency>
353 c7ce2226 Cherian Mathew
    <dependency>
354
      <groupId>au.com.bytecode</groupId>
355
      <artifactId>opencsv</artifactId>
356
      <version>2.4</version>
357
    </dependency>
358 80de230c Cherian Mathew
359 c1ad99d9 Andreas Kohlbecker
    <dependency>
360
      <groupId>org.apache.httpcomponents</groupId>
361
      <artifactId>httpclient</artifactId>
362
    </dependency>
363
364 3185cbdd Andreas Müller
    <dependency>
365
        <groupId>org.apache.commons</groupId>
366
        <artifactId>commons-lang3</artifactId>
367
        <version>3.10</version>
368
    </dependency>
369 ec5399c3 Andreas Müller
    
370
    <!-- jackson, not sure if really needed -->
371 765bd4c4 Andreas Müller
    <dependency>
372
        <groupId>com.fasterxml.jackson.core</groupId>
373
        <artifactId>jackson-databind</artifactId>
374
        <version>${jackson.version}</version>
375
    </dependency>
376
    <dependency>
377
        <groupId>com.fasterxml.jackson.core</groupId>
378
        <artifactId>jackson-core</artifactId>
379
        <version>${jackson.version}</version>
380
    </dependency>
381
    <dependency>
382
        <groupId>com.fasterxml.jackson.core</groupId>
383
        <artifactId>jackson-annotations</artifactId>
384
        <version>${jackson.version}</version>
385
    </dependency>
386
    
387 f52bec28 Andreas Müller
    <dependency>
388
        <!-- needed? -->
389
        <groupId>xerces</groupId>
390
        <artifactId>xercesImpl</artifactId>
391
        <version>2.12.0</version>
392
    </dependency>
393
    
394 3185cbdd Andreas Müller
    <dependency>
395
    	<!-- used in AuthenticatingHttpInvokerRequestExecutor -->
396
        <groupId>commons-codec</groupId>
397
        <artifactId>commons-codec</artifactId>
398
        <version>1.14</version>
399
    </dependency>
400
401 ea24519c Andreas Müller
    <!-- only for supporting test button in datasource dialogue, dialogue should be moved to taxeditor.webapp -->
402
	<dependency>
403
	    <groupId>com.h2database</groupId>
404
	    <artifactId>h2</artifactId>
405
	    <version>1.4.190</version>
406
	</dependency>
407
408 c7ce2226 Cherian Mathew
    <!-- For Unit Tests Start -->
409 ccc14670 Andreas Müller
	<!-- still needed? -->
410 1cd65199 Cherian Mathew
411 c7ce2226 Cherian Mathew
    <dependency>
412
      <groupId>commons-dbcp</groupId>
413
      <artifactId>commons-dbcp</artifactId>
414
      <version>1.4</version>
415
    </dependency>
416
    <dependency>
417
      <groupId>commons-pool</groupId>
418
      <artifactId>commons-pool</artifactId>
419
      <version>1.5.4</version>
420
    </dependency>
421 ccc14670 Andreas Müller
 
422 c7ce2226 Cherian Mathew
    <!-- For Unit Tests End -->
423 80de230c Cherian Mathew
424 c7ce2226 Cherian Mathew
    <!-- For Hibernate Mapping Start -->
425
    <dependency>
426
      <groupId>wsdl4j</groupId>
427
      <artifactId>wsdl4j</artifactId>
428
      <version>1.6.3</version>
429
    </dependency>
430
    <dependency>
431
      <groupId>javax.validation</groupId>
432
      <artifactId>validation-api</artifactId>
433
      <version>1.1.0.Final</version>
434
    </dependency>
435
    <!-- For Hibernate Mapping End -->
436 01a31d8a Andreas Kohlbecker
    
437 1a4699cd Andreas Kohlbecker
    <!-- KML/IIIF dependencies should not bee needed for the taxeditor, but at current the KMLDocumentBuilder 
438
         is used in the EditGeoService bean which is needed to display the distribution maps in the editor.
439
     -->
440
     <dependency>
441
        <groupId>de.micromata.jak</groupId>
442
        <artifactId>JavaAPIforKml</artifactId>
443
        <version>2.2.1</version><!-- must be same version as in cdmlib -->
444
    </dependency>
445
    <dependency>
446
        <groupId>de.digitalcollections.iiif</groupId>
447
        <artifactId>iiif-apis</artifactId>
448
        <version>0.3.7</version>
449
    </dependency>
450 999d37c4 Cherian Mathew
  </dependencies>
451
</project>
452 c84fdad1 Andreas Kohlbecker