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