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/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <groupId>eu.etaxonomy
</groupId>
6 <artifactId>cdm-server
</artifactId>
7 <version>3.11.1</version>
8 <packaging>jar
</packaging>
9 <name>CDM Community Standalone Server
</name>
12 <jetty-version>9.2.9.v20150224
</jetty-version>
16 <!-- see section Provider Configuration in http://maven.apache.org/scm/subversion.html
17 for instructions on how to externalize credentials in $user.home/.scm/svn-settings.xml -->
18 <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdm-server
</connection>
19 <developerConnection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdm-server
</developerConnection>
20 <url>http://dev.e-taxonomy.eu/trac/browser/trunk/cdm-server
</url>
31 https://listes.mnhn.fr/wws/subrequest/dev-edit
34 https://listes.mnhn.fr/wws/sigrequest/dev-edit
36 <post>dev-edit@mnhn.fr
</post>
37 <archive>https://listes.mnhn.fr/wws/arc/dev-edit/
</archive>
41 <post>cdm-edit@mnhn.fr
</post>
43 https://listes.mnhn.fr/wws/subrequest/cdm-edit
46 https://listes.mnhn.fr/wws/sigrequest/cdm-edit
48 <archive>https://listes.mnhn.fr/wws/arc/cdm-edit/
</archive>
53 <name>Mozilla Public License Version
1.1</name>
54 <url>http://www.mozilla.org/MPL/MPL-
1.1.html
</url>
55 <distribution>repo
</distribution>
60 <!-- your SVN account id please! -->
65 <email>a.kohlbecker [at] bgbm.org
</email>
67 Botanical Garden Botanical Museum Berlin
69 <organizationUrl>http://www.bgbm.org/BioDivInf/
</organizationUrl>
70 <timezone>+
1</timezone>
72 <role>Developer
</role>
78 <!-- contributors> <contributor> <name>Test-Contributor</name> </contributor>
82 <url>http://dev.e-taxonomy.eu/trac/
</url>
85 <system>Jenkins
</system>
86 <url>http://
160.45.63.201/jenkins
</url>
88 <!-- **** REPOSITORIES **** -->
91 <id>local-repository
</id>
94 <name>localrepo
</name>
99 <id>EditLocalRepository
</id>
100 <url>file://${localrepo}/eu/etaxonomy/
</url>
102 <enabled>false
</enabled>
103 <updatePolicy>always
</updatePolicy>
106 <enabled>true
</enabled>
107 <updatePolicy>always
</updatePolicy>
114 <!-- sun repository -->
116 <id>java.net-Public
</id>
117 <name>Maven Java Net Snapshots and Releases
</name>
118 <url>https://maven.java.net/content/groups/public/
</url>
120 <!-- the localhost Maven Repository -->
122 <id>EditLocalRepository
</id>
123 <!-- disable the local repo to let maven always retrieve the latest
124 cdm-webapp.war TODO: use ${localrepo} for ${user.home}/.m2/repository
126 <url>file://${user.home}/.m2/repository/eu/etaxonomy/
</url>
128 <enabled>false
</enabled>
129 <updatePolicy>always
</updatePolicy>
132 <enabled>false
</enabled>
133 <updatePolicy>always
</updatePolicy>
136 <!-- the EDIT Maven Repository -->
138 <id>EditRepository
</id>
139 <url>http://wp5.e-taxonomy.eu/mavenrepo/
</url>
141 <enabled>true
</enabled>
142 <updatePolicy>always
</updatePolicy>
145 <enabled>true
</enabled>
146 <updatePolicy>always
</updatePolicy>
149 <!-- apache incubating repository -->
151 <id>ApacheIncubating
</id>
152 <url>http://people.apache.org/repo/m2-incubating-repository/
</url>
156 <!-- **** PLUGINS **** -->
159 <!-- ${basedir}/src/main/resources -->
161 <!-- replace the project-version placeholder in the version.properties
162 file. This property can then be used to retrieve the version number in the
164 <targetPath>${project.build.directory}/classes
</targetPath>
165 <filtering>true
</filtering>
166 <directory>${basedir}/src/main/resources
</directory>
168 <include>version.properties
</include>
172 <!-- all other files in classes -->
173 <targetPath>${project.build.directory}/classes
</targetPath>
174 <directory>${basedir}/src/main/resources
</directory>
176 <exclude>version.properties
</exclude>
179 <!-- ${basedir}/src/main/installer/win32 -->
181 <targetPath>${project.build.directory}/installer
</targetPath>
182 <filtering>true
</filtering>
183 <directory>${basedir}/src/main/installer
</directory>
185 <include>win32/program-folder/etc/CDMServer.conf
</include>
186 <include>win32/setup.nsi
</include>
190 <targetPath>${project.build.directory}/installer
</targetPath>
191 <directory>${basedir}/src/main/installer
</directory>
193 <exclude>win32/program-folder/etc/CDMServer.conf
</exclude>
194 <exclude>win32/setup.nsi
</exclude>
199 <!-- ====== IDE ====== -->
201 <groupId>org.apache.maven.plugins
</groupId>
202 <artifactId>maven-eclipse-plugin
</artifactId>
203 <version>2.9</version>
205 <downloadSources>true
</downloadSources>
206 <downloadJavadocs>true
</downloadJavadocs>
211 <!-- only needed for testing the svn credentials credentials are
212 usually stored by svn automatically unless not configured differently in
213 {user.home}\.subversion\config So in order to use a specific svn account
214 with maven firts to a commit manually by svn ci -m "commit message" and answer
215 the question wether to store the credential with yes. There is no specific
216 maven configuration required for svn to work with maven! -->
217 <groupId>org.apache.maven.plugins
</groupId>
218 <artifactId>maven-scm-plugin
</artifactId>
219 <version>1.9.2</version>
221 <connectionType>developerConnection
</connectionType>
224 <!-- ====== CREATE ====== -->
226 <groupId>org.apache.maven.plugins
</groupId>
227 <artifactId>maven-resources-plugin
</artifactId>
228 <version>2.7</version>
231 <groupId>org.apache.maven.plugins
</groupId>
232 <artifactId>maven-compiler-plugin
</artifactId>
233 <version>3.2</version>
240 <groupId>org.apache.maven.plugins
</groupId>
241 <artifactId>maven-surefire-plugin
</artifactId>
242 <version>2.18.1</version>
244 <argLine>-Xmx512M
</argLine>
246 <include>**/*Test.java
</include>
250 <name>hibernate.connection.driver_class
</name>
251 <value>${hibernate.connection.driver_class}
</value>
254 <name>hibernate.connection.url
</name>
255 <value>${hibernate.connection.url}
</value>
258 <name>hibernate.connection.username
</name>
259 <value>${hibernate.connection.username}
</value>
262 <name>hibernate.connection.password
</name>
263 <value>${hibernate.connection.password}
</value>
268 <!-- ====== CREATE ====== -->
270 <groupId>org.codehaus.mojo
</groupId>
271 <artifactId>buildnumber-maven-plugin
</artifactId>
272 <version>1.3</version>
275 <!--<phase>deploy</phase> -->
282 <doCheck>false
</doCheck>
283 <!-- Only create the build number if there are no local modifications -->
284 <doUpdate>false
</doUpdate>
285 <!-- automatically update the local svn copy -->
289 <groupId>org.apache.maven.plugins
</groupId>
290 <artifactId>maven-site-plugin
</artifactId>
291 <version>3.4</version>
293 <locales>en
</locales>
294 <outputEncoding>UTF-
8</outputEncoding>
298 <!-- ====== VERIFY ====== -->
300 <groupId>org.apache.maven.plugins
</groupId>
301 <artifactId>maven-source-plugin
</artifactId>
302 <version>2.4</version>
305 <id>attach-sources
</id>
306 <phase>verify
</phase>
314 <groupId>org.apache.maven.plugins
</groupId>
315 <artifactId>maven-javadoc-plugin
</artifactId>
316 <version>2.10.2</version>
318 <aggregate>true
</aggregate>
319 <stylesheet>maven
</stylesheet>
323 <!-- ====== PROCESS-SOURCES ====== -->
325 <groupId>org.apache.maven.plugins
</groupId>
326 <artifactId>maven-dependency-plugin
</artifactId>
327 <version>2.10</version>
335 <silent>flase
</silent>
336 <stripVersion>true
</stripVersion>
337 <overWriteSnapshots>true
</overWriteSnapshots>
338 <overWriteIfNewer>true
</overWriteIfNewer>
339 <overWriteReleases>true
</overWriteReleases>
342 <!-- copy the cdm-webapp-${project.version}.war
344 <groupId>eu.etaxonomy
</groupId>
345 <artifactId>cdm-webapp
</artifactId>
346 <version>${project.version}
</version>
348 <!-- <classifier> [classifier - optional] </classifier> -->
349 <overWrite>true
</overWrite>
350 <destFileName>cdm-webapp-${project.version}.war
</destFileName>
352 ${project.build.directory}
361 <!-- ====== PACKAGE ====== -->
362 <!-- package the default webapp, // (and also add the cdm-webapp.war)
363 test with: mvn war:war -->
365 <groupId>org.apache.maven.plugins
</groupId>
366 <artifactId>maven-war-plugin
</artifactId>
367 <version>2.6</version>
369 <warName>default-webapp
</warName>
373 <!-- <overlays> <overlay> <groupId>eu.etaxonomy</groupId> <artifactId>cdm-webapp</artifactId>
374 <!- - version is set in dependency - -> <skip>true</skip> <!- - Do Not overlay
375 - -> </overlay> </overlays> -->
379 <phase>package
</phase>
386 <!-- ====== INSTALL ====== -->
388 <!-- Assemble the runnable server jar test with: mvn assembly:single -->
389 <groupId>org.apache.maven.plugins
</groupId>
390 <artifactId>maven-assembly-plugin
</artifactId>
391 <version>2.5.3</version>
393 <appendAssemblyId>false
</appendAssemblyId>
395 <descriptor>src/main/assembly/assembly.xml
</descriptor>
399 <mainClass>eu.etaxonomy.cdm.server.Bootloader
</mainClass>
400 <addDefaultImplementationEntries>true
</addDefaultImplementationEntries>
401 <addDefaultSpecificationEntries>true
</addDefaultSpecificationEntries>
407 <id>make-assembly
</id>
408 <phase>install
</phase>
410 <goal>attached
</goal>
416 <!-- Build a Debian package -->
417 <groupId>org.apache.maven.plugins
</groupId>
418 <artifactId>maven-antrun-plugin
</artifactId>
419 <version>1.8</version>
422 <phase>install
</phase>
425 <property name=
"project.fullversionstring" value=
"${project.version}" />
426 <property name=
"project.version" value=
"${project.version}" />
427 <ant antfile=
"${project.basedir}/src/main/installer/linux/build-deb.xml" dir=
"${project.basedir}" />
436 <!-- Build windows installer -->
438 <groupId>org.codehaus.mojo
</groupId>
439 <artifactId>exec-maven-plugin
</artifactId>
440 <version>1.3.2</version>
443 <phase>install
</phase>
450 <executable>makensis
</executable>
452 <workingDirectory>/tmp
</workingDirectory>
454 <!-- <argument>-V3</argument> -->
455 <argument>${project.basedir}/target/installer/win32/setup.nsi
</argument>
459 <!-- ====== DEPLOY ====== -->
461 <groupId>org.apache.maven.plugins
</groupId>
462 <artifactId>maven-deploy-plugin
</artifactId>
463 <version>2.8.2</version>
466 <groupId>external.atlassian.jgitflow
</groupId>
467 <artifactId>jgitflow-maven-plugin
</artifactId>
468 <version>1.0-m6
</version>
470 <pushHotfixes>true
</pushHotfixes>
471 <pushReleases>true
</pushReleases>
472 <enableSshAgent>true
</enableSshAgent>
473 <allowSnapshots>true
</allowSnapshots>
474 <allowUntracked>true
</allowUntracked>
478 upgrading dependency jsch.agent.version of jgit-flow plugin to 0.1.53
479 in order have ssl key exchange algorithms compatible with openssh 6.7
482 <groupId>com.jcraft
</groupId>
483 <artifactId>jsch
</artifactId>
484 <version>0.1.53</version>
489 <groupId>org.codehaus.mojo
</groupId>
490 <artifactId>wagon-maven-plugin
</artifactId>
491 <version>1.0</version>
492 <!-- Problems with the wagon-maven-plugin have been encounterd on
493 Windows, it should work properly on linux though. -->
496 <phase>deploy
</phase>
503 <fromDir>target
</fromDir>
504 <includes>*${project.version}*.deb,*${project.version}*.jar,*${project.version}*.exe
</includes>
505 <url>scpexe://wp5.e-taxonomy.eu/var/www/download/cdmserver/${project.version}
</url>
506 <serverId>wp5.e-taxonomy.eu
</serverId>
513 <groupId>org.apache.maven.wagon
</groupId>
514 <artifactId>wagon-scm
</artifactId>
515 <version>1.0-beta-
6</version>
518 <groupId>org.apache.maven.wagon
</groupId>
519 <artifactId>wagon-ssh
</artifactId>
520 <version>1.0-beta-
6</version>
523 <groupId>org.apache.maven.wagon
</groupId>
524 <artifactId>wagon-ssh-external
</artifactId>
525 <version>1.0-beta-
6</version>
528 <groupId>org.apache.maven.scm
</groupId>
529 <artifactId>maven-scm-manager-plexus
</artifactId>
530 <version>1.0</version>
533 <groupId>org.apache.maven.scm
</groupId>
534 <artifactId>maven-scm-provider-svnexe
</artifactId>
535 <version>1.0</version>
537 <!-- WebDAV plugin to upload snapshots -->
539 <groupId>org.apache.maven.wagon
</groupId>
540 <artifactId>wagon-webdav
</artifactId>
541 <version>1.0-beta-
2</version>
549 <!-- you will want to start by publishing your classes' Javadocs -->
550 <groupId>org.apache.maven.plugins
</groupId>
551 <artifactId>maven-javadoc-plugin
</artifactId>
554 <link>http://java.sun.com/j2se/
1.6.0/docs/api/
</link>
555 <!-- more libraries? -->
560 <!-- this will generate an indexed and cross-referenced HTML version
561 of your source code -->
562 <groupId>org.apache.maven.plugins
</groupId>
563 <artifactId>maven-jxr-plugin
</artifactId>
564 <version>2.5</version>
567 <!-- if you use @todo tags to remind you of things to be done (which
568 is a good coding practice), the taglist report will generate a list of all
569 the items marked @todo or TODO -->
570 <groupId>org.codehaus.mojo
</groupId>
571 <artifactId>taglist-maven-plugin
</artifactId>
572 <version>2.4</version>
575 <!-- Test coverage can be a useful indication of the quality of your
576 unit tests. It basically tells you how much of your code is actually run
577 by your unit tests, which, in turn, can give you a good idea of the tests'
579 <groupId>org.codehaus.mojo
</groupId>
580 <artifactId>cobertura-maven-plugin
</artifactId>
581 <version>2.7</version>
587 <!-- DISTRIBUTION MANAGEMENT -->
588 <distributionManagement>
590 <id>wp5.e-taxonomy.eu
</id>
592 scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/cdm-server
596 <uniqueVersion>false
</uniqueVersion>
597 <id>wp5.e-taxonomy.eu
</id>
598 <name>Edit Maven Repository
</name>
600 scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo
603 </distributionManagement>
606 <!-- maven 3 no longer supports uniqueVersions for SNAPSHOT artifacts.
607 The cdm-server Bootlader however relies on a specific name of the cdm-webapp
608 war file. In order to achieve this with maven 3 the below dependency is now
609 handled more explicitely by utilizing the dependency:copy-dependencies gloal
610 in the build/plugins section -->
611 <!-- <dependency> -->
612 <!-- <groupId>eu.etaxonomy</groupId> -->
613 <!-- <artifactId>cdm-webapp</artifactId> -->
614 <!-- <version>${project.version}</version> -->
615 <!-- <type>war</type> -->
616 <!-- </dependency> -->
620 <groupId>org.eclipse.jetty
</groupId>
621 <artifactId>jetty-webapp
</artifactId>
622 <version>${jetty-version}
</version>
625 <groupId>org.eclipse.jetty
</groupId>
626 <artifactId>jetty-plus
</artifactId>
627 <version>${jetty-version}
</version>
630 <groupId>org.eclipse.jetty
</groupId>
631 <artifactId>jetty-jmx
</artifactId>
632 <version>${jetty-version}
</version>
635 <groupId>org.eclipse.jetty
</groupId>
636 <artifactId>jetty-security
</artifactId>
637 <version>${jetty-version}
</version>
640 <groupId>org.eclipse.jetty
</groupId>
641 <artifactId>jetty-annotations
</artifactId>
642 <version>${jetty-version}
</version>
645 <groupId>org.eclipse.jetty
</groupId>
646 <artifactId>apache-jsp
</artifactId>
647 <version>${jetty-version}
</version>
651 <groupId>org.eclipse.jetty
</groupId>
652 <artifactId>apache-jstl
</artifactId>
653 <version>${jetty-version}
</version>
657 <groupId>javax.el
</groupId>
658 <artifactId>el-api
</artifactId>
659 <version>2.2</version>
662 <groupId>el-impl
</groupId>
663 <artifactId>el-impl
</artifactId>
664 <version>1.0</version>
667 <groupId>javax.transaction
</groupId>
668 <artifactId>jta
</artifactId>
669 <version>1.1</version>
673 <groupId>org.codehaus.jackson
</groupId>
674 <artifactId>jackson-mapper-asl
</artifactId>
675 <version>1.8.8</version>
677 <!-- windows service -->
679 <groupId>tanukisoft
</groupId>
680 <artifactId>wrapper
</artifactId>
681 <version>3.2.3</version>
686 <groupId>org.slf4j
</groupId>
687 <artifactId>slf4j-api
</artifactId>
688 <version>1.7.2</version>
691 <groupId>org.slf4j
</groupId>
692 <artifactId>slf4j-log4j12
</artifactId>
693 <version>1.7.2</version>
696 <groupId>commons-cli
</groupId>
697 <artifactId>commons-cli
</artifactId>
698 <version>1.2</version>
701 <groupId>commons-io
</groupId>
702 <artifactId>commons-io
</artifactId>
703 <version>2.4</version>
706 <groupId>commons-collections
</groupId>
707 <artifactId>commons-collections
</artifactId>
708 <version>3.2.1</version>
711 <groupId>net.sf.jopt-simple
</groupId>
712 <artifactId>jopt-simple
</artifactId>
713 <version>3.2</version>
716 <groupId>com.mchange
</groupId>
717 <artifactId>c3p0
</artifactId>
718 <version>0.9.2</version><!-- version 0.9.5 is causing connection to get lost from jndi, needs further testing ... -->
720 <!-- DATABASE DRIVER -->
722 <groupId>mysql
</groupId>
723 <artifactId>mysql-connector-java
</artifactId>
724 <version>5.1.24</version>