fixing dependency problems within tycho configuration
[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/technology/swtbot/helios/dev-build/update-site/</url>
99 </repository>
100 <repository>
101 <id>eclipse-swtbot</id>
102 <layout>p2</layout>
103 <url>http://download.eclipse.org/releases/indigo</url>
104 </repository>
105 </repositories>
106 <build>
107 <plugins>
108 <plugin>
109 <groupId>org.eclipse.tycho</groupId>
110 <artifactId>tycho-maven-plugin</artifactId>
111 <version>${tycho.version}</version>
112 <extensions>true</extensions>
113 </plugin>
114 <plugin>
115 <groupId>org.eclipse.tycho</groupId>
116 <artifactId>tycho-packaging-plugin</artifactId>
117 <version>${tycho.version}</version>
118 <configuration>
119 <strictVersions>true</strictVersions>
120 </configuration>
121 </plugin>
122 <plugin>
123 <groupId>org.eclipse.tycho</groupId>
124 <artifactId>target-platform-configuration</artifactId>
125 <version>${tycho.version}</version>
126 <configuration>
127 <!--target>
128 <artifact>
129 <groupId>eu.etaxonomy</groupId>
130 <artifactId>eu.etaxonomy.taxeditor</artifactId>
131 <version>${taxeditor.version}</version>
132 <classifier>rcp</classifier>
133 </artifact>
134 </target-->
135 <!--ignoreTychoRepositories>true</ignoreTychoRepositories-->
136 <environments>
137 <environment>
138 <os>macosx</os>
139 <ws>cocoa</ws>
140 <arch>x86_64</arch>
141 </environment>
142 <environment>
143 <os>win32</os>
144 <ws>win32</ws>
145 <arch>x86</arch>
146 </environment>
147 <environment>
148 <os>win32</os>
149 <ws>win32</ws>
150 <arch>x86_64</arch>
151 </environment>
152 <environment>
153 <os>linux</os>
154 <ws>gtk</ws>
155 <arch>x86</arch>
156 </environment>
157 <environment>
158 <os>linux</os>
159 <ws>gtk</ws>
160 <arch>x86_64</arch>
161 </environment>
162 </environments>
163 </configuration>
164 </plugin>
165 <plugin>
166 <groupId>org.apache.maven.plugins</groupId>
167 <artifactId>maven-compiler-plugin</artifactId>
168 <version>2.3.2</version>
169 <configuration>
170 <source>1.6</source>
171 <target>1.6</target>
172 </configuration>
173 </plugin>
174 <plugin>
175 <groupId>org.apache.maven.plugins</groupId>
176 <artifactId>maven-surefire-plugin</artifactId>
177 <version>2.6</version>
178 <configuration>
179 <includes>
180 <include>**/*Test.java</include>
181 </includes>
182 <systemPropertyVariables>
183 <property>
184 <name>hibernate.connection.driver_class</name>
185 <value>${hibernate.connection.driver_class}</value>
186 </property>
187 <property>
188 <name>hibernate.connection.url</name>
189 <value>${hibernate.connection.url}</value>
190 </property>
191 <property>
192 <name>hibernate.connection.username</name>
193 <value>${hibernate.connection.username}</value>
194 </property>
195 <property>
196 <name>hibernate.connection.password</name>
197 <value>${hibernate.connection.password}</value>
198 </property>
199 </systemPropertyVariables>
200 </configuration>
201 </plugin>
202 <plugin>
203 <groupId>org.apache.maven.plugins</groupId>
204 <artifactId>maven-site-plugin</artifactId>
205 <version>3.0</version>
206 <configuration>
207 <locales>en</locales>
208 </configuration>
209 </plugin>
210 <plugin>
211 <groupId>org.apache.maven.plugins</groupId>
212 <artifactId>maven-source-plugin</artifactId>
213 <version>2.1.2</version>
214 <executions>
215 <execution>
216 <id>attach-sources</id>
217 <phase>verify</phase>
218 <goals>
219 <goal>jar</goal>
220 </goals>
221 </execution>
222 </executions>
223 </plugin>
224 <plugin>
225 <groupId>org.apache.maven.plugins</groupId>
226 <artifactId>maven-javadoc-plugin</artifactId>
227 <version>2.7</version>
228 <configuration>
229 <stylesheet>maven</stylesheet>
230 <quiet>true</quiet>
231 <detectLinks>true</detectLinks>
232 <failOnError>false</failOnError>
233 </configuration>
234 <executions>
235 <execution>
236 <id>aggregate</id>
237 <goals>
238 <goal>aggregate</goal>
239 </goals>
240 <phase>site</phase>
241 </execution>
242 </executions>
243 </plugin>
244 <plugin>
245 <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-eclipse-plugin</artifactId>
247 <version>2.8</version>
248 <configuration>
249 <downloadSources>true</downloadSources>
250 <downloadJavadocs>true</downloadJavadocs>
251 <additionalProjectnatures>
252 <projectnature>org.eclipse.pde.PluginNature</projectnature>
253 </additionalProjectnatures>
254 </configuration>
255 </plugin>
256 <!-- ====== DEPLOY ====== -->
257 <plugin>
258 <groupId>org.apache.maven.plugins</groupId>
259 <artifactId>maven-release-plugin</artifactId>
260 <version>2.2.1</version>
261 <configuration>
262 <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
263 <autoVersionSubmodules>false</autoVersionSubmodules>
264 <!--preparationGoals>clean verify install</preparationGoals-->
265 <!--goals>deploy</goals-->
266 <!-- skipping site-deploy by explicitly configuring the goal here -->
267 <tagBase>http://dev.e-taxonomy.eu/svn/tags/taxeditor</tagBase>
268 </configuration>
269 </plugin>
270 <plugin>
271 <groupId>org.codehaus.mojo</groupId>
272 <artifactId>wagon-maven-plugin</artifactId>
273 <version>1.0-beta-3</version>
274 <!--
275 Problems with the wagon-maven-plugin have been encounterd on Windows,
276 it should work properly on linux though.
277 -->
278 <executions>
279 <execution>
280 <phase>deploy</phase>
281 <goals>
282 <goal>upload</goal>
283 </goals>
284 </execution>
285 </executions>
286 <configuration>
287 <fromDir>eu.etaxonomy.taxeditor/target/products</fromDir>
288 <includes>*.zip</includes>
289 <url>scpexe://wp5.e-taxonomy.eu/var/www/download/taxeditor/${project.version}</url>
290 <serverId>wp5.e-taxonomy.eu</serverId>
291 </configuration>
292 </plugin>
293 </plugins>
294 <!--pluginManagement>
295 <plugins>
296 <plugin>
297 <groupId>org.apache.maven.plugins</groupId>
298 <artifactId>maven-jar-plugin</artifactId>
299 <version>2.3.1</version>
300 </plugin>
301 <plugin>
302 <groupId>org.codehaus.mojo</groupId>
303 <artifactId>wagon-maven-plugin</artifactId>
304 <version>1.0-beta-3</version>
305 </plugin-->
306 <!--plugin>
307 <groupId>org.eclipse.tycho</groupId>
308 <artifactId>tycho-packaging-plugin</artifactId>
309 <version>${tycho.version}</version-->
310 <!--executions>
311 <execution>
312 <id>timestamp</id>
313 <phase>validate</phase>
314 <goals>
315 <goal>timestamp</goal>
316 </goals>
317 </execution>
318 </executions-->
319 <!-- for some reason configuration won't work here, have to define
320 in each module -->
321 <!--configuration>
322 <archive>
323 <addMavenDescriptor>false</addMavenDescriptor>
324 </archive>
325 <environments>
326 <environment>
327 <os>macosx</os>
328 <ws>cocoa</ws>
329 <arch>x86</arch>
330 </environment>
331 </environments>
332 </configuration>
333 </plugin-->
334 <!--/plugins>
335 </pluginManagement-->
336 <extensions>
337 <extension>
338 <groupId>org.apache.maven.wagon</groupId>
339 <artifactId>wagon-scm</artifactId>
340 <version>1.0-alpha-5</version>
341 </extension>
342 <extension>
343 <groupId>org.apache.maven.wagon</groupId>
344 <artifactId>wagon-ssh</artifactId>
345 <version>1.0-beta-7</version>
346 </extension>
347 <extension>
348 <groupId>org.apache.maven.wagon</groupId>
349 <artifactId>wagon-ssh-external</artifactId>
350 <version>1.0-beta-6</version>
351 </extension>
352 <extension>
353 <groupId>org.apache.maven.scm</groupId>
354 <artifactId>maven-scm-manager-plexus</artifactId>
355 <version>1.0</version>
356 </extension>
357 <extension>
358 <groupId>org.apache.maven.scm</groupId>
359 <artifactId>maven-scm-provider-svnexe</artifactId>
360 <version>1.0</version>
361 </extension>
362 <!-- WebDAV plugin to upload snapshots -->
363 <extension>
364 <groupId>org.apache.maven.wagon</groupId>
365 <artifactId>wagon-webdav</artifactId>
366 <version>1.0-beta-2</version>
367 </extension>
368 </extensions>
369 </build>
370 <reporting>
371 <plugins>
372 <plugin>
373 <!-- you will want to start by publishing your classes' Javadocs -->
374 <groupId>org.apache.maven.plugins</groupId>
375 <artifactId>maven-javadoc-plugin</artifactId>
376 <version>2.7</version>
377 <configuration>
378 <detectLinks>true</detectLinks>
379 </configuration>
380 </plugin>
381 <plugin>
382 <!-- this will generate an indexed and cross-referenced HTML version of your source code -->
383 <groupId>org.apache.maven.plugins</groupId>
384 <artifactId>maven-jxr-plugin</artifactId>
385 <version>2.2</version>
386 </plugin>
387 <plugin>
388 <groupId>org.apache.maven.plugins</groupId>
389 <artifactId>maven-changes-plugin</artifactId>
390 <version>2.3</version>
391 <configuration>
392 <issueLinkTemplatePerSystem>
393 <default>%URL%/ticket/%ISSUE%</default>
394 </issueLinkTemplatePerSystem>
395 </configuration>
396 <reportSets>
397 <reportSet>
398 <reports>
399 <report>changes-report</report>
400 </reports>
401 </reportSet>
402 </reportSets>
403 </plugin>
404 </plugins>
405 </reporting>
406 <!-- DISTRIBUTION MANAGEMENT -->
407 <distributionManagement>
408 <site>
409 <id>wp5.e-taxonomy.eu</id>
410 <name>EDIT Taxonomic Editor</name>
411 <url>scpexe://160.45.63.151/var/www/wp5.e-taxonomy.eu/taxeditor/</url>
412 </site>
413 <repository>
414 <uniqueVersion>false</uniqueVersion>
415 <id>wp5.e-taxonomy.eu</id>
416 <name>Edit Maven Repository</name>
417 <url>scpexe://160.45.63.151/var/www/wp5.e-taxonomy.eu/mavenrepo/</url>
418 </repository>
419 </distributionManagement>
420 </project>