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