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