Project

General

Profile

« Previous | Next » 

Revision 66465ecb

Added by Andreas Kohlbecker almost 11 years ago

updating mailing list links, see #2928

View differences:

pom.xml
1 1
<?xml version="1.0" encoding="UTF-8"?>
2 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">
3 3

  
4
	<modelVersion>4.0.0</modelVersion>
5
	<groupId>eu.etaxonomy</groupId>
6
	<artifactId>cdm-server</artifactId>
7
	<version>3.2.2-SNAPSHOT</version>
8
	<packaging>jar</packaging>
9
	<name>CDM Community Standalone Server</name>
4
  <modelVersion>4.0.0</modelVersion>
5
  <groupId>eu.etaxonomy</groupId>
6
  <artifactId>cdm-server</artifactId>
7
  <version>3.2.2-SNAPSHOT</version>
8
  <packaging>jar</packaging>
9
  <name>CDM Community Standalone Server</name>
10 10

  
11
	<properties>
12
		<jetty-version>7.2.2.v20101205</jetty-version>
13
	</properties>
11
  <properties>
12
    <jetty-version>7.2.2.v20101205</jetty-version>
13
  </properties>
14 14

  
15
	<scm>
16
		<!-- see section Provider Configuration in http://maven.apache.org/scm/subversion.html
17
			for instructions on how to externalize credentials in $user.home/.scm/svn-settings.xml -->
18
		<connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdm-server</connection>
19
		<developerConnection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdm-server</developerConnection>
20
		<url>http://dev.e-taxonomy.eu/trac/browser/trunk/cdm-server</url>
21
	</scm>
15
  <scm>
16
    <!-- see section Provider Configuration in http://maven.apache.org/scm/subversion.html
17
      for instructions on how to externalize credentials in $user.home/.scm/svn-settings.xml -->
18
    <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdm-server</connection>
19
    <developerConnection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdm-server</developerConnection>
20
    <url>http://dev.e-taxonomy.eu/trac/browser/trunk/cdm-server</url>
21
  </scm>
22 22

  
23
	<mailingLists>
24
		<mailingList>
25
			<name>dev-edit</name>
26
			<subscribe>
27
        https://webmail.mnhn.fr/wws/subrequest/dev-edit
23
  <mailingLists>
24
    <mailingList>
25
      <name>dev-edit</name>
26
      <subscribe>
27
        https://listes.mnhn.fr/wws/subrequest/dev-edit
28 28
      </subscribe>
29
			<unsubscribe>
30
        https://webmail.mnhn.fr/wws/sigrequest/dev-edit
29
      <unsubscribe>
30
        https://listes.mnhn.fr/wws/sigrequest/dev-edit
31 31
      </unsubscribe>
32
			<post>dev-edit@mnhn.fr</post>
33
			<archive>https://webmail.mnhn.fr/wws/arc/dev-edit/</archive>
34
		</mailingList>
35
		<mailingList>
36
			<name>cdm-edit</name>
37
			<post>cdm-edit@mnhn.fr</post>
38
			<subscribe>
39
        https://webmail.mnhn.fr/wws/subrequest/cdm-edit
32
      <post>dev-edit@mnhn.fr</post>
33
      <archive>https://listes.mnhn.fr/wws/arc/dev-edit/</archive>
34
    </mailingList>
35
    <mailingList>
36
      <name>cdm-edit</name>
37
      <post>cdm-edit@mnhn.fr</post>
38
      <subscribe>
39
        https://listes.mnhn.fr/wws/subrequest/cdm-edit
40 40
      </subscribe>
41
			<unsubscribe>
42
        https://webmail.mnhn.fr/wws/sigrequest/cdm-edit
41
      <unsubscribe>
42
        https://listes.mnhn.fr/wws/sigrequest/cdm-edit
43 43
      </unsubscribe>
44
			<archive>https://webmail.mnhn.fr/wws/arc/cdm-edit/</archive>
45
		</mailingList>
46
	</mailingLists>
47
	<licenses>
48
		<license>
49
			<name>Mozilla Public License Version 1.1</name>
50
			<url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
51
			<distribution>repo</distribution>
52
		</license>
53
	</licenses>
54
	<developers>
55
		<developer>
56
			<!-- your SVN account id please! -->
57
			<id>a.kohlbecker</id>
58
			<name>
44
      <archive>https://listes.mnhn.fr/wws/arc/cdm-edit/</archive>
45
    </mailingList>
46
  </mailingLists>
47
  <licenses>
48
    <license>
49
      <name>Mozilla Public License Version 1.1</name>
50
      <url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
51
      <distribution>repo</distribution>
52
    </license>
53
  </licenses>
54
  <developers>
55
    <developer>
56
      <!-- your SVN account id please! -->
57
      <id>a.kohlbecker</id>
58
      <name>
59 59
        Andreas Kohlbecker
60 60
      </name>
61
			<email>a.kohlbecker [at] bgbm.org</email>
62
			<organization>
61
      <email>a.kohlbecker [at] bgbm.org</email>
62
      <organization>
63 63
        Botanical Garden Botanical Museum Berlin
64 64
      </organization>
65
			<organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
66
			<timezone>+1</timezone>
67
			<roles>
68
				<role>Developer</role>
69
			</roles>
70
			<url />
71
		</developer>
72
	</developers>
65
      <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
66
      <timezone>+1</timezone>
67
      <roles>
68
        <role>Developer</role>
69
      </roles>
70
      <url />
71
    </developer>
72
  </developers>
73 73

  
74
	<!-- contributors> <contributor> <name>Test-Contributor</name> </contributor>
75
		</contributors -->
76
	<issueManagement>
77
		<system>Trac</system>
78
		<url>http://dev.e-taxonomy.eu/trac/</url>
79
	</issueManagement>
80
	<ciManagement>
81
		<system>Jenkins</system>
82
		<url>http://160.45.63.201/jenkins</url>
83
	</ciManagement>
84
	<!-- **** REPOSITORIES **** -->
85
	<repositories>
