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 <groupId>eu.etaxonomy.cdm
</groupId>
5 <artifactId>app-parent
</artifactId>
6 <version>3.2.0-SNAPSHOT
</version>
7 <name>CDM Applications Parent
</name>
8 <description>The Java implementation of the Common Data Model (CDM), the data model for EDIT's internet platform for cybertaxonomy.
</description>
9 <url>http://wp5.e-taxonomy.eu/cdmlib/
</url>
10 <inceptionYear>2007</inceptionYear>
11 <packaging>pom
</packaging>
13 <module>cdmlib-commons
</module>
14 <module>cdmlib-model
</module>
15 <module>cdmlib-persistence
</module>
16 <module>cdmlib-services
</module>
17 <module>cdmlib-ext
</module>
18 <module>cdmlib-io
</module>
19 <module>cdmlib-remote
</module>
20 <module>cdmlib-print
</module>
21 <module>cdmlib-remote-webapp
</module>
24 <java.codelevel
>1.6</java.codelevel
>
25 <project.build.sourceEncoding
>UTF-
8</project.build.sourceEncoding
>
29 <name>Mozilla Public License Version
1.1</name>
30 <url>http://www.mozilla.org/MPL/MPL-
1.1.html
</url>
31 <distribution>repo
</distribution>
36 <url>http://www.e-taxonomy.eu/
</url>
40 <url>http://dev.e-taxonomy.eu/trac/
</url>
43 <system>Hudson
</system>
44 <url>http://
160.45.63.201/jenkins
</url>
46 <!-- **** REPOSITORIES **** -->
48 <!-- sun repository -->
51 <url>http://download.java.net/maven/
1/
</url>
53 <!-- the cdm internal repository -->
55 <id>EditRepository
</id>
56 <url>http://wp5.e-taxonomy.eu/mavenrepo/
</url>
58 <!-- apache incubating repository -->
60 <id>ApacheIncubating
</id>
61 <url>http://people.apache.org/repo/m2-incubating-repository/
</url>
63 <!-- Neccessary for hibernate-envers -->
66 <enabled>true
</enabled>
67 <updatePolicy>always
</updatePolicy>
68 <checksumPolicy>warn
</checksumPolicy>
71 <enabled>false
</enabled>
72 <updatePolicy>never
</updatePolicy>
73 <checksumPolicy>fail
</checksumPolicy>
75 <id>jboss-repository
</id>
76 <name>JBoss Repository
</name>
77 <url>http://repository.jboss.com
</url>
79 <!-- codehaus mule repository needed for yourkit -->
81 <id>CodehausMuleRepository
</id>
82 <url>http://dist.codehaus.org/mule/dependencies/maven2/
</url>
84 <!-- current spring source repositories -->
86 <id>SpringSource Enterprise Bundle Repository - External Bundle Milestones
</id>
87 <url>http://repository.springsource.com/maven/bundles/milestone
</url>
90 <id>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases
</id>
91 <url>http://repository.springsource.com/maven/bundles/release
</url>
94 <id>SpringSource Enterprise Bundle Repository - External Bundle Releases
</id>
95 <url>http://repository.springsource.com/maven/bundles/external
</url>
97 <!-- for ikey-plus -->
100 <name>Maven Repository for iText
</name>
101 <url>http://maven.itextpdf.com/
</url>
104 <!-- **** PLUGINS **** -->
108 <groupId>org.apache.maven.plugins
</groupId>
109 <artifactId>maven-compiler-plugin
</artifactId>
111 <source>${java.codelevel}
</source>
112 <target>${java.codelevel}
</target>
113 <encoding>UTF-
8</encoding>
115 <version>2.3.2</version>
118 <groupId>org.apache.maven.plugins
</groupId>
119 <artifactId>maven-surefire-plugin
</artifactId>
121 <argLine>-Xmx512M -XX:MaxPermSize=
128M
</argLine>
122 <runOrder>alphabetical
</runOrder>
124 <include>**/*Test.java
</include>
127 <version>2.12</version>
130 <groupId>org.codehaus.mojo
</groupId>
131 <artifactId>buildnumber-maven-plugin
</artifactId>
132 <version>1.0-beta-
3</version>
135 <!--<phase>deploy</phase>-->
142 <doCheck>false
</doCheck>
143 <!-- Only create the build number if there are no local modifications -->
144 <doUpdate>false
</doUpdate>
145 <!-- automatically update the local svn copy -->
149 <groupId>org.apache.maven.plugins
</groupId>
150 <artifactId>maven-site-plugin
</artifactId>
151 <version>3.0</version>
153 <locales>en
</locales>
154 <outputEncoding>UTF-
8</outputEncoding>
158 <groupId>org.apache.maven.plugins
</groupId>
159 <artifactId>maven-source-plugin
</artifactId>
160 <version>2.1.2</version>
163 <id>attach-sources
</id>
164 <phase>verify
</phase>
172 <groupId>org.apache.maven.plugins
</groupId>
173 <artifactId>maven-javadoc-plugin
</artifactId>
174 <version>2.7</version>
176 <stylesheet>maven
</stylesheet>
178 <detectLinks>true
</detectLinks>
179 <failOnError>false
</failOnError>
185 <goal>aggregate
</goal>
192 <groupId>org.apache.maven.plugins
</groupId>
193 <artifactId>maven-eclipse-plugin
</artifactId>
194 <version>2.9</version>
196 <downloadSources>true
</downloadSources>
197 <downloadJavadocs>true
</downloadJavadocs>
201 <groupId>com.agilejava.docbkx
</groupId>
202 <artifactId>docbkx-maven-plugin
</artifactId>
203 <version>2.0.9</version>
207 <goal>generate-html
</goal>
208 <goal>generate-pdf
</goal>
210 <phase>pre-site
</phase>
215 <groupId>org.docbook
</groupId>
216 <artifactId>docbook-xml
</artifactId>
217 <version>4.4</version>
218 <scope>runtime
</scope>
222 <includes>ReferenceDocumentation.xml
</includes>
223 <chunkedOutput>true
</chunkedOutput>
224 <htmlStylesheet>resources/css/html.css
</htmlStylesheet>
225 <xincludeSupported>true
</xincludeSupported>
226 <!--<htmlCustomization>src/docbkx/resources/xsl/html_chunk.xsl</htmlCustomization>-->
227 <!-- if anyone can get the xsl-fo customization to work properly, then by all
229 <foCustomization>src/docbkx/resources/xsl/fopdf.xsl</foCustomization>
234 <value>${project.version}
</value>
237 <!--We want the final documentation and the required resources to end up in
240 <copy todir=
"target/site/reference">
241 <fileset dir=
"target/docbkx">
242 <include name=
"**/*.html" />
243 <include name=
"**/*.pdf" />
246 <copy todir=
"target/site/reference/html">
247 <fileset dir=
"src/docbkx">
248 <include name=
"**/*.css" />
249 <include name=
"**/*.png" />
250 <include name=
"**/*.gif" />
251 <include name=
"**/*.jpg" />
258 <groupId>org.codehaus.mojo
</groupId>
259 <artifactId>wagon-maven-plugin
</artifactId>
260 <version>1.0-beta-
3</version>
262 <fromDir>${project.build.directory}/docbkx/
</fromDir>
263 <includes>**/*
</includes>
265 <url>scpexe://wp5.e-taxonomy.eu
</url>
266 <serverId>wp5.e-taxonomy.eu
</serverId>
267 <toDir>var/www/wp5.e-taxonomy.eu/cdmlib/reference/${project.version}
</toDir>
271 <id>upload-reference-documentation
</id>
272 <phase>site-deploy
</phase>
281 <!-- **** DEPENDENCIES **** -->
284 <groupId>junit</groupId>
285 <artifactId>junit</artifactId>
288 <groupId>log4j</groupId>
289 <artifactId>log4j</artifactId>
292 <dependencyManagement>
295 <groupId>eu.etaxonomy
</groupId>
296 <artifactId>cdmlib-io
</artifactId>
297 <version>${project.version}
</version>
300 </dependencyManagement>