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