86
		<!-- sun repository -->
87
		<repository>
88
			<id>java.net</id>
89
			<url>http://download.java.net/maven/1/</url>
90
			<layout>legacy</layout>
91
		</repository>
92
		<!-- the localhost Maven Repository -->
93
		<repository>
74
  <!-- contributors> <contributor> <name>Test-Contributor</name> </contributor>
75
    </contributors -->
76
  <issueManagement>
77
    <system>Trac</system>
78
    <url>http://dev.e-taxonomy.eu/trac/</url>
79
  </issueManagement>
80
  <ciManagement>
81
    <system>Jenkins</system>
82
    <url>http://160.45.63.201/jenkins</url>
83
  </ciManagement>
84
  <!-- **** REPOSITORIES **** -->
85
  <repositories>
86
    <!-- sun repository -->
87
    <repository>
88
      <id>java.net</id>
89
      <url>http://download.java.net/maven/1/</url>
90
      <layout>legacy</layout>
91
    </repository>
92
    <!-- the localhost Maven Repository -->
93
    <repository>
94 94
          <id>EditLocalRepository</id>
95 95
          <!--
96 96
            disable the local repo to let maven always retrieve the
......
109 109
            <updatePolicy>always</updatePolicy>
110 110
          </snapshots>
111 111
        </repository>
112
		<!-- the EDIT Maven Repository -->
113
		<repository>
114
			<id>EditRepository</id>
115
			<url>http://wp5.e-taxonomy.eu/mavenrepo/</url>
116
			<releases>
117
				<enabled>true</enabled>
118
				<updatePolicy>always</updatePolicy>
119
			</releases>
120
			<snapshots>
121
				<enabled>true</enabled>
122
				<updatePolicy>always</updatePolicy>
123
			</snapshots>
124
		</repository>
125
		<!-- apache incubating repository -->
126
		<repository>
127
			<id>ApacheIncubating</id>
128
			<url>http://people.apache.org/repo/m2-incubating-repository/</url>
129
		</repository>
130
	</repositories>
112
    <!-- the EDIT Maven Repository -->
113
    <repository>
114
      <id>EditRepository</id>
115
      <url>http://wp5.e-taxonomy.eu/mavenrepo/</url>
116
      <releases>
117
        <enabled>true</enabled>
118
        <updatePolicy>always</updatePolicy>
119
      </releases>
120
      <snapshots>
121
        <enabled>true</enabled>
122
        <updatePolicy>always</updatePolicy>
123
      </snapshots>
124
    </repository>
125
    <!-- apache incubating repository -->
126
    <repository>
127
      <id>ApacheIncubating</id>
128
      <url>http://people.apache.org/repo/m2-incubating-repository/</url>
129
    </repository>
130
  </repositories>
131 131

  
132
	<!-- **** PLUGINS **** -->
133
	<build>
134
		<resources>
135
			<!-- ${basedir}/src/main/resources -->
136
			<resource>
137
				<!-- replace the project-version placeholder in the version.properties
138
					file. This property can then be used to retrieve the version number in the
139
					Bootloader -->
140
				<targetPath>${project.build.directory}/classes</targetPath>
141
				<filtering>true</filtering>
142
				<directory>${basedir}/src/main/resources</directory>
143
				<includes>
144
					<include>version.properties</include>
145
				</includes>
146
			</resource>
147
			<resource>
148
				<!-- all other files in classes -->
149
				<targetPath>${project.build.directory}/classes</targetPath>
150
				<directory>${basedir}/src/main/resources</directory>
151
				<excludes>
152
					<exclude>version.properties</exclude>
153
				</excludes>
154
			</resource>
155
			<!-- ${basedir}/src/main/installer/win32 -->
156
			<resource>
157
				<targetPath>${project.build.directory}/installer</targetPath>
158
				<filtering>true</filtering>
159
				<directory>${basedir}/src/main/installer</directory>
160
				<includes>
161
					<include>win32/program-folder/etc/CDMServer.conf</include>
162
					<include>win32/setup.nsi</include>
163
				</includes>
164
			</resource>
165
			<resource>
166
				<targetPath>${project.build.directory}/installer</targetPath>
167
				<directory>${basedir}/src/main/installer</directory>
168
				<excludes>
169
					<exclude>win32/program-folder/etc/CDMServer.conf</exclude>
170
					<exclude>win32/setup.nsi</exclude>
171
				</excludes>
172
			</resource>
173
		</resources>
174
		<plugins>
175
			<!-- ====== IDE ====== -->
176
			<plugin>
177
				<groupId>org.apache.maven.plugins</groupId>
178
				<artifactId>maven-eclipse-plugin</artifactId>
179
				<configuration>
180
					<downloadSources>true</downloadSources>
181
					<downloadJavadocs>true</downloadJavadocs>
182
				</configuration>
183
			</plugin>
132
  <!-- **** PLUGINS **** -->
133
  <build>
134
    <resources>
135
      <!-- ${basedir}/src/main/resources -->
136
      <resource>
137
        <!-- replace the project-version placeholder in the version.properties
138
          file. This property can then be used to retrieve the version number in the
139
          Bootloader -->
140
        <targetPath>${project.build.directory}/classes</targetPath>
141
        <filtering>true</filtering>
142
        <directory>${basedir}/src/main/resources</directory>
143
        <includes>
144
          <include>version.properties</include>
145
        </includes>
146
      </resource>
147
      <resource>
148
        <!-- all other files in classes -->
149
        <targetPath>${project.build.directory}/classes</targetPath>
150
        <directory>${basedir}/src/main/resources</directory>
151
        <excludes>
152
          <exclude>version.properties</exclude>
153
        </excludes>
154
      </resource>
155
      <!-- ${basedir}/src/main/installer/win32 -->
156
      <resource>
157
        <targetPath>${project.build.directory}/installer</targetPath>
158
        <filtering>true</filtering>
159
        <directory>${basedir}/src/main/installer</directory>
160
        <includes>
