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