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