161
          <include>win32/program-folder/etc/CDMServer.conf</include>
162
          <include>win32/setup.nsi</include>
163
        </includes>
164
      </resource>
165
      <resource>
166
        <targetPath>${project.build.directory}/installer</targetPath>
167
        <directory>${basedir}/src/main/installer</directory>
168
        <excludes>
169
          <exclude>win32/program-folder/etc/CDMServer.conf</exclude>
170
          <exclude>win32/setup.nsi</exclude>
171
        </excludes>
172
      </resource>
173
    </resources>
174
    <plugins>
175
      <!-- ====== IDE ====== -->
176
      <plugin>
177
        <groupId>org.apache.maven.plugins</groupId>
178
        <artifactId>maven-eclipse-plugin</artifactId>
179
        <configuration>
180
          <downloadSources>true</downloadSources>
181
          <downloadJavadocs>true</downloadJavadocs>
182
        </configuration>
183
      </plugin>
184 184

  
185
			<plugin>
186
				<!-- only needed for testing the svn credentials credentials are usually
187
					stored by svn automatically unless not configured differently in {user.home}\.subversion\config
188
					So in order to use a specific svn account with maven firts to a commit manually
189
					by svn ci -m "commit message" and answer the question wether to store the
190
					credential with yes. There is no specific maven configuration required for
191
					svn to work with maven! -->
192
				<groupId>org.apache.maven.plugins</groupId>
193
				<artifactId>maven-scm-plugin</artifactId>
194
				<version>1.5</version>
195
				<configuration>
196
					<connectionType>developerConnection</connectionType>
197
				</configuration>
198
			</plugin>
199
			<!-- ====== CREATE ====== -->
200
			<plugin>
201
				<artifactId>maven-compiler-plugin</artifactId>
202
				<configuration>
203
					<source>1.6</source>
204
					<target>1.6</target>
205
				</configuration>
206
			</plugin>
207
			<plugin>
208
				<artifactId>maven-surefire-plugin</artifactId>
209
				<configuration>
210
					<argLine>-Xmx512M</argLine>
211
					<includes>
212
						<include>**/*Test.java</include>
213
					</includes>
214
					<systemProperties>
215
						<property>
216
							<name>hibernate.connection.driver_class</name>
217
							<value>${hibernate.connection.driver_class}</value>
218
						</property>
219
						<property>
220
							<name>hibernate.connection.url</name>
221
							<value>${hibernate.connection.url}</value>
222
						</property>
223
						<property>
224
							<name>hibernate.connection.username</name>
225
							<value>${hibernate.connection.username}</value>
226
						</property>
227
						<property>
228
							<name>hibernate.connection.password</name>
229
							<value>${hibernate.connection.password}</value>
230
						</property>
231
					</systemProperties>
232
				</configuration>
233
			</plugin>
234
			<!-- ====== CREATE ====== -->
235
			<plugin>
236
				<groupId>org.codehaus.mojo</groupId>
237
				<artifactId>buildnumber-maven-plugin</artifactId>
238
				<version>1.0-beta-3</version>
239
				<executions>
240
					<execution>
241
						<!--<phase>deploy</phase> -->
242
						<goals>
243
							<goal>create</goal>
244
						</goals>
245
					</execution>
246
				</executions>
247
				<configuration>
248
					<doCheck>false</doCheck>
249
					<!-- Only create the build number if there are no local modifications -->
250
					<doUpdate>false</doUpdate>
251
					<!-- automatically update the local svn copy -->
252
				</configuration>
253
			</plugin>
254
			<plugin>
255
				<groupId>org.apache.maven.plugins</groupId>
256
				<artifactId>maven-site-plugin</artifactId>
257
				<version>2.1.1</version>
258
				<configuration>
259
					<locales>en</locales>
260
				</configuration>
261
			</plugin>
262
			<!-- ====== VERIFY ====== -->
263
			<plugin>
264
				<groupId>org.apache.maven.plugins</groupId>
265
				<artifactId>maven-source-plugin</artifactId>
266
				<executions>
267
					<execution>
268
						<id>attach-sources</id>
269
						<phase>verify</phase>
270
						<goals>
271
							<goal>jar</goal>
272
						</goals>
273
					</execution>
274
				</executions>
275
			</plugin>
276
			<plugin>
277
				<groupId>org.apache.maven.plugins</groupId>
278
				<artifactId>maven-javadoc-plugin</artifactId>
279
				<configuration>
280
					<aggregate>true</aggregate>
281
					<stylesheet>maven</stylesheet>
282
				</configuration>
283
			</plugin>
185
      <plugin>
186
        <!-- only needed for testing the svn credentials credentials are usually
187
          stored by svn automatically unless not configured differently in {user.home}\.subversion\config
188
          So in order to use a specific svn account with maven firts to a commit manually
189
          by svn ci -m "commit message" and answer the question wether to store the
190
          credential with yes. There is no specific maven configuration required for
191
          svn to work with maven! -->
192
        <groupId>org.apache.maven.plugins</groupId>
193
        <artifactId>maven-scm-plugin</artifactId>
194
        <version>1.5</version>
195
        <configuration>
196
          <connectionType>developerConnection</connectionType>
197
        </configuration>
198
      </plugin>
199
      <!-- ====== CREATE ====== -->
200
      <plugin>
201
        <artifactId>maven-compiler-plugin</artifactId>
202
        <configuration>
203
          <source>1.6</source>
204
          <target>1.6</target>
205
        </configuration>
206
      </plugin>
207
      <plugin>
208
        <artifactId>maven-surefire-plugin</artifactId>
209
        <configuration>
210
          <argLine>-Xmx512M</argLine>
211
          <includes>
212
            <include>**/*Test.java</include>
213
          </includes>
214
          <systemProperties>
215
            <property>
216
              <name>hibernate.connection.driver_class</name>
217
              <value>${hibernate.connection.driver_class}</value>
218
            </property>
219
            <property>
220
              <name>hibernate.connection.url</name>
221
              <value>${hibernate.connection.url}</value>
