last version ATImportActivator
[cdmlib-apps.git] / cdmapps-parent / 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 <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>
12 <modules>
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>
22 </modules>
23 <properties>
24 <java.codelevel>1.6</java.codelevel>
25 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
26 </properties>
27 <licenses>
28 <license>
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>
32 </license>
33 </licenses>
34 <organization>
35 <name>EDIT</name>
36 <url>http://www.e-taxonomy.eu/</url>
37 </organization>
38 <issueManagement>
39 <system>Trac</system>
40 <url>http://dev.e-taxonomy.eu/trac/</url>
41 </issueManagement>
42 <ciManagement>
43 <system>Hudson</system>
44 <url>http://160.45.63.201/jenkins</url>
45 </ciManagement>
46 <!-- **** REPOSITORIES **** -->
47 <repositories>
48 <!-- sun repository -->
49 <repository>
50 <id>java.net</id>
51 <url>http://download.java.net/maven/1/</url>
52 </repository>
53 <!-- the cdm internal repository -->
54 <repository>
55 <id>EditRepository</id>
56 <url>http://wp5.e-taxonomy.eu/mavenrepo/</url>
57 </repository>
58 <!-- apache incubating repository -->
59 <repository>
60 <id>ApacheIncubating</id>
61 <url>http://people.apache.org/repo/m2-incubating-repository/</url>
62 </repository>
63 <!-- Neccessary for hibernate-envers -->
64 <repository>
65 <releases>
66 <enabled>true</enabled>
67 <updatePolicy>always</updatePolicy>
68 <checksumPolicy>warn</checksumPolicy>
69 </releases>
70 <snapshots>
71 <enabled>false</enabled>
72 <updatePolicy>never</updatePolicy>
73 <checksumPolicy>fail</checksumPolicy>
74 </snapshots>
75 <id>jboss-repository</id>
76 <name>JBoss Repository</name>
77 <url>http://repository.jboss.com</url>
78 </repository>
79 <!-- codehaus mule repository needed for yourkit -->
80 <repository>
81 <id>CodehausMuleRepository</id>
82 <url>http://dist.codehaus.org/mule/dependencies/maven2/</url>
83 </repository>
84 <!-- current spring source repositories -->
85 <repository>
86 <id>SpringSource Enterprise Bundle Repository - External Bundle Milestones</id>
87 <url>http://repository.springsource.com/maven/bundles/milestone</url>
88 </repository>
89 <repository>
90 <id>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</id>
91 <url>http://repository.springsource.com/maven/bundles/release</url>
92 </repository>
93 <repository>
94 <id>SpringSource Enterprise Bundle Repository - External Bundle Releases</id>
95 <url>http://repository.springsource.com/maven/bundles/external</url>
96 </repository>
97 <!-- for ikey-plus -->
98 <repository>
99 <id>itextpdf.com</id>
100 <name>Maven Repository for iText</name>
101 <url>http://maven.itextpdf.com/</url>
102 </repository>
103 </repositories>
104 <!-- **** PLUGINS **** -->
105 <build>
106 <plugins>
107 <plugin>
108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-compiler-plugin</artifactId>
110 <configuration>
111 <source>${java.codelevel}</source>
112 <target>${java.codelevel}</target>
113 <encoding>UTF-8</encoding>
114 </configuration>
115 <version>2.3.2</version>
116 </plugin>
117 <plugin>
118 <groupId>org.apache.maven.plugins</groupId>
119 <artifactId>maven-surefire-plugin</artifactId>
120 <configuration>
121 <argLine>-Xmx512M -XX:MaxPermSize=128M</argLine>
122 <runOrder>alphabetical</runOrder>
123 <includes>
124 <include>**/*Test.java</include>
125 </includes>
126 </configuration>
127 <version>2.12</version>
128 </plugin>
129 <plugin>
130 <groupId>org.codehaus.mojo</groupId>
131 <artifactId>buildnumber-maven-plugin</artifactId>
132 <version>1.0-beta-3</version>
133 <executions>
134 <execution>
135 <!--<phase>deploy</phase>-->
136 <goals>
137 <goal>create</goal>
138 </goals>
139 </execution>
140 </executions>
141 <configuration>
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 -->
146 </configuration>
147 </plugin>
148 <plugin>
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-site-plugin</artifactId>
151 <version>3.0</version>
152 <configuration>
153 <locales>en</locales>
154 <outputEncoding>UTF-8</outputEncoding>
155 </configuration>
156 </plugin>
157 <plugin>
158 <groupId>org.apache.maven.plugins</groupId>
159 <artifactId>maven-source-plugin</artifactId>
160 <version>2.1.2</version>
161 <executions>
162 <execution>
163 <id>attach-sources</id>
164 <phase>verify</phase>
165 <goals>
166 <goal>jar</goal>
167 </goals>
168 </execution>
169 </executions>
170 </plugin>
171 <plugin>
172 <groupId>org.apache.maven.plugins</groupId>
173 <artifactId>maven-javadoc-plugin</artifactId>
174 <version>2.7</version>
175 <configuration>
176 <stylesheet>maven</stylesheet>
177 <quiet>true</quiet>
178 <detectLinks>true</detectLinks>
179 <failOnError>false</failOnError>
180 </configuration>
181 <executions>
182 <execution>
183 <id>aggregate</id>
184 <goals>
185 <goal>aggregate</goal>
186 </goals>
187 <phase>site</phase>
188 </execution>
189 </executions>
190 </plugin>
191 <plugin>
192 <groupId>org.apache.maven.plugins</groupId>
193 <artifactId>maven-eclipse-plugin</artifactId>
194 <version>2.9</version>
195 <configuration>
196 <downloadSources>true</downloadSources>
197 <downloadJavadocs>true</downloadJavadocs>
198 </configuration>
199 </plugin>
200 <plugin>
201 <groupId>com.agilejava.docbkx</groupId>
202 <artifactId>docbkx-maven-plugin</artifactId>
203 <version>2.0.9</version>
204 <executions>
205 <execution>
206 <goals>
207 <goal>generate-html</goal>
208 <goal>generate-pdf</goal>
209 </goals>
210 <phase>pre-site</phase>
211 </execution>
212 </executions>
213 <dependencies>
214 <dependency>
215 <groupId>org.docbook</groupId>
216 <artifactId>docbook-xml</artifactId>
217 <version>4.4</version>
218 <scope>runtime</scope>
219 </dependency>
220 </dependencies>
221 <configuration>
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
228 means use it
229 <foCustomization>src/docbkx/resources/xsl/fopdf.xsl</foCustomization>
230 -->
231 <entities>
232 <entity>
233 <name>version</name>
234 <value>${project.version}</value>
235 </entity>
236 </entities>
237 <!--We want the final documentation and the required resources to end up in
238 the right place-->
239 <postProcess>
240 <copy todir="target/site/reference">
241 <fileset dir="target/docbkx">
242 <include name="**/*.html" />
243 <include name="**/*.pdf" />
244 </fileset>
245 </copy>
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" />
252 </fileset>
253 </copy>
254 </postProcess>
255 </configuration>
256 </plugin>
257 <plugin>
258 <groupId>org.codehaus.mojo</groupId>
259 <artifactId>wagon-maven-plugin</artifactId>
260 <version>1.0-beta-3</version>
261 <configuration>
262 <fromDir>${project.build.directory}/docbkx/</fromDir>
263 <includes>**/*</includes>
264 <excludes />
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>
268 </configuration>
269 <executions>
270 <execution>
271 <id>upload-reference-documentation</id>
272 <phase>site-deploy</phase>
273 <goals>
274 <goal>upload</goal>
275 </goals>
276 </execution>
277 </executions>
278 </plugin>
279 </plugins>
280 </build>
281 <!-- **** DEPENDENCIES **** -->
282 <!-- <dependencies>
283 <dependency>
284 <groupId>junit</groupId>
285 <artifactId>junit</artifactId>
286 </dependency>
287 <dependency>
288 <groupId>log4j</groupId>
289 <artifactId>log4j</artifactId>
290 </dependency>
291 </dependencies> -->
292 <dependencyManagement>
293 <dependencies>
294 <dependency>
295 <groupId>eu.etaxonomy</groupId>
296 <artifactId>cdmlib-io</artifactId>
297 <version>${project.version}</version>
298 </dependency>
299 </dependencies>
300 </dependencyManagement>
301
302 </project>