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