222
            </property>
223
            <property>
224
              <name>hibernate.connection.username</name>
225
              <value>${hibernate.connection.username}</value>
226
            </property>
227
            <property>
228
              <name>hibernate.connection.password</name>
229
              <value>${hibernate.connection.password}</value>
230
            </property>
231
          </systemProperties>
232
        </configuration>
233
      </plugin>
234
      <!-- ====== CREATE ====== -->
235
      <plugin>
236
        <groupId>org.codehaus.mojo</groupId>
237
        <artifactId>buildnumber-maven-plugin</artifactId>
238
        <version>1.0-beta-3</version>
239
        <executions>
240
          <execution>
241
            <!--<phase>deploy</phase> -->
242
            <goals>
243
              <goal>create</goal>
244
            </goals>
245
          </execution>
246
        </executions>
247
        <configuration>
248
          <doCheck>false</doCheck>
249
          <!-- Only create the build number if there are no local modifications -->
250
          <doUpdate>false</doUpdate>
251
          <!-- automatically update the local svn copy -->
252
        </configuration>
253
      </plugin>
254
      <plugin>
255
        <groupId>org.apache.maven.plugins</groupId>
256
        <artifactId>maven-site-plugin</artifactId>
257
        <version>2.1.1</version>
258
        <configuration>
259
          <locales>en</locales>
260
        </configuration>
261
      </plugin>
262
      <!-- ====== VERIFY ====== -->
263
      <plugin>
264
        <groupId>org.apache.maven.plugins</groupId>
265
        <artifactId>maven-source-plugin</artifactId>
266
        <executions>
267
          <execution>
268
            <id>attach-sources</id>
269
            <phase>verify</phase>
270
            <goals>
271
              <goal>jar</goal>
272
            </goals>
273
          </execution>
274
        </executions>
275
      </plugin>
276
      <plugin>
277
        <groupId>org.apache.maven.plugins</groupId>
278
        <artifactId>maven-javadoc-plugin</artifactId>
279
        <configuration>
280
          <aggregate>true</aggregate>
281
          <stylesheet>maven</stylesheet>
282
        </configuration>
283
      </plugin>
284 284

  
285
			<!-- ====== PROCESS-SOURCES ====== -->
286
			<plugin>
287
				<groupId>org.apache.maven.plugins</groupId>
288
				<artifactId>maven-dependency-plugin</artifactId>
289
				<version>2.6</version>
290
				<executions>
291
					<execution>
292
						<id>copy</id>
293
						<goals>
294
							<goal>copy</goal>
295
						</goals>
296
						<configuration>
297
							<silent>flase</silent>
298
							<stripVersion>true</stripVersion>
299
							<overWriteSnapshots>true</overWriteSnapshots>
300
							<overWriteIfNewer>true</overWriteIfNewer>
301
							<overWriteReleases>true</overWriteReleases>
302
							<artifactItems>
303
								<artifactItem>
304
								    <!--
305
								        copy the cdmlib-remote-webapp-${project.version}.war to the build dir
306
								     -->
307
									<groupId>eu.etaxonomy</groupId>
308
									<artifactId>cdmlib-remote-webapp</artifactId>
309
									<version>${project.version}</version>
310
									<type>war</type>
311
									<!-- <classifier> [classifier - optional] </classifier> -->
312
									<overWrite>true</overWrite>
313
									<destFileName>cdmlib-remote-webapp-${project.version}.war</destFileName>
314
									<outputDirectory>
315
										${project.build.directory}/cdm-server-${project.version}</outputDirectory>
316
								</artifactItem>
317
							</artifactItems>
318
						</configuration>
319
					</execution>
320
				</executions>
321
			</plugin>
285
      <!-- ====== PROCESS-SOURCES ====== -->
286
      <plugin>
287
        <groupId>org.apache.maven.plugins</groupId>
288
        <artifactId>maven-dependency-plugin</artifactId>
289
        <version>2.6</version>
290
        <executions>
291
          <execution>
292
            <id>copy</id>
293
            <goals>
294
              <goal>copy</goal>
295
            </goals>
296
            <configuration>
297
              <silent>flase</silent>
298
              <stripVersion>true</stripVersion>
299
              <overWriteSnapshots>true</overWriteSnapshots>
300
              <overWriteIfNewer>true</overWriteIfNewer>
301
              <overWriteReleases>true</overWriteReleases>
302
              <artifactItems>
303
                <artifactItem>
304
                    <!--
305
                        copy the cdmlib-remote-webapp-${project.version}.war to the build dir
306
                     -->
307
                  <groupId>eu.etaxonomy</groupId>
308
                  <artifactId>cdmlib-remote-webapp</artifactId>
309
                  <version>${project.version}</version>
310
                  <type>war</type>
311
                  <!-- <classifier> [classifier - optional] </classifier> -->
312
                  <overWrite>true</overWrite>
313
                  <destFileName>cdmlib-remote-webapp-${project.version}.war</destFileName>
314
                  <outputDirectory>
315
                    ${project.build.directory}/cdm-server-${project.version}</outputDirectory>
316
                </artifactItem>
317
              </artifactItems>
318
            </configuration>
319
          </execution>
320
        </executions>
321
      </plugin>
322 322

  
323
			<!-- ====== PACKAGE ====== -->
324
			<!-- package the default webapp, // (and also add the cdmlib-remote-webapp.war)
325
				test with: mvn war:war -->
326
			<plugin>
327
				<groupId>org.apache.maven.plugins</groupId>
328
				<artifactId>maven-war-plugin</artifactId>
329
				<version>2.1-beta-1</version>
330
				<configuration>
331
					<warName>default-webapp</warName>
332
					<!-- <overlays> <overlay> <groupId>eu.etaxonomy</groupId> <artifactId>cdmlib-remote-webapp</artifactId>
333
						<!- - version is set in dependency - -> <skip>true</skip><!- - Do Not overlay
334
						- -> </overlay> </overlays> -->
335
				</configuration>
336
				<executions>
337
					<execution>
