Pom changes to enable fully automated tycho build and MANIFEST first development...
[taxeditor.git] / 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</groupId>
5 <artifactId>taxeditor-parent</artifactId>
6 <version>3.0.6-SNAPSHOT</version>
7 <name>EDIT Taxonomic Editor</name>
8 <description>The Taxonomic Editor for EDIT's platform for cybertaxonomy</description>
9 <url>http://wp5.e-taxonomy.eu</url>
10 <inceptionYear>2007</inceptionYear>
11 <packaging>pom</packaging>
12 <properties>
13 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14 <cdmlib.version>3.0.7-SNAPSHOT</cdmlib.version>
15 <tycho.version>0.12.0</tycho.version>
16 </properties>
17 <modules>
18 <module>eu.etaxonomy.taxeditor.cdmlib</module>
19 <module>eu.etaxonomy.taxeditor.store</module>
20 <module>eu.etaxonomy.taxeditor.navigation</module>
21 <module>eu.etaxonomy.taxeditor.editor</module>
22 <module>eu.etaxonomy.taxeditor.bulkeditor</module>
23 <module>eu.etaxonomy.taxeditor.printpublisher</module>
24 <!--module>eu.etaxonomy.taxeditor.annotatedlineeditor</module-->
25 <module>eu.etaxonomy.taxeditor.application</module>
26 <module>eu.etaxonomy.taxeditor.feature.platform</module>
27 <module>eu.etaxonomy.taxeditor.feature</module>
28 <module>eu.etaxonomy.taxeditor</module>
29 </modules>
30 <scm>
31 <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/taxeditor/</connection>
32 <developerConnection>scm:svn:https://dev.e-taxonomy.eu/svn/trunk/taxeditor/</developerConnection>
33 <url>http://dev.e-taxonomy.eu/websvn/listing.php?repname=EDIT+Taxonomic+Editor</url>
34 </scm>
35 <mailingLists>
36 <mailingList>
37 <name>EDIT Taxonomic Editor</name>
38 <subscribe>
39 edit-taxonomic-editor+subscribe@googlegroups.com
40 </subscribe>
41 <unsubscribe>
42 edit-taxonomic-editor+unsubscribe@googlegroups.com
43 </unsubscribe>
44 <post>edit-taxonomic-editor@googlegroups.com</post>
45 <archive>http://groups.google.com/group/edit-taxonomic-editor/topics</archive>
46 </mailingList>
47 </mailingLists>
48 <licenses>
49 <license>
50 <name>Mozilla Public License Version 1.1</name>
51 <url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
52 <distribution>repo</distribution>
53 </license>
54 </licenses>
55 <developers>
56 <developer>
57 <!-- your SVN account id please! -->
58 <id>n.hoffmann</id>
59 <name>
60 Niels Hoffmann
61 </name>
62 <email>n.hoffmann [at] bgbm.org</email>
63 <organization>
64 Botanic Garden Botanical Museum Berlin
65 </organization>
66 <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
67 <timezone>+1</timezone>
68 <roles>
69 <role>Java Developer</role>
70 <role>Architect</role>
71 </roles>
72 <url/>
73 </developer>
74 </developers>
75 <issueManagement>
76 <system>Trac</system>
77 <url>http://dev.e-taxonomy.eu/trac/</url>
78 </issueManagement>
79 <ciManagement>
80 <system>Jenkins</system>
81 <url>http://160.45.63.201/jenkins</url>
82 </ciManagement>
83 <!-- **** REPOSITORIES **** -->
84 <repositories>
85 <!-- the cdm internal repository -->
86 <repository>
87 <id>EditRepository</id>
88 <url>http://wp5.e-taxonomy.eu/cdmlib/mavenrepo/</url>
89 </repository>
90 </repositories>
91 <build>
92 <plugins>
93 <plugin>
94 <groupId>org.eclipse.tycho</groupId>
95 <artifactId>tycho-maven-plugin</artifactId>
96 <version>${tycho.version}</version>
97 <extensions>true</extensions>
98 </plugin>
99 <plugin>
100 <groupId>org.eclipse.tycho</groupId>
101 <artifactId>target-platform-configuration</artifactId>
102 <version>${tycho.version}</version>
103 <configuration>
104 <resolver>p2</resolver>
105 <target>
106 <artifact>
107 <groupId>eu.etaxonomy</groupId>
108 <artifactId>eu.etaxonomy.taxeditor</artifactId>
109 <version>3.0.6-SNAPSHOT</version>
110 <classifier>rcp</classifier>
111 </artifact>
112 </target>
113 <ignoreTychoRepositories>true</ignoreTychoRepositories>
114 <environments>
115 <environment>
116 <os>macosx</os>
117 <ws>cocoa</ws>
118 <arch>x86_64</arch>
119 </environment>
120 <!--environment>
121 <os>win32</os>
122 <ws>win32</ws>
123 <arch>x86</arch>
124 </environment>
125 <environment>
126 <os>linux</os>
127 <ws>gtk</ws>
128 <arch>x86</arch>
129 </environment>
130 <environment>
131 <os>linux</os>
132 <ws>gtk</ws>
133 <arch>x86_64</arch>
134 </environment-->
135 </environments>
136 </configuration>
137 </plugin>
138 <plugin>
139 <groupId>org.apache.maven.plugins</groupId>
140 <artifactId>maven-compiler-plugin</artifactId>
141 <version>2.3.2</version>
142 <configuration>
143 <source>1.6</source>
144 <target>1.6</target>
145 </configuration>
146 </plugin>
147 <plugin>
148 <groupId>org.apache.maven.plugins</groupId>
149 <artifactId>maven-surefire-plugin</artifactId>
150 <version>2.6</version>
151 <configuration>
152 <includes>
153 <include>**/*Test.java</include>
154 </includes>
155 <systemPropertyVariables>
156 <property>
157 <name>hibernate.connection.driver_class</name>
158 <value>${hibernate.connection.driver_class}</value>
159 </property>
160 <property>
161 <name>hibernate.connection.url</name>
162 <value>${hibernate.connection.url}</value>
163 </property>
164 <property>
165 <name>hibernate.connection.username</name>
166 <value>${hibernate.connection.username}</value>
167 </property>
168 <property>
169 <name>hibernate.connection.password</name>
170 <value>${hibernate.connection.password}</value>
171 </property>
172 </systemPropertyVariables>
173 </configuration>
174 </plugin>
175 <plugin>
176 <groupId>org.apache.maven.plugins</groupId>
177 <artifactId>maven-site-plugin</artifactId>
178 <version>2.2</version>
179 <configuration>
180 <locales>en</locales>
181 </configuration>
182 </plugin>
183 <plugin>
184 <groupId>org.apache.maven.plugins</groupId>
185 <artifactId>maven-source-plugin</artifactId>
186 <version>2.1.2</version>
187 <executions>
188 <execution>
189 <id>attach-sources</id>
190 <phase>verify</phase>
191 <goals>
192 <goal>jar</goal>
193 </goals>
194 </execution>
195 </executions>
196 </plugin>
197 <plugin>
198 <groupId>org.apache.maven.plugins</groupId>
199 <artifactId>maven-javadoc-plugin</artifactId>
200 <version>2.7</version>
201 <configuration>
202 <stylesheet>maven</stylesheet>
203 <quiet>true</quiet>
204 <detectLinks>true</detectLinks>
205 <failOnError>false</failOnError>
206 </configuration>
207 <executions>
208 <execution>
209 <id>aggregate</id>
210 <goals>
211 <goal>aggregate</goal>
212 </goals>
213 <phase>site</phase>
214 </execution>
215 </executions>
216 </plugin>
217 <plugin>
218 <groupId>org.apache.maven.plugins</groupId>
219 <artifactId>maven-eclipse-plugin</artifactId>
220 <version>2.8</version>
221 <configuration>
222 <downloadSources>true</downloadSources>
223 <downloadJavadocs>true</downloadJavadocs>
224 <additionalProjectnatures>
225 <projectnature>org.eclipse.pde.PluginNature</projectnature>
226 </additionalProjectnatures>
227 </configuration>
228 </plugin>
229 <plugin>
230 <groupId>org.apache.maven.plugins</groupId>
231 <artifactId>maven-deploy-plugin</artifactId>
232 <version>2.5</version>
233 </plugin>
234 </plugins>
235 <pluginManagement>
236 <plugins>
237 <plugin>
238 <groupId>org.apache.maven.plugins</groupId>
239 <artifactId>maven-jar-plugin</artifactId>
240 <version>2.3.1</version>
241 </plugin>
242 <plugin>
243 <groupId>org.eclipse.tycho</groupId>
244 <artifactId>tycho-packaging-plugin</artifactId>
245 <version>${tycho.version}</version>
246 <!--executions>
247 <execution>
248 <id>timestamp</id>
249 <phase>validate</phase>
250 <goals>
251 <goal>timestamp</goal>
252 </goals>
253 </execution>
254 </executions-->
255 <!-- for some reason configuration won't work here, have to define
256 in each module -->
257 <configuration>
258 <archive>
259 <addMavenDescriptor>false</addMavenDescriptor>
260 </archive>
261 <environments>
262 <environment>
263 <os>macosx</os>
264 <ws>cocoa</ws>
265 <arch>x86</arch>
266 </environment>
267 </environments>
268 </configuration>
269 </plugin>
270 </plugins>
271 </pluginManagement>
272 </build>
273 <reporting>
274 <plugins>
275 <plugin>
276 <!-- you will want to start by publishing your classes' Javadocs -->
277 <groupId>org.apache.maven.plugins</groupId>
278 <artifactId>maven-javadoc-plugin</artifactId>
279 <version>2.7</version>
280 <configuration>
281 <detectLinks>true</detectLinks>
282 </configuration>
283 </plugin>
284 <plugin>
285 <!-- this will generate an indexed and cross-referenced HTML version of your source code -->
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-jxr-plugin</artifactId>
288 <version>2.2</version>
289 </plugin>
290 <plugin>
291 <groupId>org.apache.maven.plugins</groupId>
292 <artifactId>maven-changes-plugin</artifactId>
293 <version>2.3</version>
294 <configuration>
295 <issueLinkTemplatePerSystem>
296 <default>%URL%/ticket/%ISSUE%</default>
297 </issueLinkTemplatePerSystem>
298 </configuration>
299 <reportSets>
300 <reportSet>
301 <reports>
302 <report>changes-report</report>
303 </reports>
304 </reportSet>
305 </reportSets>
306 </plugin>
307 </plugins>
308 </reporting>
309 <!-- DISTRIBUTION MANAGEMENT -->
310 <distributionManagement>
311 <site>
312 <id>wp5.e-taxonomy.eu</id>
313 <name>EDIT Taxonomic Editor</name>
314 <url>scpexe://160.45.63.151/var/www/wp5.e-taxonomy.eu/taxeditor/</url>
315 </site>
316 <repository>
317 <uniqueVersion>false</uniqueVersion>
318 <id>wp5.e-taxonomy.eu</id>
319 <name>Edit Maven Repository</name>
320 <url>scpexe://160.45.63.151/var/www/wp5.e-taxonomy.eu/cdmlib/mavenrepo/</url>
321 </repository>
322 </distributionManagement>
323 </project>