switched to tycho 0.13 and added automated builds for mac and 64 bit windows
[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>3.0.9-SNAPSHOT</version>
10 <name>EDIT Taxonomic Editor</name>
11 <description>The Taxonomic Editor for EDIT's platform for cybertaxonomy</description>
12 <url>http://wp5.e-taxonomy.eu</url>
13 <inceptionYear>2007</inceptionYear>
14 <packaging>pom</packaging>
15 <properties>
16 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17 <cdmlib.version>3.0.9-SNAPSHOT</cdmlib.version>
18 <tycho.version>0.13.0</tycho.version>
19 <taxeditor.version>3.0.9-SNAPSHOT</taxeditor.version>
20 </properties>
21 <modules>
22 <module>eu.etaxonomy.taxeditor.cdmlib</module>
23 <module>eu.etaxonomy.taxeditor.store</module>
24 <module>eu.etaxonomy.taxeditor.navigation</module>
25 <module>eu.etaxonomy.taxeditor.editor</module>
26 <module>eu.etaxonomy.taxeditor.bulkeditor</module>
27 <module>eu.etaxonomy.taxeditor.printpublisher</module>
28 <!--module>eu.etaxonomy.taxeditor.annotatedlineeditor</module-->
29 <module>eu.etaxonomy.taxeditor.help</module>
30 <module>eu.etaxonomy.taxeditor.application</module>
31 <module>eu.etaxonomy.taxeditor.feature.platform</module>
32 <module>eu.etaxonomy.taxeditor.feature</module>
33 <module>eu.etaxonomy.taxeditor</module>
34 </modules>
35 <scm>
36 <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/taxeditor/</connection>
37 <developerConnection>scm:svn:https://dev.e-taxonomy.eu/svn/trunk/taxeditor/</developerConnection>
38 <url>http://dev.e-taxonomy.eu/websvn/listing.php?repname=EDIT+Taxonomic+Editor</url>
39 </scm>
40 <mailingLists>
41 <mailingList>
42 <name>EDIT Taxonomic Editor</name>
43 <subscribe>
44 edit-taxonomic-editor+subscribe@googlegroups.com
45 </subscribe>
46 <unsubscribe>
47 edit-taxonomic-editor+unsubscribe@googlegroups.com
48 </unsubscribe>
49 <post>edit-taxonomic-editor@googlegroups.com</post>
50 <archive>http://groups.google.com/group/edit-taxonomic-editor/topics</archive>
51 </mailingList>
52 </mailingLists>
53 <licenses>
54 <license>
55 <name>Mozilla Public License Version 1.1</name>
56 <url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
57 <distribution>repo</distribution>
58 </license>
59 </licenses>
60 <developers>
61 <developer>
62 <!-- your SVN account id please! -->
63 <id>n.hoffmann</id>
64 <name>
65 Niels Hoffmann
66 </name>
67 <email>n.hoffmann [at] bgbm.org</email>
68 <organization>
69 Botanic Garden Botanical Museum Berlin
70 </organization>
71 <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
72 <timezone>+1</timezone>
73 <roles>
74 <role>Java Developer</role>
75 <role>Architect</role>
76 </roles>
77 <url/>
78 </developer>
79 </developers>
80 <issueManagement>
81 <system>Trac</system>
82 <url>http://dev.e-taxonomy.eu/trac/</url>
83 </issueManagement>
84 <ciManagement>
85 <system>Jenkins</system>
86 <url>http://160.45.63.201/jenkins/view/EDIT%20Taxonomic%20Editor/</url>
87 </ciManagement>
88 <!-- **** REPOSITORIES **** -->
89 <repositories>
90 <!-- the cdm internal repository -->
91 <repository>
92 <id>EditRepository</id>
93 <url>http://wp5.e-taxonomy.eu/mavenrepo/</url>
94 </repository>
95 <repository>
96 <id>eclipse-indigo</id>
97 <layout>p2</layout>
98 <url>http://download.eclipse.org/releases/indigo</url>
99 </repository>
100 </repositories>
101 <build>
102 <plugins>
103 <plugin>
104 <groupId>org.eclipse.tycho</groupId>
105 <artifactId>tycho-maven-plugin</artifactId>
106 <version>${tycho.version}</version>
107 <extensions>true</extensions>
108 </plugin>
109 <plugin>
110 <groupId>org.eclipse.tycho</groupId>
111 <artifactId>tycho-packaging-plugin</artifactId>
112 <version>${tycho.version}</version>
113 <configuration>
114 <strictVersions>true</strictVersions>
115 </configuration>
116 </plugin>
117 <plugin>
118 <groupId>org.eclipse.tycho</groupId>
119 <artifactId>target-platform-configuration</artifactId>
120 <version>${tycho.version}</version>
121 <configuration>
122 <!--target>
123 <artifact>
124 <groupId>eu.etaxonomy</groupId>
125 <artifactId>eu.etaxonomy.taxeditor</artifactId>
126 <version>${taxeditor.version}</version>
127 <classifier>rcp</classifier>
128 </artifact>
129 </target-->
130 <!--ignoreTychoRepositories>true</ignoreTychoRepositories-->
131 <environments>
132 <environment>
133 <os>macosx</os>
134 <ws>cocoa</ws>
135 <arch>x86_64</arch>
136 </environment>
137 <environment>
138 <os>win32</os>
139 <ws>win32</ws>
140 <arch>x86</arch>
141 </environment>
142 <environment>
143 <os>win32</os>
144 <ws>win32</ws>
145 <arch>x86_64</arch>
146 </environment>
147 <environment>
148 <os>linux</os>
149 <ws>gtk</ws>
150 <arch>x86</arch>
151 </environment>
152 <environment>
153 <os>linux</os>
154 <ws>gtk</ws>
155 <arch>x86_64</arch>
156 </environment>
157 </environments>
158 </configuration>
159 </plugin>
160 <plugin>
161 <groupId>org.apache.maven.plugins</groupId>
162 <artifactId>maven-compiler-plugin</artifactId>
163 <version>2.3.2</version>
164 <configuration>
165 <source>1.6</source>
166 <target>1.6</target>
167 </configuration>
168 </plugin>
169 <plugin>
170 <groupId>org.apache.maven.plugins</groupId>
171 <artifactId>maven-surefire-plugin</artifactId>
172 <version>2.6</version>
173 <configuration>
174 <includes>
175 <include>**/*Test.java</include>
176 </includes>
177 <systemPropertyVariables>
178 <property>
179 <name>hibernate.connection.driver_class</name>
180 <value>${hibernate.connection.driver_class}</value>
181 </property>
182 <property>
183 <name>hibernate.connection.url</name>
184 <value>${hibernate.connection.url}</value>
185 </property>
186 <property>
187 <name>hibernate.connection.username</name>
188 <value>${hibernate.connection.username}</value>
189 </property>
190 <property>
191 <name>hibernate.connection.password</name>
192 <value>${hibernate.connection.password}</value>
193 </property>
194 </systemPropertyVariables>
195 </configuration>
196 </plugin>
197 <plugin>
198 <groupId>org.apache.maven.plugins</groupId>
199 <artifactId>maven-site-plugin</artifactId>
200 <version>3.0</version>
201 <configuration>
202 <locales>en</locales>
203 </configuration>
204 </plugin>
205 <plugin>
206 <groupId>org.apache.maven.plugins</groupId>
207 <artifactId>maven-source-plugin</artifactId>
208 <version>2.1.2</version>
209 <executions>
210 <execution>
211 <id>attach-sources</id>
212 <phase>verify</phase>
213 <goals>
214 <goal>jar</goal>
215 </goals>
216 </execution>
217 </executions>
218 </plugin>
219 <plugin>
220 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-javadoc-plugin</artifactId>
222 <version>2.7</version>
223 <configuration>
224 <stylesheet>maven</stylesheet>
225 <quiet>true</quiet>
226 <detectLinks>true</detectLinks>
227 <failOnError>false</failOnError>
228 </configuration>
229 <executions>
230 <execution>
231 <id>aggregate</id>
232 <goals>
233 <goal>aggregate</goal>
234 </goals>
235 <phase>site</phase>
236 </execution>
237 </executions>
238 </plugin>
239 <plugin>
240 <groupId>org.apache.maven.plugins</groupId>
241 <artifactId>maven-eclipse-plugin</artifactId>
242 <version>2.8</version>
243 <configuration>
244 <downloadSources>true</downloadSources>
245 <downloadJavadocs>true</downloadJavadocs>
246 <additionalProjectnatures>
247 <projectnature>org.eclipse.pde.PluginNature</projectnature>
248 </additionalProjectnatures>
249 </configuration>
250 </plugin>
251 <!-- ====== DEPLOY ====== -->
252 <plugin>
253 <groupId>org.apache.maven.plugins</groupId>
254 <artifactId>maven-release-plugin</artifactId>
255 <version>2.2.1</version>
256 <configuration>
257 <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
258 <autoVersionSubmodules>false</autoVersionSubmodules>
259 <!--preparationGoals>clean verify install</preparationGoals-->
260 <!--goals>deploy</goals-->
261 <!-- skipping site-deploy by explicitly configuring the goal here -->
262 <tagBase>http://dev.e-taxonomy.eu/svn/tags/taxeditor</tagBase>
263 </configuration>
264 </plugin>
265 <plugin>
266 <groupId>org.codehaus.mojo</groupId>
267 <artifactId>wagon-maven-plugin</artifactId>
268 <version>1.0-beta-3</version>
269 <!--
270 Problems with the wagon-maven-plugin have been encounterd on Windows,
271 it should work properly on linux though.
272 -->
273 <executions>
274 <execution>
275 <phase>deploy</phase>
276 <goals>
277 <goal>upload</goal>
278 </goals>
279 </execution>
280 </executions>
281 <configuration>
282 <fromDir>eu.etaxonomy.taxeditor/target/products</fromDir>
283 <includes>*.zip</includes>
284 <url>scpexe://wp5.e-taxonomy.eu/var/www/download/taxeditor/${project.version}</url>
285 <serverId>wp5.e-taxonomy.eu</serverId>
286 </configuration>
287 </plugin>
288 </plugins>
289 <!--pluginManagement>
290 <plugins>
291 <plugin>
292 <groupId>org.apache.maven.plugins</groupId>
293 <artifactId>maven-jar-plugin</artifactId>
294 <version>2.3.1</version>
295 </plugin>
296 <plugin>
297 <groupId>org.codehaus.mojo</groupId>
298 <artifactId>wagon-maven-plugin</artifactId>
299 <version>1.0-beta-3</version>
300 </plugin-->
301 <!--plugin>
302 <groupId>org.eclipse.tycho</groupId>
303 <artifactId>tycho-packaging-plugin</artifactId>
304 <version>${tycho.version}</version-->
305 <!--executions>
306 <execution>
307 <id>timestamp</id>
308 <phase>validate</phase>
309 <goals>
310 <goal>timestamp</goal>
311 </goals>
312 </execution>
313 </executions-->
314 <!-- for some reason configuration won't work here, have to define
315 in each module -->
316 <!--configuration>
317 <archive>
318 <addMavenDescriptor>false</addMavenDescriptor>
319 </archive>
320 <environments>
321 <environment>
322 <os>macosx</os>
323 <ws>cocoa</ws>
324 <arch>x86</arch>
325 </environment>
326 </environments>
327 </configuration>
328 </plugin-->
329 <!--/plugins>
330 </pluginManagement-->
331 <extensions>
332 <extension>
333 <groupId>org.apache.maven.wagon</groupId>
334 <artifactId>wagon-scm</artifactId>
335 <version>1.0-alpha-5</version>
336 </extension>
337 <extension>
338 <groupId>org.apache.maven.wagon</groupId>
339 <artifactId>wagon-ssh</artifactId>
340 <version>1.0-beta-7</version>
341 </extension>
342 <extension>
343 <groupId>org.apache.maven.wagon</groupId>
344 <artifactId>wagon-ssh-external</artifactId>
345 <version>1.0-beta-6</version>
346 </extension>
347 <extension>
348 <groupId>org.apache.maven.scm</groupId>
349 <artifactId>maven-scm-manager-plexus</artifactId>
350 <version>1.0</version>
351 </extension>
352 <extension>
353 <groupId>org.apache.maven.scm</groupId>
354 <artifactId>maven-scm-provider-svnexe</artifactId>
355 <version>1.0</version>
356 </extension>
357 <!-- WebDAV plugin to upload snapshots -->
358 <extension>
359 <groupId>org.apache.maven.wagon</groupId>
360 <artifactId>wagon-webdav</artifactId>
361 <version>1.0-beta-2</version>
362 </extension>
363 </extensions>
364 </build>
365 <reporting>
366 <plugins>
367 <plugin>
368 <!-- you will want to start by publishing your classes' Javadocs -->
369 <groupId>org.apache.maven.plugins</groupId>
370 <artifactId>maven-javadoc-plugin</artifactId>
371 <version>2.7</version>
372 <configuration>
373 <detectLinks>true</detectLinks>
374 </configuration>
375 </plugin>
376 <plugin>
377 <!-- this will generate an indexed and cross-referenced HTML version of your source code -->
378 <groupId>org.apache.maven.plugins</groupId>
379 <artifactId>maven-jxr-plugin</artifactId>
380 <version>2.2</version>
381 </plugin>
382 <plugin>
383 <groupId>org.apache.maven.plugins</groupId>
384 <artifactId>maven-changes-plugin</artifactId>
385 <version>2.3</version>
386 <configuration>
387 <issueLinkTemplatePerSystem>
388 <default>%URL%/ticket/%ISSUE%</default>
389 </issueLinkTemplatePerSystem>
390 </configuration>
391 <reportSets>
392 <reportSet>
393 <reports>
394 <report>changes-report</report>
395 </reports>
396 </reportSet>
397 </reportSets>
398 </plugin>
399 </plugins>
400 </reporting>
401 <!-- DISTRIBUTION MANAGEMENT -->
402 <distributionManagement>
403 <site>
404 <id>wp5.e-taxonomy.eu</id>
405 <name>EDIT Taxonomic Editor</name>
406 <url>scpexe://160.45.63.151/var/www/wp5.e-taxonomy.eu/taxeditor/</url>
407 </site>
408 <repository>
409 <uniqueVersion>false</uniqueVersion>
410 <id>wp5.e-taxonomy.eu</id>
411 <name>Edit Maven Repository</name>
412 <url>scpexe://160.45.63.151/var/www/wp5.e-taxonomy.eu/mavenrepo/</url>
413 </repository>
414 </distributionManagement>
415 </project>