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.0.4-SNAPSHOT
</version>
8 <packaging>jar
</packaging>
9 <name>CDM Community Standalone Server
</name>
12 <jetty-version>7.2.2.v20101205
</jetty-version>
17 see section Provider Configuration in http://maven.apache.org/scm/subversion.html
18 for instructions on how to externalize credentials in $user.home/.scm/svn-settings.xml
20 <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdm-server
</connection>
21 <developerConnection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdm-server
</developerConnection>
22 <url>http://dev.e-taxonomy.eu/trac/browser/trunk/cdm-server
</url>
29 https://webmail.mnhn.fr/wws/subrequest/dev-edit
32 https://webmail.mnhn.fr/wws/sigrequest/dev-edit
34 <post>dev-edit@mnhn.fr
</post>
35 <archive>https://webmail.mnhn.fr/wws/arc/dev-edit/
</archive>
39 <post>cdm-edit@mnhn.fr
</post>
41 https://webmail.mnhn.fr/wws/subrequest/cdm-edit
44 https://webmail.mnhn.fr/wws/sigrequest/cdm-edit
46 <archive>https://webmail.mnhn.fr/wws/arc/cdm-edit/
</archive>
51 <name>Mozilla Public License Version
1.1</name>
52 <url>http://www.mozilla.org/MPL/MPL-
1.1.html
</url>
53 <distribution>repo
</distribution>
58 <!-- your SVN account id please! -->
63 <email>a.kohlbecker [at] bgbm.org
</email>
65 Botanical Garden Botanical Museum Berlin
67 <organizationUrl>http://www.bgbm.org/BioDivInf/
</organizationUrl>
68 <timezone>+
1</timezone>
70 <role>Developer
</role>
77 contributors> <contributor> <name>Test-Contributor</name>
78 </contributor> </contributors -->
81 <url>http://dev.e-taxonomy.eu/trac/
</url>
84 <system>Jenkins
</system>
85 <url>http://
160.45.63.201/jenkins
</url>
87 <!-- **** REPOSITORIES **** -->
89 <!-- sun repository -->
92 <url>http://download.java.net/maven/
1/
</url>
93 <layout>legacy
</layout>
95 <!-- the cdm internal repository -->
97 <id>EditRepository
</id>
98 <url>http://wp5.e-taxonomy.eu/cdmlib/mavenrepo/
</url>
100 <!-- apache incubating repository -->
102 <id>ApacheIncubating
</id>
103 <url>http://people.apache.org/repo/m2-incubating-repository/
</url>
105 <!-- Neccessary for hibernate-envers -->
108 <enabled>true
</enabled>
109 <updatePolicy>always
</updatePolicy>
110 <checksumPolicy>warn
</checksumPolicy>
113 <enabled>false
</enabled>
114 <updatePolicy>never
</updatePolicy>
115 <checksumPolicy>fail
</checksumPolicy>
117 <id>jboss-repository
</id>
118 <name>JBoss Repository
</name>
119 <url>http://repository.jboss.com/maven2
</url>
121 <!-- current spring source repositories -->
123 <id>SpringSource Enterprise Bundle Repository - External Bundle Milestones
</id>
124 <url>http://repository.springsource.com/maven/bundles/milestone
</url>
127 <id>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases
</id>
128 <url>http://repository.springsource.com/maven/bundles/release
</url>
131 <id>SpringSource Enterprise Bundle Repository - External Bundle Releases
</id>
132 <url>http://repository.springsource.com/maven/bundles/external
</url>
136 <!-- **** PLUGINS **** -->
141 replace the project-version placeholder in the version.properties file.
142 This property can then be used to retrieve the version number in the Bootloader
144 <targetPath>${project.build.directory}/classes
</targetPath>
145 <filtering>true
</filtering>
146 <directory>${basedir}/src/main/resources
</directory>
148 <include>version.properties
</include>
153 all other files in classes
155 <targetPath>${project.build.directory}/classes
</targetPath>
156 <directory>${basedir}/src/main/resources
</directory>
158 <exclude>version.properties
</exclude>
165 only needed for testing the svn credentials
166 credentials are usually stored by svn automatically
167 unless not configured differently in
168 {user.home}\.subversion\config
169 So in order to use a specific svn account with maven
170 firts to a commit manually by svn ci -m "commit message"
171 and answer the question wether to store the credential
173 There is no specific maven configuration required for
174 svn to work with maven!
176 <groupId>org.apache.maven.plugins
</groupId>
177 <artifactId>maven-scm-plugin
</artifactId>
178 <version>1.5</version>
180 <connectionType>developerConnection
</connectionType>
184 <artifactId>maven-compiler-plugin
</artifactId>
191 <groupId>org.apache.maven.plugins
</groupId>
192 <artifactId>maven-release-plugin
</artifactId>
193 <version>2.1</version>
195 <allowTimestampedSnapshots>true
</allowTimestampedSnapshots>
196 <autoVersionSubmodules>false
</autoVersionSubmodules>
197 <preparationGoals>clean verify install
</preparationGoals>
198 <tagBase>http://dev.e-taxonomy.eu/svn/tags/cdm-server
</tagBase>
202 <artifactId>maven-surefire-plugin
</artifactId>
204 <argLine>-Xmx512M
</argLine>
206 <include>**/*Test.java
</include>
210 <name>hibernate.connection.driver_class
</name>
211 <value>${hibernate.connection.driver_class}
</value>
214 <name>hibernate.connection.url
</name>
215 <value>${hibernate.connection.url}
</value>
218 <name>hibernate.connection.username
</name>
219 <value>${hibernate.connection.username}
</value>
222 <name>hibernate.connection.password
</name>
223 <value>${hibernate.connection.password}
</value>
229 <groupId>org.codehaus.mojo
</groupId>
230 <artifactId>buildnumber-maven-plugin
</artifactId>
231 <version>1.0-beta-
3</version>
234 <!--<phase>deploy</phase>-->
241 <doCheck>false
</doCheck>
243 Only create the build number if there are no local modifications
245 <doUpdate>false
</doUpdate>
247 automatically update the local svn copy
252 <groupId>org.apache.maven.plugins
</groupId>
253 <artifactId>maven-site-plugin
</artifactId>
254 <version>2.1.1</version>
256 <locales>en
</locales>
260 <groupId>org.apache.maven.plugins
</groupId>
261 <artifactId>maven-source-plugin
</artifactId>
264 <id>attach-sources
</id>
265 <phase>verify
</phase>
273 <groupId>org.apache.maven.plugins
</groupId>
274 <artifactId>maven-javadoc-plugin
</artifactId>
276 <aggregate>true
</aggregate>
277 <stylesheet>maven
</stylesheet>
281 <groupId>org.apache.maven.plugins
</groupId>
282 <artifactId>maven-eclipse-plugin
</artifactId>
284 <downloadSources>true
</downloadSources>
285 <downloadJavadocs>true
</downloadJavadocs>
290 package the default webapp, and also add the
291 cdmlib-remote-webapp.war
292 test with: mvn war:war
295 <groupId>org.apache.maven.plugins
</groupId>
296 <artifactId>maven-war-plugin
</artifactId>
297 <version>2.1-beta-
1</version>
299 <warName>default-webapp
</warName>
302 <groupId>eu.etaxonomy
</groupId>
303 <artifactId>cdmlib-remote-webapp
</artifactId>
304 <!-- version is set in dependency -->
305 <skip>true
</skip><!-- Do Not overlay -->
311 <phase>package
</phase>
320 Assemble the runnable server jar
321 test with: mvn assembly:single
323 <artifactId>maven-assembly-plugin
</artifactId>
325 <appendAssemblyId>false
</appendAssemblyId>
327 <descriptor>src/main/assembly/assembly.xml
</descriptor>
331 <mainClass>eu.etaxonomy.cdm.server.Bootloader
</mainClass>
332 <addDefaultImplementationEntries>true
</addDefaultImplementationEntries>
333 <addDefaultSpecificationEntries>true
</addDefaultSpecificationEntries>
339 <id>make-assembly
</id>
340 <phase>install
</phase>
342 <goal>attached
</goal>
349 Build a Debian package
351 <artifactId>maven-antrun-plugin
</artifactId>
352 <version>1.3</version>
355 <phase>install
</phase>
358 <property name=
"project.fullversionstring" value=
"${project.version}" />
359 <property name=
"project.version" value=
"${project.version}" />
360 <ant antfile=
"${project.basedir}/src/main/installer/linux/build-deb.xml" dir=
"${project.basedir}" />
372 Upload the installer to the download site on the server
375 USAGE: http://myfaces.apache.org/wagon-maven-plugin/usage.html
377 <groupId>org.apache.myfaces.maven
</groupId>
378 <artifactId>wagon-maven-plugin
</artifactId>
379 <version>1.0.6</version>
381 <id>wp5.e-taxonomy.eu
</id>
382 <url>scpexe://
160.45.63.151/var/www/download/cdmserver/${project.version}
</url>
383 <inputDirectory>target/installer
</inputDirectory>
387 <id>upload-binaries
</id>
388 <phase>deploy
</phase>
399 <groupId>org.apache.maven.wagon
</groupId>
400 <artifactId>wagon-scm
</artifactId>
401 <version>1.0-alpha-
5</version>
404 <groupId>org.apache.maven.wagon
</groupId>
405 <artifactId>wagon-ssh
</artifactId>
406 <version>1.0-beta-
7</version>
409 <groupId>org.apache.maven.scm
</groupId>
410 <artifactId>maven-scm-manager-plexus
</artifactId>
411 <version>1.0</version>
414 <groupId>org.apache.maven.scm
</groupId>
415 <artifactId>maven-scm-provider-svnexe
</artifactId>
416 <version>1.0</version>
418 <!-- WebDAV plugin to upload snapshots -->
420 <groupId>org.apache.maven.wagon
</groupId>
421 <artifactId>wagon-webdav
</artifactId>
422 <version>1.0-beta-
2</version>
430 <!-- you will want to start by publishing your classes' Javadocs -->
431 <groupId>org.apache.maven.plugins
</groupId>
432 <artifactId>maven-javadoc-plugin
</artifactId>
435 <link>http://java.sun.com/j2se/
1.6.0/docs/api/
</link>
436 <link>http://static.springframework.org/spring/docs/
2.5.x/api/
</link>
437 <link>http://www.hibernate.org/hib_docs/v3/api/
</link>
438 <!-- more libraries? -->
444 this will generate an indexed and cross-referenced HTML version of
447 <groupId>org.apache.maven.plugins
</groupId>
448 <artifactId>maven-jxr-plugin
</artifactId>
452 if you use @todo tags to remind you of things to be done (which is
453 a good coding practice), the taglist report will generate a list of
454 all the items marked @todo or TODO
456 <groupId>org.codehaus.mojo
</groupId>
457 <artifactId>taglist-maven-plugin
</artifactId>
461 Test coverage can be a useful indication of the quality of your
462 unit tests. It basically tells you how much of your code is
463 actually run by your unit tests, which, in turn, can give you a
464 good idea of the tests' quality
466 <groupId>org.codehaus.mojo
</groupId>
467 <artifactId>cobertura-maven-plugin
</artifactId>
473 <!-- DISTRIBUTION MANAGEMENT -->
474 <distributionManagement>
476 <id>wp5.e-taxonomy.eu
</id>
478 scpexe://
160.45.63.151/var/www/wp5.e-taxonomy.eu/cdm-server/
482 <id>wp5.e-taxonomy.eu
</id>
483 <name>Edit Maven Repository
</name>
485 scpexe://
160.45.63.151/var/www/wp5.e-taxonomy.eu/cdmlib/mavenrepo
488 </distributionManagement>
492 <groupId>eu.etaxonomy
</groupId>
493 <artifactId>cdmlib-remote-webapp
</artifactId>
494 <version>${project.version}
</version>
500 <groupId>org.eclipse.jetty
</groupId>
501 <artifactId>jetty-webapp
</artifactId>
502 <version>${jetty-version}
</version>
505 <groupId>org.eclipse.jetty
</groupId>
506 <artifactId>jetty-plus
</artifactId>
507 <version>${jetty-version}
</version>
510 <groupId>org.eclipse.jetty
</groupId>
511 <artifactId>jetty-webapp
</artifactId>
512 <version>${jetty-version}
</version>
515 <groupId>org.eclipse.jetty
</groupId>
516 <artifactId>jetty-jmx
</artifactId>
517 <version>${jetty-version}
</version>
520 <groupId>org.eclipse.jetty
</groupId>
521 <artifactId>jetty-security
</artifactId>
522 <version>${jetty-version}
</version>
525 <groupId>org.mortbay.jetty
</groupId>
526 <artifactId>jsp-
2.1-glassfish
</artifactId>
527 <version>9.1.1.B60.25.p2
</version>
530 <groupId>javax.transaction
</groupId>
531 <artifactId>jta
</artifactId>
532 <version>1.1</version>
536 <groupId>org.codehaus.jackson
</groupId>
537 <artifactId>jackson-mapper-asl
</artifactId>
538 <version>1.6.4</version>
540 <!-- windows service -->
542 <groupId>tanukisoft
</groupId>
543 <artifactId>wrapper
</artifactId>
544 <version>3.2.3</version>
549 <groupId>org.slf4j
</groupId>
550 <artifactId>slf4j-api
</artifactId>
551 <version>1.6.1</version>
554 <groupId>org.slf4j
</groupId>
555 <artifactId>slf4j-log4j12
</artifactId>
556 <version>1.6.1</version>
560 <groupId>commons-cli
</groupId>
561 <artifactId>commons-cli
</artifactId>
562 <version>1.2</version>
565 <groupId>commons-io
</groupId>
566 <artifactId>commons-io
</artifactId>
567 <version>1.4</version>
570 <groupId>net.sf.jopt-simple
</groupId>
571 <artifactId>jopt-simple
</artifactId>
572 <version>3.2</version>
575 <groupId>c3p0
</groupId>
576 <artifactId>c3p0
</artifactId>
577 <version>0.9.1</version>
579 <!-- DATABASE DRIVER -->
581 <groupId>mysql
</groupId>
582 <artifactId>mysql-connector-java
</artifactId>
583 <version>5.0.5</version>