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