adding pom
[taxeditor.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <project xmlns="http://maven.apache.org/POM/4.0.0"
5 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
7 <modelVersion>4.0.0</modelVersion>
8 <groupId>eu.etaxonomy</groupId>
9 <artifactId>taxeditor-parent</artifactId>
10 <version>1.0</version>
11
12 <name>EDIT Taxonomic Editor</name>
13 <description>The EDIT Taxonomic Editor for EDIT's platform for cybertaxonomy</description>
14 <url>http://wp5.e-taxonomy.eu/cdmlib/site/</url>
15 <packaging>pom</packaging>
16 <modules>
17 <module>taxeditor-store</module>
18 <module>taxeditor-navigation</module>
19 <module>taxeditor-editor</module>
20 <module>taxeditor-application</module>
21 </modules>
22
23 <licenses>
24 <license>
25 <name>Mozilla Public License Version 1.1</name>
26 <url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
27 <distribution>repo</distribution>
28 </license>
29 </licenses>
30
31 <developers>
32 <developer>
33 <!-- your SVN account id please! -->
34 <id>p.ciardelli</id>
35 <name>
36 Pepe Ciardelli
37 </name>
38 <email>p.ciardelli [at] bgbm.org</email>
39 <organization>
40 Botanical Garden Botanical Museum Berlin
41 </organization>
42 <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
43 <timezone>+1</timezone>
44 <roles>
45 <role>developer</role>
46 </roles>
47 <url></url>
48 </developer>
49 <developer>
50 <!-- your SVN account id please! -->
51 <id>n.hoffmann</id>
52 <name>
53 Niels Hoffmann
54 </name>
55 <email>n.hoffmann [at] bgbm.org</email>
56 <organization>
57 Botanic Garden Botanical Museum Berlin
58 </organization>
59 <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
60 <timezone>+1</timezone>
61 <roles>
62 <role>developer</role>
63 </roles>
64 <url></url>
65 </developer>
66 </developers>
67
68 <issueManagement>
69 <system>Trac</system>
70 <url>http://dev.e-taxonomy.eu/trac/</url>
71 </issueManagement>
72
73
74 <!-- **** REPOSITORIES **** -->
75 <repositories>
76 <!-- sun repository -->
77 <repository>
78 <id>java.net</id>
79 <url>http://download.java.net/maven/1/</url>
80 <layout>legacy</layout>
81 </repository>
82 <!-- the cdm internal repository -->
83 <repository>
84 <id>EditRepository</id>
85 <url>http://wp5.e-taxonomy.eu/cdmlib/mavenrepo/</url>
86 </repository>
87 <!-- apache incubating repository -->
88 <repository>
89 <id>ApacheIncubating</id>
90 <url>http://people.apache.org/repo/m2-incubating-repository/</url>
91 </repository>
92 <!-- Neccessary for hibernate-envers -->
93 <repository>
94 <releases>
95 <enabled>true</enabled>
96 <updatePolicy>always</updatePolicy>
97 <checksumPolicy>warn</checksumPolicy>
98 </releases>
99 <snapshots>
100 <enabled>false</enabled>
101 <updatePolicy>never</updatePolicy>
102 <checksumPolicy>fail</checksumPolicy>
103 </snapshots>
104 <id>jboss-repository</id>
105 <name>JBoss Repository</name>
106 <url>http://repository.jboss.com/maven2</url>
107 </repository>
108 </repositories>
109
110 <build>
111 <plugins>
112 <plugin>
113 <artifactId>maven-compiler-plugin</artifactId>
114 <configuration>
115 <source>1.5</source>
116 <target>1.5</target>
117 </configuration>
118 </plugin>
119 <plugin>
120 <artifactId>maven-surefire-plugin</artifactId>
121 <configuration>
122 <includes>
123 <include>**/*Test.java</include>
124 </includes>
125 <systemProperties>
126 <property>
127 <name>hibernate.connection.driver_class</name>
128 <value>${hibernate.connection.driver_class}</value>
129 </property>
130 <property>
131 <name>hibernate.connection.url</name>
132 <value>${hibernate.connection.url}</value>
133 </property>
134 <property>
135 <name>hibernate.connection.username</name>
136 <value>${hibernate.connection.username}</value>
137 </property>
138 <property>
139 <name>hibernate.connection.password</name>
140 <value>${hibernate.connection.password}</value>
141 </property>
142 </systemProperties>
143 </configuration>
144 </plugin>
145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-site-plugin</artifactId>
148 <version>2.0</version>
149 <configuration>
150 <locales>en</locales>
151 </configuration>
152 </plugin>
153 <plugin>
154 <groupId>org.apache.maven.plugins</groupId>
155 <artifactId>maven-source-plugin</artifactId>
156 <executions>
157 <execution>
158 <id>attach-sources</id>
159 <phase>verify</phase>
160 <goals>
161 <goal>jar</goal>
162 </goals>
163 </execution>
164 </executions>
165 </plugin>
166 <plugin>
167 <groupId>org.apache.maven.plugins</groupId>
168 <artifactId>maven-javadoc-plugin</artifactId>
169 <configuration>
170 <aggregate>true</aggregate>
171 <stylesheet>maven</stylesheet>
172 </configuration>
173 </plugin>
174 <plugin>
175 <groupId>org.apache.maven.plugins</groupId>
176 <artifactId>maven-eclipse-plugin</artifactId>
177 <configuration>
178 <downloadSources>true</downloadSources>
179 <downloadJavadocs>true</downloadJavadocs>
180 </configuration>
181 </plugin>
182
183 </plugins>
184 </build>
185
186 <reporting>
187 <plugins>
188 <plugin>
189 <!-- you will want to start by publishing your classes' Javadocs -->
190 <groupId>org.apache.maven.plugins</groupId>
191 <artifactId>maven-javadoc-plugin</artifactId>
192 <configuration>
193 <links>
194 <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
195 <link>http://static.springframework.org/spring/docs/2.5.x/api/</link>
196 <link>http://www.hibernate.org/hib_docs/v3/api/</link>
197 <!-- more libraries? -->
198 </links>
199 </configuration>
200 </plugin>
201 <plugin>
202 <!-- this will generate an indexed and cross-referenced HTML version of your source code -->
203 <groupId>org.apache.maven.plugins</groupId>
204 <artifactId>maven-jxr-plugin</artifactId>
205 </plugin>
206 <plugin>
207 <!-- if you use @todo tags to remind you of things to be done (which is a good coding practice), the taglist report will generate a list of all the items marked @todo or TODO -->
208 <groupId>org.codehaus.mojo</groupId>
209 <artifactId>taglist-maven-plugin</artifactId>
210 </plugin>
211 <plugin>
212 <!-- Test coverage can be a useful indication of the quality of your unit tests. It basically tells you how much of your code is actually run by your unit tests, which, in turn, can give you a good idea of the tests' quality -->
213 <groupId>org.codehaus.mojo</groupId>
214 <artifactId>cobertura-maven-plugin</artifactId>
215 <!--
216 <executions>
217 <execution>
218 <id>clean</id>
219 <phase>clean</phase>
220 <goals>
221 <goal>clean</goal>
222 </goals>
223 </execution>
224 </executions>
225 -->
226 </plugin>
227 <!--
228 <plugin>
229 <groupId>org.apache.maven.plugins</groupId>
230 <artifactId>maven-project-info-reports-plugin</artifactId>
231 <reportSets>
232 <reportSet>
233 <reports>
234 <report>dependencies</report>
235 <report>project-team</report>
236 <report>mailing-list</report>
237 <report>cim</report>
238 <report>issue-tracking</report>
239 <report>license</report>
240 <report>scm</report>
241 </reports>
242 </reportSet>
243 </reportSets>
244 </plugin> -->
245 <!-- The changes-maven-plugin plug-in uses a special XML file (src/changes/changes.xml) to track releases and changes in each release -->
246 <!--
247 <plugin>
248 <groupId>org.codehaus.mojo</groupId>
249 <artifactId>changes-maven-plugin</artifactId>
250 </plugin>
251 <plugin>
252 <artifactId>maven-surefire-plugin</artifactId>
253 </plugin>
254 -->
255 <!-- The changelog plug-in generates a nice report describing which files have been changed and by whom -->
256 <!--
257 <plugin>
258 <groupId>org.codehaus.mojo</groupId>
259 <artifactId>changelog-maven-plugin</artifactId>
260 </plugin>
261 -->
262 </plugins>
263 </reporting>
264
265 <!-- DISTRIBUTION MANAGEMENT -->
266 <distributionManagement>
267 <site>
268 <id>edit-wp5-taxeditor</id>
269 <url>
270 scp://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/taxeditor/site
271 </url>
272 </site>
273 <repository>
274 <id>edit-wp5</id>
275 <name>Edit Maven Repository</name>
276 <url>
277 scp://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/cdmlib/mavenrepo
278 </url>
279 </repository>
280 </distributionManagement>
281
282 <!-- **** DEPENDENCIES **** -->
283 <dependencies>
284 <dependency>
285 <groupId>org.unitils</groupId>
286 <artifactId>unitils</artifactId>
287 </dependency>
288 <dependency>
289 <groupId>junit</groupId>
290 <artifactId>junit</artifactId>
291 </dependency>
292 <dependency>
293 <groupId>log4j</groupId>
294 <artifactId>log4j</artifactId>
295 </dependency>
296 </dependencies>
297
298 <dependencyManagement>
299 <dependencies>
300 <dependency>
301 <groupId>eu.etaxonomy</groupId>
302 <artifactId>taxeditor-store</artifactId>
303 <version>${project.version}</version>
304 </dependency>
305 <dependency>
306 <groupId>eu.etaxonomy</groupId>
307 <artifactId>taxeditor-navigation</artifactId>
308 <version>${project.version}</version>
309 </dependency>
310 <dependency>
311 <groupId>eu.etaxonomy</groupId>
312 <artifactId>taxeditor-editor</artifactId>
313 <version>${project.version}</version>
314 </dependency>
315 <dependency>
316 <groupId>eu.etaxonomy</groupId>
317 <artifactId>taxeditor-application</artifactId>
318 <version>${project.version}</version>
319 </dependency>
320
321 <!-- ******* VARIOUS ******* -->
322 <dependency>
323 <groupId>log4j</groupId>
324 <artifactId>log4j</artifactId>
325 <version>1.2.15</version>
326 </dependency>
327 <!-- hibernate 3.4 uses slf4j -->
328 <dependency>
329 <groupId>org.slf4j</groupId>
330 <artifactId>slf4j-log4j12</artifactId>
331 <version>1.5.2</version>
332 </dependency>
333 <dependency>
334 <groupId>junit</groupId>
335 <artifactId>junit</artifactId>
336 <version>4.5</version>
337 <scope>test</scope>
338 </dependency>
339 <dependency>
340 <groupId>org.unitils</groupId>
341 <artifactId>unitils</artifactId>
342 <version>2.2</version>
343 <scope>test</scope>
344 </dependency>
345 <dependency>
346 <groupId>org.dbunit</groupId>
347 <artifactId>dbunit</artifactId>
348 <version>2.4.4</version>
349 <scope>test</scope>
350 </dependency>
351 </dependencies>
352 </dependencyManagement>
353
354 </project>