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