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