ref #6539 Re-enable macosx build
[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>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>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>1.0.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</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>Redmine</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/snapshots/</url>
160 </repository>
161 <!-- The nebula repository (retention period 2 years starting Q32014)
162 set here is an archived one so as to have a stable version of the jar when
163 building the editor . Refer to #4452 for details -->
164 <repository>
165 <id>eclipse-nebula</id>
166 <layout>p2</layout>
167 <url>http://download.eclipse.org/nebula/releases/latest</url>
168 </repository>
169 <repository>
170 <id>eclipse-neon</id>
171 <layout>p2</layout>
172 <url>http://download.eclipse.org/releases/neon/</url>
173 </repository>
174 </repositories>
175 <pluginRepositories>
176 <pluginRepository>
177 <!-- required for the plugin dependency cdmlib-db of the jetty-maven-plugin -->
178 <id>EditRepository</id>
179 <url>http://cybertaxonomy.eu/mavenrepo/</url>
180 </pluginRepository>
181 </pluginRepositories>
182 <build>
183 <plugins>
184 <plugin>
185 <groupId>org.eclipse.tycho</groupId>
186 <artifactId>tycho-maven-plugin</artifactId>
187 <version>${tycho.version}</version>
188 <extensions>true</extensions>
189 </plugin>
190 <plugin>
191 <groupId>org.eclipse.tycho</groupId>
192 <artifactId>tycho-packaging-plugin</artifactId>
193 <version>${tycho.version}</version>
194 <configuration>
195 <strictVersions>true</strictVersions>
196 </configuration>
197 </plugin>
198 <plugin>
199 <groupId>org.eclipse.tycho</groupId>
200 <artifactId>tycho-p2-repository-plugin</artifactId>
201 <version>${tycho.version}</version>
202 <configuration>
203 <includeAllDependencies>true</includeAllDependencies>
204 </configuration>
205 </plugin>
206 <plugin>
207 <groupId>org.eclipse.tycho</groupId>
208 <artifactId>target-platform-configuration</artifactId>
209 <version>${tycho.version}</version>
210 <configuration>
211 <environments>
212 <environment>
213 <os>macosx</os>
214 <ws>cocoa</ws>
215 <arch>x86_64</arch>
216 </environment>
217 <environment>
218 <os>win32</os>
219 <ws>win32</ws>
220 <arch>x86</arch>
221 </environment>
222 <environment>
223 <os>win32</os>
224 <ws>win32</ws>
225 <arch>x86_64</arch>
226 </environment>
227 <environment>
228 <os>linux</os>
229 <ws>gtk</ws>
230 <arch>x86</arch>
231 </environment>
232 <environment>
233 <os>linux</os>
234 <ws>gtk</ws>
235 <arch>x86_64</arch>
236 </environment>
237 </environments>
238 </configuration>
239 </plugin>
240 <plugin>
241 <groupId>org.apache.maven.plugins</groupId>
242 <artifactId>maven-compiler-plugin</artifactId>
243 <version>3.6.1</version>
244 <configuration>
245 <source>${java.codelevel}</source>
246 <target>${java.codelevel}</target>
247 </configuration>
248 </plugin>
249 <plugin>
250 <groupId>org.codehaus.mojo</groupId>
251 <artifactId>wagon-maven-plugin</artifactId>
252 <version>1.0</version>
253 <configuration>
254 <url>scpexe://cybertaxonomy.eu</url>
255 <serverId>cybertaxonomy.eu</serverId>
256 </configuration>
257 <executions>
258 <execution>
259 <id>upload-reference-documentation</id>
260 <phase>site-deploy</phase>
261 <goals>
262 <goal>upload</goal>
263 </goals>
264 </execution>
265 </executions>
266 </plugin>
267 <plugin>
268 <groupId>org.apache.maven.plugins</groupId>
269 <artifactId>maven-surefire-plugin</artifactId>
270 <version>2.6</version>
271 <configuration>
272 <includes>
273 <include>**/*Test.java</include>
274 </includes>
275 <systemPropertyVariables>
276 <property>
277 <name>hibernate.connection.driver_class</name>
278 <value>${hibernate.connection.driver_class}</value>
279 </property>
280 <property>
281 <name>hibernate.connection.url</name>
282 <value>${hibernate.connection.url}</value>
283 </property>
284 <property>
285 <name>hibernate.connection.username</name>
286 <value>${hibernate.connection.username}</value>
287 </property>
288 <property>
289 <name>hibernate.connection.password</name>
290 <value>${hibernate.connection.password}</value>
291 </property>
292 </systemPropertyVariables>
293 </configuration>
294 </plugin>
295 <plugin>
296 <groupId>org.apache.maven.plugins</groupId>
297 <artifactId>maven-site-plugin</artifactId>
298 <version>3.3</version>
299 <configuration>
300 <locales>en</locales>
301 <outputEncoding>UTF-8</outputEncoding>
302 <!-- chmod: not not use chmod, rather adapt the umask of the user
303 at the server to which the site is deployed -->
304 <chmod>false</chmod>
305 </configuration>
306 </plugin>
307 <plugin>
308 <groupId>org.apache.maven.plugins</groupId>
309 <artifactId>maven-source-plugin</artifactId>
310 <version>3.0.1</version>
311 <executions>
312 <execution>
313 <id>attach-sources</id>
314 <phase>verify</phase>
315 <goals>
316 <goal>jar</goal>
317 </goals>
318 </execution>
319 </executions>
320 </plugin>
321 <plugin>
322 <groupId>org.apache.maven.plugins</groupId>
323 <artifactId>maven-javadoc-plugin</artifactId>
324 <version>2.7</version>
325 <configuration>
326 <stylesheet>maven</stylesheet>
327 <quiet>true</quiet>
328 <detectLinks>true</detectLinks>
329 <failOnError>false</failOnError>
330 <additionalparam>${javadoc.opts}</additionalparam>
331 </configuration>
332 <executions>
333 <execution>
334 <id>aggregate</id>
335 <goals>
336 <goal>aggregate</goal>
337 </goals>
338 <phase>site</phase>
339 </execution>
340 </executions>
341 </plugin>
342 <plugin>
343 <groupId>org.apache.maven.plugins</groupId>
344 <artifactId>maven-eclipse-plugin</artifactId>
345 <version>2.8</version>
346 <configuration>
347 <downloadSources>true</downloadSources>
348 <downloadJavadocs>true</downloadJavadocs>
349 <additionalProjectnatures>
350 <projectnature>org.eclipse.pde.PluginNature</projectnature>
351 </additionalProjectnatures>
352 </configuration>
353 </plugin>
354 <!-- ====== DEPLOY ====== -->
355 <plugin>
356 <groupId>org.apache.maven.plugins</groupId>
357 <artifactId>maven-release-plugin</artifactId>
358 <version>2.2.1</version>
359 <configuration>
360 <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
361 <autoVersionSubmodules>false</autoVersionSubmodules>
362 <!--preparationGoals>clean verify install</preparationGoals -->
363 <!--goals>deploy</goals -->
364 <!-- skipping site-deploy by explicitly configuring the goal here -->
365 <tagBase>http://dev.e-taxonomy.eu/svn/tags/taxeditor</tagBase>
366 </configuration>
367 </plugin>
368 <plugin>
369 <groupId>external.atlassian.jgitflow</groupId>
370 <artifactId>jgitflow-maven-plugin</artifactId>
371 <version>1.0-m6</version>
372 <configuration>
373 <pushHotfixes>true</pushHotfixes>
374 <pushReleases>true</pushReleases>
375 <enableSshAgent>true</enableSshAgent>
376 <allowSnapshots>true</allowSnapshots>
377 <allowUntracked>true</allowUntracked>
378 </configuration>
379 <dependencies>
380 <!-- upgrading dependency jsch.agent.version of jgit-flow plugin
381 to 0.1.53 in order have ssl key exchange algorithms compatible with openssh
382 6.7 -->
383 <dependency>
384 <groupId>com.jcraft</groupId>
385 <artifactId>jsch</artifactId>
386 <version>0.1.53</version>
387 </dependency>
388 </dependencies>
389 </plugin>
390 </plugins>
391 <extensions>
392 <extension>
393 <groupId>org.apache.maven.wagon</groupId>
394 <artifactId>wagon-scm</artifactId>
395 <version>1.0-beta-6</version>
396 </extension>
397 <extension>
398 <groupId>org.apache.maven.wagon</groupId>
399 <artifactId>wagon-ssh</artifactId>
400 <version>1.0-beta-6</version>
401 </extension>
402 <extension>
403 <groupId>org.apache.maven.wagon</groupId>
404 <artifactId>wagon-ssh-external</artifactId>
405 <version>1.0-beta-6</version>
406 </extension>
407 <extension>
408 <groupId>org.apache.maven.scm</groupId>
409 <artifactId>maven-scm-manager-plexus</artifactId>
410 <version>1.0</version>
411 </extension>
412 <extension>
413 <groupId>org.apache.maven.scm</groupId>
414 <artifactId>maven-scm-provider-svnexe</artifactId>
415 <version>1.0</version>
416 </extension>
417 <!-- WebDAV plugin to upload snapshots -->
418 <extension>
419 <groupId>org.apache.maven.wagon</groupId>
420 <artifactId>wagon-webdav</artifactId>
421 <version>1.0-beta-2</version>
422 </extension>
423 </extensions>
424 <pluginManagement>
425 <plugins>
426 <plugin>
427 <groupId>org.apache.maven.plugins</groupId>
428 <artifactId>maven-antrun-plugin</artifactId>
429 <version>1.7</version>
430 </plugin>
431 </plugins>
432 </pluginManagement>
433 </build>
434 <reporting>
435 <plugins>
436 <plugin>
437 <!-- you will want to start by publishing your classes' Javadocs -->
438 <groupId>org.apache.maven.plugins</groupId>
439 <artifactId>maven-javadoc-plugin</artifactId>
440 <version>2.7</version>
441 <configuration>
442 <detectLinks>true</detectLinks>
443 <additionalparam>${javadoc.opts}</additionalparam>
444 </configuration>
445 </plugin>
446 <plugin>
447 <!-- this will generate an indexed and cross-referenced HTML version
448 of your source code -->
449 <groupId>org.apache.maven.plugins</groupId>
450 <artifactId>maven-jxr-plugin</artifactId>
451 <version>2.2</version>
452 </plugin>
453 <plugin>
454 <groupId>org.apache.maven.plugins</groupId>
455 <artifactId>maven-changes-plugin</artifactId>
456 <version>2.3</version>
457 <configuration>
458 <issueLinkTemplatePerSystem>
459 <default>%URL%/ticket/%ISSUE%</default>
460 </issueLinkTemplatePerSystem>
461 </configuration>
462 <reportSets>
463 <reportSet>
464 <reports>
465 <report>changes-report</report>
466 </reports>
467 </reportSet>
468 </reportSets>
469 </plugin>
470 </plugins>
471 </reporting>
472 <!-- DISTRIBUTION MANAGEMENT -->
473 <distributionManagement>
474 <site>
475 <id>cybertaxonomy.eu</id>
476 <name>EDIT Taxonomic Editor</name>
477 <url>scpexe://cybertaxonomy.eu/var/www/wp5.e-taxonomy.eu/taxeditor/
478 </url>
479 </site>
480 <repository>
481 <uniqueVersion>false</uniqueVersion>
482 <id>cybertaxonomy.eu</id>
483 <name>Edit Maven Repository</name>
484 <url>scpexe://cybertaxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo/
485 </url>
486 </repository>
487 </distributionManagement>
488 <dependencyManagement>
489 <dependencies>
490 <dependency>
491 <groupId>com.itextpdf</groupId>
492 <artifactId>itextpdf</artifactId>
493 <version>5.5.8</version>
494 </dependency>
495 </dependencies>
496 </dependencyManagement>
497 </project>