338
						<phase>package</phase>
339
						<goals>
340
							<goal>war</goal>
341
						</goals>
342
					</execution>
343
				</executions>
344
			</plugin>
345
			<!-- ====== INSTALL ====== -->
346
			<plugin>
347
				<!-- Assemble the runnable server jar test with: mvn assembly:single -->
348
				<artifactId>maven-assembly-plugin</artifactId>
349
				<configuration>
350
					<appendAssemblyId>false</appendAssemblyId>
351
					<descriptors>
352
						<descriptor>src/main/assembly/assembly.xml</descriptor>
353
					</descriptors>
354
					<archive>
355
						<manifest>
356
							<mainClass>eu.etaxonomy.cdm.server.Bootloader</mainClass>
357
							<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
358
							<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
359
						</manifest>
360
					</archive>
361
				</configuration>
362
				<executions>
363
					<execution>
364
						<id>make-assembly</id>
365
						<phase>install</phase>
366
						<goals>
367
							<goal>attached</goal>
368
						</goals>
369
					</execution>
370
				</executions>
371
			</plugin>
372
			<plugin>
373
				<!-- Build a Debian package -->
374
				<artifactId>maven-antrun-plugin</artifactId>
375
				<version>1.3</version>
376
				<executions>
377
					<execution>
378
						<phase>install</phase>
379
						<configuration>
380
							<tasks>
381
								<property name="project.fullversionstring" value="${project.version}" />
382
								<property name="project.version" value="${project.version}" />
383
								<ant antfile="${project.basedir}/src/main/installer/linux/build-deb.xml" dir="${project.basedir}" />
384
							</tasks>
385
						</configuration>
386
						<goals>
387
							<goal>run</goal>
388
						</goals>
389
					</execution>
390
				</executions>
391
			</plugin>
392
			<!-- Build windows installer -->
393
			<plugin>
394
				<groupId>org.codehaus.mojo</groupId>
395
				<artifactId>exec-maven-plugin</artifactId>
396
				<version>1.2.1</version>
397
				<executions>
398
					<execution>
399
						<phase>install</phase>
400
						<goals>
401
							<goal>exec</goal>
402
						</goals>
403
					</execution>
404
				</executions>
405
				<configuration>
406
					<executable>makensis</executable>
407
					<!-- optional -->
408
					<workingDirectory>/tmp</workingDirectory>
409
					<arguments>
410
						<!-- <argument>-V3</argument> -->
411
						<argument>${project.basedir}/target/installer/win32/setup.nsi</argument>
412
					</arguments>
413
				</configuration>
414
			</plugin>
415
			<!-- ====== DEPLOY ====== -->
416
			<plugin>
417
				<groupId>org.apache.maven.plugins</groupId>
418
				<artifactId>maven-release-plugin</artifactId>
419
				<version>2.1</version>
420
				<configuration>
421
					<allowTimestampedSnapshots>true</allowTimestampedSnapshots>
422
					<autoVersionSubmodules>false</autoVersionSubmodules>
423
					<preparationGoals>clean verify install</preparationGoals>
424
					<goals>deploy</goals><!-- skipping site-deploy by explicitly configuring
425
						the goal here -->
426
					<tagBase>http://dev.e-taxonomy.eu/svn/tags/cdm-server</tagBase>
427
				</configuration>
428
			</plugin>
429
			<plugin>
430
				<groupId>org.codehaus.mojo</groupId>
431
				<artifactId>wagon-maven-plugin</artifactId>
432
				<version>1.0-beta-3</version>
433
				<!-- Problems with the wagon-maven-plugin have been encounterd on Windows,
434
					it should work properly on linux though. -->
435
				<executions>
436
					<execution>
437
						<phase>deploy</phase>
438
						<goals>
439
							<goal>upload</goal>
440
						</goals>
441
					</execution>
442
				</executions>
443
				<configuration>
444
					<fromDir>target</fromDir>
445
					<includes>*${project.version}*.deb,*${project.version}*.jar,*${project.version}*.exe</includes>
446
					<url>scpexe://wp5.e-taxonomy.eu/var/www/download/cdmserver/${project.version}</url>
447
					<serverId>wp5.e-taxonomy.eu</serverId>
448
				</configuration>
449
			</plugin>
450
		</plugins>
451
		<!-- EXTENSIONS -->
452
		<extensions>
453
			<extension>
454
				<groupId>org.apache.maven.wagon</groupId>
455
				<artifactId>wagon-scm</artifactId>
456
				<version>1.0-alpha-5</version>
457
			</extension>
458
			<extension>
459
				<groupId>org.apache.maven.wagon</groupId>
460
				<artifactId>wagon-ssh</artifactId>
461
				<version>1.0-beta-7</version>
462
			</extension>
463
			<extension>
464
				<groupId>org.apache.maven.scm</groupId>
465
				<artifactId>maven-scm-manager-plexus</artifactId>
466
				<version>1.0</version>
467
			</extension>
468
			<extension>
469
				<groupId>org.apache.maven.scm</groupId>
470
				<artifactId>maven-scm-provider-svnexe</artifactId>
471
				<version>1.0</version>
472
			</extension>
473
			<!-- WebDAV plugin to upload snapshots -->
474
			<extension>
475
				<groupId>org.apache.maven.wagon</groupId>
476
				<artifactId>wagon-webdav</artifactId>
477
				<version>1.0-beta-2</version>
478
			</extension>
479
		</extensions>
480
	</build>
323
      <!-- ====== PACKAGE ====== -->
324
      <!-- package the default webapp, // (and also add the cdmlib-remote-webapp.war)
325
        test with: mvn war:war -->
326
      <plugin>
327
        <groupId>org.apache.maven.plugins</groupId>
328
        <artifactId>maven-war-plugin</artifactId>
329
        <version>2.1-beta-1</version>
330
        <configuration>
331
          <warName>default-webapp</warName>
332
          <!-- <overlays> <overlay> <groupId>eu.etaxonomy</groupId> <artifactId>cdmlib-remote-webapp</artifactId>
