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