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