333
            <!- - version is set in dependency - -> <skip>true</skip><!- - Do Not overlay
334
            - -> </overlay> </overlays> -->
335
        </configuration>
336
        <executions>
337
          <execution>
338
            <phase>package</phase>
339
            <goals>
340
              <goal>war</goal>
341
            </goals>
342
          </execution>
343
        </executions>
344
      </plugin>
345
      <!-- ====== INSTALL ====== -->
346
      <plugin>
347
        <!-- Assemble the runnable server jar test with: mvn assembly:single -->
348
        <artifactId>maven-assembly-plugin</artifactId>
349
        <configuration>
350
          <appendAssemblyId>false</appendAssemblyId>
351
          <descriptors>
352
            <descriptor>src/main/assembly/assembly.xml</descriptor>
353
          </descriptors>
354
          <archive>
355
            <manifest>
356
              <mainClass>eu.etaxonomy.cdm.server.Bootloader</mainClass>
357
              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
358
              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
359
            </manifest>
360
          </archive>
361
        </configuration>
362
        <executions>
363
          <execution>
364
            <id>make-assembly</id>
365
            <phase>install</phase>
366
            <goals>
367
              <goal>attached</goal>
368
            </goals>
369
          </execution>
370
        </executions>
371
      </plugin>
372
      <plugin>
373
        <!-- Build a Debian package -->
374
        <artifactId>maven-antrun-plugin</artifactId>
375
        <version>1.3</version>
376
        <executions>
377
          <execution>
378
            <phase>install</phase>
379
            <configuration>
380
              <tasks>
381
                <property name="project.fullversionstring" value="${project.version}" />
382
                <property name="project.version" value="${project.version}" />
383
                <ant antfile="${project.basedir}/src/main/installer/linux/build-deb.xml" dir="${project.basedir}" />
384
              </tasks>
385
            </configuration>
386
            <goals>
387
              <goal>run</goal>
388
            </goals>
389
          </execution>
390
        </executions>
391
      </plugin>
392
      <!-- Build windows installer -->
393
      <plugin>
394
        <groupId>org.codehaus.mojo</groupId>
395
        <artifactId>exec-maven-plugin</artifactId>
396
        <version>1.2.1</version>
397
        <executions>
398
          <execution>
399
            <phase>install</phase>
400
            <goals>
401
              <goal>exec</goal>
402
            </goals>
403
          </execution>
404
        </executions>
405
        <configuration>
406
          <executable>makensis</executable>
407
          <!-- optional -->
408
          <workingDirectory>/tmp</workingDirectory>
409
          <arguments>
410
            <!-- <argument>-V3</argument> -->
411
            <argument>${project.basedir}/target/installer/win32/setup.nsi</argument>
412
          </arguments>
413
        </configuration>
414
      </plugin>
415
      <!-- ====== DEPLOY ====== -->
416
      <plugin>
417
        <groupId>org.apache.maven.plugins</groupId>
418
        <artifactId>maven-release-plugin</artifactId>
419
        <version>2.1</version>
420
        <configuration>
421
          <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
422
          <autoVersionSubmodules>false</autoVersionSubmodules>
423
          <preparationGoals>clean verify install</preparationGoals>
424
          <goals>deploy</goals><!-- skipping site-deploy by explicitly configuring
425
            the goal here -->
426
          <tagBase>http://dev.e-taxonomy.eu/svn/tags/cdm-server</tagBase>
427
        </configuration>
428
      </plugin>
429
      <plugin>
430
        <groupId>org.codehaus.mojo</groupId>
431
        <artifactId>wagon-maven-plugin</artifactId>
432
        <version>1.0-beta-3</version>
433
        <!-- Problems with the wagon-maven-plugin have been encounterd on Windows,
434
          it should work properly on linux though. -->
435
        <executions>
436
          <execution>
437
            <phase>deploy</phase>
438
            <goals>
439
              <goal>upload</goal>
440
            </goals>
441
          </execution>
442
        </executions>
443
        <configuration>
444
          <fromDir>target</fromDir>
445
          <includes>*${project.version}*.deb,*${project.version}*.jar,*${project.version}*.exe</includes>
446
          <url>scpexe://wp5.e-taxonomy.eu/var/www/download/cdmserver/${project.version}</url>
447
          <serverId>wp5.e-taxonomy.eu</serverId>
448
        </configuration>
449
      </plugin>
450
    </plugins>
451
    <!-- EXTENSIONS -->
452
    <extensions>
453
      <extension>
454
        <groupId>org.apache.maven.wagon</groupId>
455
        <artifactId>wagon-scm</artifactId>
456
        <version>1.0-alpha-5</version>
457
      </extension>
458
      <extension>
459
        <groupId>org.apache.maven.wagon</groupId>
460
        <artifactId>wagon-ssh</artifactId>
461
        <version>1.0-beta-7</version>
462
      </extension>
463
      <extension>
464
        <groupId>org.apache.maven.scm</groupId>
465
        <artifactId>maven-scm-manager-plexus</artifactId>
466
        <version>1.0</version>
467
      </extension>
468
      <extension>
469
        <groupId>org.apache.maven.scm</groupId>
470
        <artifactId>maven-scm-provider-svnexe</artifactId>
471
        <version>1.0</version>
472
      </extension>
473
      <!-- WebDAV plugin to upload snapshots -->
474
      <extension>
475
        <groupId>org.apache.maven.wagon</groupId>
476
        <artifactId>wagon-webdav</artifactId>
477
        <version>1.0-beta-2</version>
478
      </extension>
479
    </extensions>
480
  </build>
481 481

  
482
	<reporting>
483
		<plugins>
484
			<plugin>
485
				<!-- you will want to start by publishing your classes' Javadocs -->
486
				<groupId>org.apache.maven.plugins</groupId>
487
				<artifactId>maven-javadoc-plugin</artifactId>
488
				<configuration>
489
					<links>
490
						<link>http://java.sun.com/j2se/1.6.0/docs/api/</link>
