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.2.1-SNAPSHOT
</version>
8 <packaging>jar
</packaging>
9 <name>CDM Community Standalone Server
</name>
12 <jetty-version>7.2.2.v20101205
</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>
27 https://webmail.mnhn.fr/wws/subrequest/dev-edit
30 https://webmail.mnhn.fr/wws/sigrequest/dev-edit
32 <post>dev-edit@mnhn.fr
</post>
33 <archive>https://webmail.mnhn.fr/wws/arc/dev-edit/
</archive>
37 <post>cdm-edit@mnhn.fr
</post>
39 https://webmail.mnhn.fr/wws/subrequest/cdm-edit
42 https://webmail.mnhn.fr/wws/sigrequest/cdm-edit
44 <archive>https://webmail.mnhn.fr/wws/arc/cdm-edit/
</archive>
49 <name>Mozilla Public License Version
1.1</name>
50 <url>http://www.mozilla.org/MPL/MPL-
1.1.html
</url>
51 <distribution>repo
</distribution>
56 <!-- your SVN account id please! -->
61 <email>a.kohlbecker [at] bgbm.org
</email>
63 Botanical Garden Botanical Museum Berlin
65 <organizationUrl>http://www.bgbm.org/BioDivInf/
</organizationUrl>
66 <timezone>+
1</timezone>
68 <role>Developer
</role>
74 <!-- contributors> <contributor> <name>Test-Contributor</name> </contributor>
78 <url>http://dev.e-taxonomy.eu/trac/
</url>
81 <system>Jenkins
</system>
82 <url>http://
160.45.63.201/jenkins
</url>
84 <!-- **** REPOSITORIES **** -->
86 <!-- sun repository -->
89 <url>http://download.java.net/maven/
1/
</url>
90 <layout>legacy
</layout>
92 <!-- the localhost Maven Repository -->
94 <id>EditLocalRepository
</id>
96 disable the local repo to let maven always retrieve the
97 latest cdmlib-remote-webapp.war
99 TODO: use ${localrepo} for ${user.home}/.m2/repository
102 <url>file://${user.home}/.m2/repository/eu/etaxonomy/
</url>
104 <enabled>false
</enabled>
105 <updatePolicy>always
</updatePolicy>
108 <enabled>false
</enabled>
109 <updatePolicy>always
</updatePolicy>
112 <!-- the EDIT Maven Repository -->
114 <id>EditRepository
</id>
115 <url>http://wp5.e-taxonomy.eu/mavenrepo/
</url>
117 <enabled>true
</enabled>
118 <updatePolicy>always
</updatePolicy>
121 <enabled>true
</enabled>
122 <updatePolicy>always
</updatePolicy>
125 <!-- apache incubating repository -->
127 <id>ApacheIncubating
</id>
128 <url>http://people.apache.org/repo/m2-incubating-repository/
</url>
132 <!-- **** PLUGINS **** -->
135 <!-- ${basedir}/src/main/resources -->
137 <!-- replace the project-version placeholder in the version.properties
138 file. This property can then be used to retrieve the version number in the
140 <targetPath>${project.build.directory}/classes
</targetPath>
141 <filtering>true
</filtering>
142 <directory>${basedir}/src/main/resources
</directory>
144 <include>version.properties
</include>
148 <!-- all other files in classes -->
149 <targetPath>${project.build.directory}/classes
</targetPath>
150 <directory>${basedir}/src/main/resources
</directory>
152 <exclude>version.properties
</exclude>
155 <!-- ${basedir}/src/main/installer/win32 -->
157 <targetPath>${project.build.directory}/installer
</targetPath>
158 <filtering>true
</filtering>
159 <directory>${basedir}/src/main/installer
</directory>
161 <include>win32/program-folder/etc/CDMServer.conf
</include>
162 <include>win32/setup.nsi
</include>
166 <targetPath>${project.build.directory}/installer
</targetPath>
167 <directory>${basedir}/src/main/installer
</directory>
169 <exclude>win32/program-folder/etc/CDMServer.conf
</exclude>
170 <exclude>win32/setup.nsi
</exclude>
175 <!-- ====== IDE ====== -->
177 <groupId>org.apache.maven.plugins
</groupId>
178 <artifactId>maven-eclipse-plugin
</artifactId>
180 <downloadSources>true
</downloadSources>
181 <downloadJavadocs>true
</downloadJavadocs>
186 <!-- only needed for testing the svn credentials credentials are usually
187 stored by svn automatically unless not configured differently in {user.home}\.subversion\config
188 So in order to use a specific svn account with maven firts to a commit manually
189 by svn ci -m "commit message" and answer the question wether to store the
190 credential with yes. There is no specific maven configuration required for
191 svn to work with maven! -->
192 <groupId>org.apache.maven.plugins
</groupId>
193 <artifactId>maven-scm-plugin
</artifactId>
194 <version>1.5</version>
196 <connectionType>developerConnection
</connectionType>
199 <!-- ====== CREATE ====== -->
201 <artifactId>maven-compiler-plugin
</artifactId>
208 <artifactId>maven-surefire-plugin
</artifactId>
210 <argLine>-Xmx512M
</argLine>
212 <include>**/*Test.java
</include>
216 <name>hibernate.connection.driver_class
</name>
217 <value>${hibernate.connection.driver_class}
</value>
220 <name>hibernate.connection.url
</name>
221 <value>${hibernate.connection.url}
</value>
224 <name>hibernate.connection.username
</name>
225 <value>${hibernate.connection.username}
</value>
228 <name>hibernate.connection.password
</name>
229 <value>${hibernate.connection.password}
</value>
234 <!-- ====== CREATE ====== -->
236 <groupId>org.codehaus.mojo
</groupId>
237 <artifactId>buildnumber-maven-plugin
</artifactId>
238 <version>1.0-beta-
3</version>
241 <!--<phase>deploy</phase> -->
248 <doCheck>false
</doCheck>
249 <!-- Only create the build number if there are no local modifications -->
250 <doUpdate>false
</doUpdate>
251 <!-- automatically update the local svn copy -->
255 <groupId>org.apache.maven.plugins
</groupId>
256 <artifactId>maven-site-plugin
</artifactId>
257 <version>2.1.1</version>
259 <locales>en
</locales>
262 <!-- ====== VERIFY ====== -->
264 <groupId>org.apache.maven.plugins
</groupId>
265 <artifactId>maven-source-plugin
</artifactId>
268 <id>attach-sources
</id>
269 <phase>verify
</phase>
277 <groupId>org.apache.maven.plugins
</groupId>
278 <artifactId>maven-javadoc-plugin
</artifactId>
280 <aggregate>true
</aggregate>
281 <stylesheet>maven
</stylesheet>
285 <!-- ====== PROCESS-SOURCES ====== -->
287 <groupId>org.apache.maven.plugins
</groupId>
288 <artifactId>maven-dependency-plugin
</artifactId>
289 <version>2.6</version>
297 <silent>flase
</silent>
298 <stripVersion>true
</stripVersion>
299 <overWriteSnapshots>true
</overWriteSnapshots>
300 <overWriteIfNewer>true
</overWriteIfNewer>
301 <overWriteReleases>true
</overWriteReleases>
304 <groupId>eu.etaxonomy
</groupId>
305 <artifactId>cdmlib-remote-webapp
</artifactId>
306 <version>${project.version}
</version>
308 <!-- <classifier> [classifier - optional] </classifier> -->
309 <overWrite>true
</overWrite>
310 <destFileName>cdmlib-remote-webapp-${project.version}.war
</destFileName>
312 ${project.build.directory}/cdm-server-${project.version}
</outputDirectory>
320 <!-- ====== PACKAGE ====== -->
321 <!-- package the default webapp, // (and also add the cdmlib-remote-webapp.war)
322 test with: mvn war:war -->
324 <groupId>org.apache.maven.plugins
</groupId>
325 <artifactId>maven-war-plugin
</artifactId>
326 <version>2.1-beta-
1</version>
328 <warName>default-webapp
</warName>
329 <!-- <overlays> <overlay> <groupId>eu.etaxonomy</groupId> <artifactId>cdmlib-remote-webapp</artifactId>
330 <!- - version is set in dependency - -> <skip>true</skip><!- - Do Not overlay
331 - -> </overlay> </overlays> -->
335 <phase>package
</phase>
342 <!-- ====== INSTALL ====== -->
344 <!-- Assemble the runnable server jar test with: mvn assembly:single -->
345 <artifactId>maven-assembly-plugin
</artifactId>
347 <appendAssemblyId>false
</appendAssemblyId>
349 <descriptor>src/main/assembly/assembly.xml
</descriptor>
353 <mainClass>eu.etaxonomy.cdm.server.Bootloader
</mainClass>
354 <addDefaultImplementationEntries>true
</addDefaultImplementationEntries>
355 <addDefaultSpecificationEntries>true
</addDefaultSpecificationEntries>
361 <id>make-assembly
</id>
362 <phase>install
</phase>
364 <goal>attached
</goal>
370 <!-- Build a Debian package -->
371 <artifactId>maven-antrun-plugin
</artifactId>
372 <version>1.3</version>
375 <phase>install
</phase>
378 <property name=
"project.fullversionstring" value=
"${project.version}" />
379 <property name=
"project.version" value=
"${project.version}" />
380 <ant antfile=
"${project.basedir}/src/main/installer/linux/build-deb.xml" dir=
"${project.basedir}" />
389 <!-- Build windows installer -->
391 <groupId>org.codehaus.mojo
</groupId>
392 <artifactId>exec-maven-plugin
</artifactId>
393 <version>1.2.1</version>
396 <phase>install
</phase>
403 <executable>makensis
</executable>
405 <workingDirectory>/tmp
</workingDirectory>
407 <!-- <argument>-V3</argument> -->
408 <argument>${project.basedir}/target/installer/win32/setup.nsi
</argument>
412 <!-- ====== DEPLOY ====== -->
414 <groupId>org.apache.maven.plugins
</groupId>
415 <artifactId>maven-release-plugin
</artifactId>
416 <version>2.1</version>
418 <allowTimestampedSnapshots>true
</allowTimestampedSnapshots>
419 <autoVersionSubmodules>false
</autoVersionSubmodules>
420 <preparationGoals>clean verify install
</preparationGoals>
421 <goals>deploy
</goals><!-- skipping site-deploy by explicitly configuring
423 <tagBase>http://dev.e-taxonomy.eu/svn/tags/cdm-server
</tagBase>
427 <groupId>org.codehaus.mojo
</groupId>
428 <artifactId>wagon-maven-plugin
</artifactId>
429 <version>1.0-beta-
3</version>
430 <!-- Problems with the wagon-maven-plugin have been encounterd on Windows,
431 it should work properly on linux though. -->
434 <phase>deploy
</phase>
441 <fromDir>target
</fromDir>
442 <includes>*${project.version}*.deb,*${project.version}*.jar,*${project.version}*.exe
</includes>
443 <url>scpexe://wp5.e-taxonomy.eu/var/www/download/cdmserver/${project.version}
</url>
444 <serverId>wp5.e-taxonomy.eu
</serverId>
451 <groupId>org.apache.maven.wagon
</groupId>
452 <artifactId>wagon-scm
</artifactId>
453 <version>1.0-alpha-
5</version>
456 <groupId>org.apache.maven.wagon
</groupId>
457 <artifactId>wagon-ssh
</artifactId>
458 <version>1.0-beta-
7</version>
461 <groupId>org.apache.maven.scm
</groupId>
462 <artifactId>maven-scm-manager-plexus
</artifactId>
463 <version>1.0</version>
466 <groupId>org.apache.maven.scm
</groupId>
467 <artifactId>maven-scm-provider-svnexe
</artifactId>
468 <version>1.0</version>
470 <!-- WebDAV plugin to upload snapshots -->
472 <groupId>org.apache.maven.wagon
</groupId>
473 <artifactId>wagon-webdav
</artifactId>
474 <version>1.0-beta-
2</version>
482 <!-- you will want to start by publishing your classes' Javadocs -->
483 <groupId>org.apache.maven.plugins
</groupId>
484 <artifactId>maven-javadoc-plugin
</artifactId>
487 <link>http://java.sun.com/j2se/
1.6.0/docs/api/
</link>
488 <!-- more libraries? -->
493 <!-- this will generate an indexed and cross-referenced HTML version
494 of your source code -->
495 <groupId>org.apache.maven.plugins
</groupId>
496 <artifactId>maven-jxr-plugin
</artifactId>
499 <!-- if you use @todo tags to remind you of things to be done (which
500 is a good coding practice), the taglist report will generate a list of all
501 the items marked @todo or TODO -->
502 <groupId>org.codehaus.mojo
</groupId>
503 <artifactId>taglist-maven-plugin
</artifactId>
506 <!-- Test coverage can be a useful indication of the quality of your
507 unit tests. It basically tells you how much of your code is actually run
508 by your unit tests, which, in turn, can give you a good idea of the tests'
510 <groupId>org.codehaus.mojo
</groupId>
511 <artifactId>cobertura-maven-plugin
</artifactId>
517 <!-- DISTRIBUTION MANAGEMENT -->
518 <distributionManagement>
520 <id>wp5.e-taxonomy.eu
</id>
522 scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/cdm-server/
526 <uniqueVersion>false
</uniqueVersion>
527 <id>wp5.e-taxonomy.eu
</id>
528 <name>Edit Maven Repository
</name>
530 scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo
533 </distributionManagement>
536 <!-- maven 3 no longer supports uniqueVerions for SNAPSHOT artifacts. The
537 cdm-server Bootlader however relies on a specific name of the cdmlib-remote-webapp
538 war file. In order to achieve this with maven 3 the below dependency is now
539 handled more explicitely by utilizing the dependency:copy-dependencies gloal
540 in the build/plugins section <dependency> <groupId>eu.etaxonomy</groupId>
541 <artifactId>cdmlib-remote-webapp</artifactId> <version>${project.version}</version>
542 <type>war</type> </dependency> -->
546 <groupId>org.eclipse.jetty
</groupId>
547 <artifactId>jetty-webapp
</artifactId>
548 <version>${jetty-version}
</version>
551 <groupId>org.eclipse.jetty
</groupId>
552 <artifactId>jetty-plus
</artifactId>
553 <version>${jetty-version}
</version>
556 <groupId>org.eclipse.jetty
</groupId>
557 <artifactId>jetty-webapp
</artifactId>
558 <version>${jetty-version}
</version>
561 <groupId>org.eclipse.jetty
</groupId>
562 <artifactId>jetty-jmx
</artifactId>
563 <version>${jetty-version}
</version>
566 <groupId>org.eclipse.jetty
</groupId>
567 <artifactId>jetty-security
</artifactId>
568 <version>${jetty-version}
</version>
571 <groupId>org.mortbay.jetty
</groupId>
572 <artifactId>jsp-
2.1-glassfish
</artifactId>
573 <version>9.1.1.B60.25.p2
</version>
576 <groupId>javax.transaction
</groupId>
577 <artifactId>jta
</artifactId>
578 <version>1.1</version>
582 <groupId>org.codehaus.jackson
</groupId>
583 <artifactId>jackson-mapper-asl
</artifactId>
584 <version>1.8.8</version>
586 <!-- windows service -->
588 <groupId>tanukisoft
</groupId>
589 <artifactId>wrapper
</artifactId>
590 <version>3.2.3</version>
595 <groupId>org.slf4j
</groupId>
596 <artifactId>slf4j-api
</artifactId>
597 <version>1.7.2</version>
600 <groupId>org.slf4j
</groupId>
601 <artifactId>slf4j-log4j12
</artifactId>
602 <version>1.7.2</version>
605 <groupId>commons-cli
</groupId>
606 <artifactId>commons-cli
</artifactId>
607 <version>1.2</version>
610 <groupId>commons-io
</groupId>
611 <artifactId>commons-io
</artifactId>
612 <version>2.4</version>
615 <groupId>net.sf.jopt-simple
</groupId>
616 <artifactId>jopt-simple
</artifactId>
617 <version>3.2</version>
620 <groupId>com.mchange
</groupId>
621 <artifactId>c3p0
</artifactId>
622 <version>0.9.2</version>
624 <!-- DATABASE DRIVER -->
626 <groupId>mysql
</groupId>
627 <artifactId>mysql-connector-java
</artifactId>
628 <version>5.1.24</version>