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