491
						<!-- more libraries? -->
492
					</links>
493
				</configuration>
494
			</plugin>
495
			<plugin>
496
				<!-- this will generate an indexed and cross-referenced HTML version
497
					of your source code -->
498
				<groupId>org.apache.maven.plugins</groupId>
499
				<artifactId>maven-jxr-plugin</artifactId>
500
			</plugin>
501
			<plugin>
502
				<!-- if you use @todo tags to remind you of things to be done (which
503
					is a good coding practice), the taglist report will generate a list of all
504
					the items marked @todo or TODO -->
505
				<groupId>org.codehaus.mojo</groupId>
506
				<artifactId>taglist-maven-plugin</artifactId>
507
			</plugin>
508
			<plugin>
509
				<!-- Test coverage can be a useful indication of the quality of your
510
					unit tests. It basically tells you how much of your code is actually run
511
					by your unit tests, which, in turn, can give you a good idea of the tests'
512
					quality -->
513
				<groupId>org.codehaus.mojo</groupId>
514
				<artifactId>cobertura-maven-plugin</artifactId>
515
			</plugin>
482
  <reporting>
483
    <plugins>
484
      <plugin>
485
        <!-- you will want to start by publishing your classes' Javadocs -->
486
        <groupId>org.apache.maven.plugins</groupId>
487
        <artifactId>maven-javadoc-plugin</artifactId>
488
        <configuration>
489
          <links>
490
            <link>http://java.sun.com/j2se/1.6.0/docs/api/</link>
491
            <!-- more libraries? -->
492
          </links>
493
        </configuration>
494
      </plugin>
495
      <plugin>
496
        <!-- this will generate an indexed and cross-referenced HTML version
497
          of your source code -->
498
        <groupId>org.apache.maven.plugins</groupId>
499
        <artifactId>maven-jxr-plugin</artifactId>
500
      </plugin>
501
      <plugin>
502
        <!-- if you use @todo tags to remind you of things to be done (which
503
          is a good coding practice), the taglist report will generate a list of all
504
          the items marked @todo or TODO -->
505
        <groupId>org.codehaus.mojo</groupId>
506
        <artifactId>taglist-maven-plugin</artifactId>
507
      </plugin>
508
      <plugin>
509
        <!-- Test coverage can be a useful indication of the quality of your
510
          unit tests. It basically tells you how much of your code is actually run
511
          by your unit tests, which, in turn, can give you a good idea of the tests'
512
          quality -->
513
        <groupId>org.codehaus.mojo</groupId>
514
        <artifactId>cobertura-maven-plugin</artifactId>
515
      </plugin>
516 516

  
517 517

  
518
		</plugins>
519
	</reporting>
520
	<!-- DISTRIBUTION MANAGEMENT -->
521
	<distributionManagement>
522
		<site>
523
			<id>wp5.e-taxonomy.eu</id>
524
			<url>
518
    </plugins>
519
  </reporting>
520
  <!-- DISTRIBUTION MANAGEMENT -->
521
  <distributionManagement>
522
    <site>
523
      <id>wp5.e-taxonomy.eu</id>
524
      <url>
525 525
        scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/cdm-server/
526 526
      </url>
527
		</site>
528
		<repository>
529
			<uniqueVersion>false</uniqueVersion>
530
			<id>wp5.e-taxonomy.eu</id>
531
			<name>Edit Maven Repository</name>
532
			<url>
527
    </site>
528
    <repository>
529
      <uniqueVersion>false</uniqueVersion>
530
      <id>wp5.e-taxonomy.eu</id>
531
      <name>Edit Maven Repository</name>
532
      <url>
533 533
        scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo
534 534
      </url>
535
		</repository>
536
	</distributionManagement>
535
    </repository>
536
  </distributionManagement>
537 537

  
538
	<dependencies>
539
		<!-- maven 3 no longer supports uniqueVerions for SNAPSHOT artifacts. The
540
			cdm-server Bootlader however relies on a specific name of the cdmlib-remote-webapp
541
			war file. In order to achieve this with maven 3 the below dependency is now
542
			handled more explicitely by utilizing the dependency:copy-dependencies gloal
543
			in the build/plugins section
544
			 <dependency>
545
			     <groupId>eu.etaxonomy</groupId>
546
			     <artifactId>cdmlib-remote-webapp</artifactId>
538
  <dependencies>
539
    <!-- maven 3 no longer supports uniqueVerions for SNAPSHOT artifacts. The
540
      cdm-server Bootlader however relies on a specific name of the cdmlib-remote-webapp
541
      war file. In order to achieve this with maven 3 the below dependency is now
542
      handled more explicitely by utilizing the dependency:copy-dependencies gloal
543
      in the build/plugins section
544
       <dependency>
545
           <groupId>eu.etaxonomy</groupId>
546
           <artifactId>cdmlib-remote-webapp</artifactId>
547 547
                 <version>${project.version}</version>
548
			     <type>war</type>
549
			 </dependency>
550
	       -->
551
		<!-- JETTY 7 -->
552
		<dependency>
553
			<groupId>org.eclipse.jetty</groupId>
554
			<artifactId>jetty-webapp</artifactId>
555
			<version>${jetty-version}</version>
556
		</dependency>
557
		<dependency>
558
			<groupId>org.eclipse.jetty</groupId>
559
			<artifactId>jetty-plus</artifactId>
560
			<version>${jetty-version}</version>
561
		</dependency>
562
		<dependency>
563
			<groupId>org.eclipse.jetty</groupId>
564
			<artifactId>jetty-webapp</artifactId>
565
			<version>${jetty-version}</version>
566
		</dependency>
567
		<dependency>
568
			<groupId>org.eclipse.jetty</groupId>
569
			<artifactId>jetty-jmx</artifactId>
570
			<version>${jetty-version}</version>
571
		</dependency>
572
		<dependency>
573
			<groupId>org.eclipse.jetty</groupId>
574
			<artifactId>jetty-security</artifactId>
