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