ref #9359 update wagon-maven-plugin to latest version in taxeditor
[taxeditor.git] / 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 <modelVersion>4.0.0</modelVersion>
4 <prerequisites>
5 <maven>3.6.3</maven>
6 </prerequisites>
7 <groupId>eu.etaxonomy</groupId>
8 <artifactId>taxeditor-parent</artifactId>
9 <version>5.29.0-SNAPSHOT</version>
10 <name>EDIT Taxonomic Editor</name>
11 <description>The Taxonomic Editor for EDIT's platform for
12 cybertaxonomy
13 </description>
14 <url>https://cybertaxonomy.eu/taxeditor
15 </url>
16 <inceptionYear>2007</inceptionYear>
17 <packaging>pom</packaging>
18 <properties>
19 <java.codelevel>1.8</java.codelevel>
20 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21 <cdmlib.version>5.29.0-SNAPSHOT</cdmlib.version>
22 <!-- TODO can we use project.version ????? -->
23 <!-- Increasing tycho above 0.22.0 will fail for the macosx build because
24 for higher version numbers tycho needs to be build against Eclipse Mars or
25 higher -->
26 <tycho.version>1.0.0</tycho.version>
27 <taxeditor.version>5.29.0-SNAPSHOT</taxeditor.version>
28 <update.dir>snapshot</update.dir>
29 <log4j.version>1.2.17</log4j.version>
30 <httpcomponents.version>4.5.13</httpcomponents.version>
31 <jetty-version>9.4.26.v20200117</jetty-version>
32 <doclint>none</doclint> <!-- see according comment in cdmlib for possible finetuning -->
33 </properties>
34 <modules>
35 <module>eu.etaxonomy.taxeditor.cdmlib</module>
36 <module>eu.etaxonomy.taxeditor.workbench</module>
37 <module>eu.etaxonomy.taxeditor.store</module>
38 <module>eu.etaxonomy.taxeditor.navigation</module>
39 <module>eu.etaxonomy.taxeditor.editor</module>
40 <module>eu.etaxonomy.taxeditor.bulkeditor</module>
41 <module>eu.etaxonomy.taxeditor.printpublisher</module>
42 <module>eu.etaxonomy.taxeditor.help</module>
43 <module>eu.etaxonomy.taxeditor.molecular</module>
44 <module>eu.etaxonomy.taxeditor.molecular.lib</module>
45 <module>eu.etaxonomy.taxeditor.local</module>
46 <module>eu.etaxonomy.taxeditor.application</module>
47 <module>eu.etaxonomy.taxeditor.feature.platform</module>
48 <module>eu.etaxonomy.taxeditor.feature</module>
49 <module>eu.etaxonomy.taxeditor</module>
50 <!--
51 By now tests come after the product build!
52
53 The original reason for this is unclear, but
54 momentarily the test ProgressMonitorServiceTest.testMonitLongRunningMethodWithException()
55 frequently fails for unknown reasons and would block building the products.
56 -->
57 <module>eu.etaxonomy.taxeditor.test</module>
58 </modules>
59 <scm>
60 <connection>scm:git:https://dev.e-taxonomy.eu/git/taxeditor.git
61 </connection>
62 <developerConnection>scm:git:ssh://git@dev.e-taxonomy.eu/var/git/taxeditor.git
63 </developerConnection>
64 <url>https://dev.e-taxonomy.eu/gitweb/taxeditor.git/tree</url>
65 </scm>
66 <mailingLists>
67 <mailingList>
68 <name>EDIT Taxonomic Editor</name>
69 <subscribe>
70 edit-taxonomic-editor+subscribe@googlegroups.com
71 </subscribe>
72 <unsubscribe>
73 edit-taxonomic-editor+unsubscribe@googlegroups.com
74 </unsubscribe>
75 <post>edit-taxonomic-editor@googlegroups.com</post>
76 <archive>http://groups.google.com/group/edit-taxonomic-editor/topics
77 </archive>
78 </mailingList>
79 </mailingLists>
80 <licenses>
81 <license>
82 <name>Mozilla Public License Version 1.1</name>
83 <url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
84 <distribution>repo</distribution>
85 </license>
86 </licenses>
87 <developers>
88 <developer>
89 <!-- your SVN account id please! -->
90 <id>a.kohlbecker</id>
91 <name>Andreas Kohlbecker</name>
92 <email>a.kohlbecker [at] bgbm.org</email>
93 <organization>Botanical Garden Botanical Museum Berlin</organization>
94 <organizationUrl>https://www.bgbm.org/en/biodiversity-informatics</organizationUrl>
95 <timezone>+1</timezone>
96 <roles>
97 <role>Architect</role>
98 <role>Java Developer</role>
99 <role>Release Manager</role>
100 </roles>
101 <url/>
102 </developer>
103 <developer>
104 <!-- your SVN account id please! -->
105 <id>k.luther</id>
106 <name>Katja Luther</name>
107 <email>k.luther [at] bgbm.org</email>
108 <organization>Botanical Garden Botanical Museum Berlin</organization>
109 <organizationUrl>https://www.bgbm.org/en/biodiversity-informatics</organizationUrl>
110 <timezone>+1</timezone>
111 <roles>
112 <role>Java Developer</role>
113 </roles>
114 <url/>
115 </developer>
116 <developer>
117 <!-- your SVN account id please! -->
118 <id>a.mueller</id>
119 <name>Andreas Müller</name>
120 <email>a.mueller [at] bgbm.org</email>
121 <organization>Botanical Garden Botanical Museum Berlin</organization>
122 <organizationUrl>https://www.bgbm.org/en/biodiversity-informatics</organizationUrl>
123 <timezone>+1</timezone>
124 <roles>
125 <role>Architect</role>
126 <role>Java Developer</role>
127 <role>Release Manager</role>
128 </roles>
129 <url/>
130 </developer>
131 </developers>
132 <issueManagement>
133 <system>Redmine</system>
134 <url>https://dev.e-taxonomy.eu/redmine/projects/edit/</url>
135 </issueManagement>
136 <ciManagement>
137 <system>Jenkins</system>
138 <url>https://int.e-taxonomy.eu/jenkins/view/EDIT%20Taxonomic%20Editor/
139 </url>
140 </ciManagement>
141 <!-- **** REPOSITORIES **** -->
142 <profiles>
143 <profile>
144 <id>local-repository</id>
145 <activation>
146 <property>
147 <name>localrepo</name>
148 </property>
149 </activation>
150 <repositories>
151 <repository>
152 <id>EditLocalRepository</id>
153 <url>file://${localrepo}/eu/etaxonomy/</url>
154 <releases>
155 <enabled>false</enabled>
156 <updatePolicy>always</updatePolicy>
157 </releases>
158 <snapshots>
159 <enabled>true</enabled>
160 <updatePolicy>always</updatePolicy>
161 </snapshots>
162 </repository>
163 </repositories>
164 </profile>
165 </profiles>
166 <repositories>
167 <!-- the cdm internal repository -->
168 <repository>
169 <id>EditRepository</id>
170 <url>https://cybertaxonomy.eu/mavenrepo/</url>
171 </repository>
172 <repository>
173 <id>eclipse-indigo</id>
174 <layout>p2</layout>
175 <url>http://download.eclipse.org/technology/swtbot/snapshots/</url>
176 </repository>
177 <repository>
178 <id>eclipse-nebula</id>
179 <layout>p2</layout>
180 <url>http://download.eclipse.org/nebula/releases/latest</url>
181 </repository>
182 <repository>
183 <id>nattable</id>
184 <layout>p2</layout>
185 <url>http://download.eclipse.org/nattable/releases/1.5.0/repository/</url>
186 </repository>
187 <repository>
188 <id>eclipse-neon</id>
189 <layout>p2</layout>
190 <url>http://download.eclipse.org/releases/neon/</url>
191 </repository>
192 </repositories>
193 <pluginRepositories>
194 <pluginRepository>
195 <!-- required for the plugin dependency cdmlib-db of the jetty-maven-plugin -->
196 <id>EditRepository</id>
197 <url>https://cybertaxonomy.eu/mavenrepo/</url>
198 </pluginRepository>
199 </pluginRepositories>
200 <build>
201 <plugins>
202 <plugin>
203 <groupId>org.eclipse.tycho</groupId>
204 <artifactId>tycho-maven-plugin</artifactId>
205 <version>${tycho.version}</version>
206 <extensions>true</extensions>
207 </plugin>
208 <plugin>
209 <groupId>org.eclipse.tycho</groupId>
210 <artifactId>tycho-packaging-plugin</artifactId>
211 <version>${tycho.version}</version>
212 <configuration>
213 <strictVersions>true</strictVersions>
214 </configuration>
215 </plugin>
216 <plugin>
217 <groupId>org.eclipse.tycho</groupId>
218 <artifactId>tycho-p2-repository-plugin</artifactId>
219 <version>${tycho.version}</version>
220 <configuration>
221 <includeAllDependencies>true</includeAllDependencies>
222 </configuration>
223 </plugin>
224 <plugin>
225 <groupId>org.eclipse.tycho</groupId>
226 <artifactId>target-platform-configuration</artifactId>
227 <version>${tycho.version}</version>
228 <configuration>
229 <environments>
230 <environment>
231 <os>macosx</os>
232 <ws>cocoa</ws>
233 <arch>x86_64</arch>
234 </environment>
235 <environment>
236 <os>win32</os>
237 <ws>win32</ws>
238 <arch>x86</arch>
239 </environment>
240 <environment>
241 <os>win32</os>
242 <ws>win32</ws>
243 <arch>x86_64</arch>
244 </environment>
245 <environment>
246 <os>linux</os>
247 <ws>gtk</ws>
248 <arch>x86</arch>
249 </environment>
250 <environment>
251 <os>linux</os>
252 <ws>gtk</ws>
253 <arch>x86_64</arch>
254 </environment>
255 </environments>
256 </configuration>
257 </plugin>
258 <plugin>
259 <groupId>org.apache.maven.plugins</groupId>
260 <artifactId>maven-compiler-plugin</artifactId>
261 <version>3.9.0</version>
262 <configuration>
263 <source>${java.codelevel}</source>
264 <target>${java.codelevel}</target>
265 </configuration>
266 </plugin>
267 <plugin>
268 <groupId>org.codehaus.mojo</groupId>
269 <artifactId>wagon-maven-plugin</artifactId>
270 <version>2.0.2</version>
271 <configuration>
272 <url>scpexe://cybertaxonomy.eu</url>
273 <serverId>cybertaxonomy.eu</serverId>
274 </configuration>
275 <executions>
276 <execution>
277 <id>upload-reference-documentation</id>
278 <phase>site-deploy</phase>
279 <goals>
280 <goal>upload</goal>
281 </goals>
282 </execution>
283 </executions>
284 </plugin>
285 <plugin>
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-surefire-plugin</artifactId>
288 <version>2.6</version>
289 <configuration>
290 <includes>
291 <include>**/*Test.java</include>
292 </includes>
293 <systemPropertyVariables>
294 <property>
295 <name>hibernate.connection.driver_class</name>
296 <value>${hibernate.connection.driver_class}</value>
297 </property>
298 <property>
299 <name>hibernate.connection.url</name>
300 <value>${hibernate.connection.url}</value>
301 </property>
302 <property>
303 <name>hibernate.connection.username</name>
304 <value>${hibernate.connection.username}</value>
305 </property>
306 <property>
307 <name>hibernate.connection.password</name>
308 <value>${hibernate.connection.password}</value>
309 </property>
310 </systemPropertyVariables>
311 </configuration>
312 </plugin>
313 <plugin>
314 <groupId>org.apache.maven.plugins</groupId>
315 <artifactId>maven-site-plugin</artifactId>
316 <version>3.10.0</version>
317 <configuration>
318 <locales>en</locales>
319 <outputEncoding>UTF-8</outputEncoding>
320 <!-- chmod: not not use chmod, rather adapt the umask of the user
321 at the server to which the site is deployed -->
322 <chmod>false</chmod>
323 </configuration>
324 </plugin>
325 <plugin>
326 <groupId>org.apache.maven.plugins</groupId>
327 <artifactId>maven-source-plugin</artifactId>
328 <version>3.0.1</version>
329 <executions>
330 <execution>
331 <id>attach-sources</id>
332 <phase>verify</phase>
333 <goals>
334 <goal>jar-no-fork</goal>
335 </goals>
336 </execution>
337 </executions>
338 </plugin>
339 <plugin>
340 <groupId>org.apache.maven.plugins</groupId>
341 <artifactId>maven-javadoc-plugin</artifactId>
342 <version>3.3.1</version>
343 <configuration>
344 <stylesheet>maven</stylesheet>
345 <quiet>true</quiet>
346 <detectLinks>true</detectLinks>
347 <failOnError>false</failOnError>
348 <doclint>${doclint}</doclint>
349 </configuration>
350 <executions>
351 <execution>
352 <id>aggregate</id>
353 <goals>
354 <goal>aggregate</goal>
355 </goals>
356 <phase>site</phase>
357 </execution>
358 </executions>
359 </plugin>
360 <plugin>
361 <groupId>org.apache.maven.plugins</groupId>
362 <artifactId>maven-eclipse-plugin</artifactId>
363 <version>2.10</version>
364 <configuration>
365 <downloadSources>true</downloadSources>
366 <downloadJavadocs>true</downloadJavadocs>
367 <additionalProjectnatures>
368 <projectnature>org.eclipse.pde.PluginNature</projectnature>
369 </additionalProjectnatures>
370 </configuration>
371 </plugin>
372 <!-- ====== DEPLOY ====== -->
373 <plugin>
374 <groupId>org.apache.maven.plugins</groupId>
375 <artifactId>maven-release-plugin</artifactId>
376 <version>2.5.3</version>
377 <configuration>
378 <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
379 <autoVersionSubmodules>false</autoVersionSubmodules>
380 <!--preparationGoals>clean verify install</preparationGoals -->
381 <!--goals>deploy</goals -->
382 <!-- skipping site-deploy by explicitly configuring the goal here -->
383 <tagBase>http://dev.e-taxonomy.eu/svn/tags/taxeditor</tagBase>
384 </configuration>
385 </plugin>
386 <plugin>
387 <groupId>external.atlassian.jgitflow</groupId>
388 <artifactId>jgitflow-maven-plugin</artifactId>
389 <version>1.0-m6</version>
390 <configuration>
391 <pushHotfixes>true</pushHotfixes>
392 <pushReleases>true</pushReleases>
393 <enableSshAgent>true</enableSshAgent>
394 <allowSnapshots>true</allowSnapshots>
395 <allowUntracked>true</allowUntracked>
396 </configuration>
397 <dependencies>
398 <!-- upgrading dependency jsch.agent.version of jgit-flow plugin
399 to 0.1.53 in order have ssl key exchange algorithms compatible with openssh
400 6.7 -->
401 <dependency>
402 <groupId>com.jcraft</groupId>
403 <artifactId>jsch</artifactId>
404 <version>0.1.53</version>
405 </dependency>
406 </dependencies>
407 </plugin>
408 </plugins>
409 <extensions>
410 <extension>
411 <groupId>org.apache.maven.wagon</groupId>
412 <artifactId>wagon-scm</artifactId>
413 <version>1.0-beta-6</version>
414 </extension>
415 <extension>
416 <groupId>org.apache.maven.wagon</groupId>
417 <artifactId>wagon-ssh</artifactId>
418 <version>2.12</version>
419 </extension>
420 <extension>
421 <groupId>org.apache.maven.wagon</groupId>
422 <artifactId>wagon-ssh-external</artifactId>
423 <version>2.12</version>
424 </extension>
425 <extension>
426 <groupId>org.apache.maven.scm</groupId>
427 <artifactId>maven-scm-manager-plexus</artifactId>
428 <version>1.0</version>
429 </extension>
430 <extension>
431 <groupId>org.apache.maven.scm</groupId>
432 <artifactId>maven-scm-provider-svnexe</artifactId>
433 <version>1.0</version>
434 </extension>
435 <!-- WebDAV plugin to upload snapshots -->
436 <extension>
437 <groupId>org.apache.maven.wagon</groupId>
438 <artifactId>wagon-webdav</artifactId>
439 <version>1.0-beta-2</version>
440 </extension>
441 </extensions>
442 <pluginManagement>
443 <plugins>
444 <plugin>
445 <groupId>org.apache.maven.plugins</groupId>
446 <artifactId>maven-antrun-plugin</artifactId>
447 <version>1.7</version>
448 </plugin>
449 </plugins>
450 </pluginManagement>
451 </build>
452 <reporting>
453 <plugins>
454 <plugin>
455 <!-- you will want to start by publishing your classes' Javadocs -->
456 <groupId>org.apache.maven.plugins</groupId>
457 <artifactId>maven-javadoc-plugin</artifactId>
458 <version>3.3.1</version>
459 <configuration>
460 <detectLinks>true</detectLinks>
461 <doclint>${doclint}</doclint>
462 </configuration>
463 </plugin>
464 <plugin>
465 <!-- this will generate an indexed and cross-referenced HTML version
466 of your source code -->
467 <groupId>org.apache.maven.plugins</groupId>
468 <artifactId>maven-jxr-plugin</artifactId>
469 <version>3.1.1</version>
470 </plugin>
471 <plugin>
472 <groupId>org.apache.maven.plugins</groupId>
473 <artifactId>maven-changes-plugin</artifactId>
474 <version>2.12.1</version>
475 <configuration>
476 <issueLinkTemplatePerSystem>
477 <default>%URL%/ticket/%ISSUE%</default>
478 </issueLinkTemplatePerSystem>
479 </configuration>
480 <reportSets>
481 <reportSet>
482 <reports>
483 <report>changes-report</report>
484 </reports>
485 </reportSet>
486 </reportSets>
487 </plugin>
488 </plugins>
489 </reporting>
490 <!-- DISTRIBUTION MANAGEMENT -->
491 <distributionManagement>
492 <site>
493 <id>cybertaxonomy.eu</id>
494 <name>EDIT Taxonomic Editor</name>
495 <url>scpexe://cybertaxonomy.eu/var/www/wp5.e-taxonomy.eu/taxeditor/
496 </url>
497 </site>
498 <repository>
499 <uniqueVersion>false</uniqueVersion>
500 <id>cybertaxonomy.eu</id>
501 <name>Edit Maven Repository</name>
502 <url>scpexe://cybertaxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo/
503 </url>
504 </repository>
505 </distributionManagement>
506 <dependencyManagement>
507 <dependencies>
508 <dependency>
509 <groupId>com.itextpdf</groupId>
510 <artifactId>itextpdf</artifactId>
511 <version>5.5.13.2</version>
512 </dependency>
513 <dependency>
514 <groupId>org.apache.httpcomponents</groupId>
515 <artifactId>httpclient</artifactId>
516 <version>${httpcomponents.version}</version>
517 </dependency>
518 <dependency>
519 <groupId>org.apache.httpcomponents</groupId>
520 <artifactId>httpclient-cache</artifactId>
521 <version>${httpcomponents.version}</version>
522 </dependency>
523 </dependencies>
524 </dependencyManagement>
525 </project>