575
			<version>${jetty-version}</version>
576
		</dependency>
577
		<dependency>
578
			<groupId>org.mortbay.jetty</groupId>
579
			<artifactId>jsp-2.1-glassfish</artifactId>
580
			<version>9.1.1.B60.25.p2</version>
581
		</dependency>
582
		<dependency>
583
			<groupId>javax.transaction</groupId>
584
			<artifactId>jta</artifactId>
585
			<version>1.1</version>
586
		</dependency>
587
		<!-- JSON -->
588
		<dependency>
589
			<groupId>org.codehaus.jackson</groupId>
590
			<artifactId>jackson-mapper-asl</artifactId>
591
			<version>1.8.8</version>
592
		</dependency>
593
		<!-- windows service -->
594
		<dependency>
595
			<groupId>tanukisoft</groupId>
596
			<artifactId>wrapper</artifactId>
597
			<version>3.2.3</version>
598
		</dependency>
548
           <type>war</type>
549
       </dependency>
550
         -->
551
    <!-- JETTY 7 -->
552
    <dependency>
553
      <groupId>org.eclipse.jetty</groupId>
554
      <artifactId>jetty-webapp</artifactId>
555
      <version>${jetty-version}</version>
556
    </dependency>
557
    <dependency>
558
      <groupId>org.eclipse.jetty</groupId>
559
      <artifactId>jetty-plus</artifactId>
560
      <version>${jetty-version}</version>
561
    </dependency>
562
    <dependency>
563
      <groupId>org.eclipse.jetty</groupId>
564
      <artifactId>jetty-webapp</artifactId>
565
      <version>${jetty-version}</version>
566
    </dependency>
567
    <dependency>
568
      <groupId>org.eclipse.jetty</groupId>
569
      <artifactId>jetty-jmx</artifactId>
570
      <version>${jetty-version}</version>
571
    </dependency>
572
    <dependency>
573
      <groupId>org.eclipse.jetty</groupId>
574
      <artifactId>jetty-security</artifactId>
575
      <version>${jetty-version}</version>
576
    </dependency>
577
    <dependency>
578
      <groupId>org.mortbay.jetty</groupId>
579
      <artifactId>jsp-2.1-glassfish</artifactId>
580
      <version>9.1.1.B60.25.p2</version>
581
    </dependency>
582
    <dependency>
583
      <groupId>javax.transaction</groupId>
584
      <artifactId>jta</artifactId>
585
      <version>1.1</version>
586
    </dependency>
587
    <!-- JSON -->
588
    <dependency>
589
      <groupId>org.codehaus.jackson</groupId>
590
      <artifactId>jackson-mapper-asl</artifactId>
591
      <version>1.8.8</version>
592
    </dependency>
593
    <!-- windows service -->
594
    <dependency>
595
      <groupId>tanukisoft</groupId>
596
      <artifactId>wrapper</artifactId>
597
      <version>3.2.3</version>
598
    </dependency>
599 599

  
600
		<!-- Logging -->
601
		<dependency>
602
			<groupId>org.slf4j</groupId>
603
			<artifactId>slf4j-api</artifactId>
604
			<version>1.7.2</version>
605
		</dependency>
606
		<dependency>
607
			<groupId>org.slf4j</groupId>
608
			<artifactId>slf4j-log4j12</artifactId>
609
			<version>1.7.2</version>
610
		</dependency>
611
		<dependency>
612
			<groupId>commons-cli</groupId>
613
			<artifactId>commons-cli</artifactId>
614
			<version>1.2</version>
615
		</dependency>
616
		<dependency>
617
			<groupId>commons-io</groupId>
618
			<artifactId>commons-io</artifactId>
619
			<version>2.4</version>
620
		</dependency>
600
    <!-- Logging -->
601
    <dependency>
602
      <groupId>org.slf4j</groupId>
603
      <artifactId>slf4j-api</artifactId>
604
      <version>1.7.2</version>
605
    </dependency>
606
    <dependency>
607
      <groupId>org.slf4j</groupId>
608
      <artifactId>slf4j-log4j12</artifactId>
609
      <version>1.7.2</version>
610
    </dependency>
611
    <dependency>
612
      <groupId>commons-cli</groupId>
613
      <artifactId>commons-cli</artifactId>
614
      <version>1.2</version>
615
    </dependency>
616
    <dependency>
617
      <groupId>commons-io</groupId>
618
      <artifactId>commons-io</artifactId>
619
      <version>2.4</version>
620
    </dependency>
621 621
        <dependency>
622 622
            <groupId>commons-collections</groupId>
623 623
            <artifactId>commons-collections</artifactId>
624 624
            <version>3.2.1</version>
625 625
        </dependency>
626
		<dependency>
627
			<groupId>net.sf.jopt-simple</groupId>
628
			<artifactId>jopt-simple</artifactId>
629
			<version>3.2</version>
630
		</dependency>
631
		<dependency>
632
			<groupId>com.mchange</groupId>
633
			<artifactId>c3p0</artifactId>
634
			<version>0.9.2</version>
635
		</dependency>
636
		<!-- DATABASE DRIVER -->
637
		<dependency>
638
			<groupId>mysql</groupId>
639
			<artifactId>mysql-connector-java</artifactId>
640
			<version>5.1.24</version>
641
		</dependency>
642
	</dependencies>
626
    <dependency>
627
      <groupId>net.sf.jopt-simple</groupId>
628
      <artifactId>jopt-simple</artifactId>
629
      <version>3.2</version>
630
    </dependency>
631
    <dependency>
632
      <groupId>com.mchange</groupId>
633
      <artifactId>c3p0</artifactId>
634
      <version>0.9.2</version>
635
    </dependency>
636
    <!-- DATABASE DRIVER -->
637
    <dependency>
638
      <groupId>mysql</groupId>
639
      <artifactId>mysql-connector-java</artifactId>
640
      <version>5.1.24</version>
641
    </dependency>
642
  </dependencies>
643 643

  
644 644
</project>

Also available in: Unified diff