Project

General

Profile

Download (16 KB) Statistics
| Branch: | Tag: | Revision:
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/xsd/maven-4.0.0.xsd">
3

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

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

    
15
	<scm>
16
		<connection>scm:svn:http://dev.e-taxonomy.eu/svn/tags/cdm-server/3.0.3-SNAPSHOT</connection>
17
		<developerConnection>scm:svn:https://dev.e-taxonomy.eu/svn/tags/cdm-server/3.0.3-SNAPSHOT</developerConnection>
18
		<url>http://dev.e-taxonomy.eu/trac/browser/tags/cdm-server/3.0.3-SNAPSHOT</url>
19
	</scm>
20

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

    
72
	<!--
73
		contributors> <contributor> <name>Test-Contributor</name>
74
		</contributor> </contributors -->
75
	<issueManagement>
76
		<system>Trac</system>
77
		<url>http://dev.e-taxonomy.eu/trac/</url>
78
	</issueManagement>
79
	<ciManagement>
80
		<system>Hudson</system>
81
		<url>http://160.45.63.201/hudson</url>
82
	</ciManagement>
83
	<!-- **** REPOSITORIES **** -->
84
	<repositories>
85
		<!-- sun repository -->
86
		<repository>
87
			<id>java.net</id>
88
			<url>http://download.java.net/maven/1/</url>
89
			<layout>legacy</layout>
90
		</repository>
91
		<!-- the cdm internal repository -->
92
		<repository>
93
			<id>EditRepository</id>
94
			<url>http://wp5.e-taxonomy.eu/cdmlib/mavenrepo/</url>
95
		</repository>
96
		<!-- apache incubating repository -->
97
		<repository>
98
			<id>ApacheIncubating</id>
99
			<url>http://people.apache.org/repo/m2-incubating-repository/</url>
100
		</repository>
101
		<!-- Neccessary for hibernate-envers -->
102
		<repository>
103
			<releases>
104
				<enabled>true</enabled>
105
				<updatePolicy>always</updatePolicy>
106
				<checksumPolicy>warn</checksumPolicy>
107
			</releases>
108
			<snapshots>
109
				<enabled>false</enabled>
110
				<updatePolicy>never</updatePolicy>
111
				<checksumPolicy>fail</checksumPolicy>
112
			</snapshots>
113
			<id>jboss-repository</id>
114
			<name>JBoss Repository</name>
115
			<url>http://repository.jboss.com/maven2</url>
116
		</repository>
117
		<!-- current spring source repositories -->
118
		<repository>
119
			<id>SpringSource Enterprise Bundle Repository - External Bundle Milestones</id>
120
			<url>http://repository.springsource.com/maven/bundles/milestone</url>
121
		</repository>
122
		<repository>
123
			<id>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</id>
124
			<url>http://repository.springsource.com/maven/bundles/release</url>
125
		</repository>
126
		<repository>
127
			<id>SpringSource Enterprise Bundle Repository - External Bundle Releases</id>
128
			<url>http://repository.springsource.com/maven/bundles/external</url>
129
		</repository>
130
	</repositories>
131

    
132
	<!-- **** PLUGINS **** -->
133
	<build>
134
	   <resources>
135
	       <resource>
136
	           <!-- 
137
	               replace the project-version placeholder in the version.properties file. 
138
	               This property can then be used to retrieve the version number in the Bootloader
139
	            -->
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
               <!-- 
149
                   all other files in classes
150
                -->
151
               <targetPath>${project.build.directory}/classes</targetPath>
152
               <directory>${basedir}/src/main/resources</directory>
153
               <excludes>
154
                   <exclude>version.properties</exclude>
155
               </excludes>
156
           </resource>
157
	   </resources>
158
		<plugins>
159
			<plugin>
160
				<artifactId>maven-compiler-plugin</artifactId>
161
				<configuration>
162
					<source>1.6</source>
163
					<target>1.6</target>
164
				</configuration>
165
			</plugin>
166
			<plugin>
167
				<groupId>org.apache.maven.plugins</groupId>
168
				<artifactId>maven-release-plugin</artifactId>
169
				<version>2.1</version>
170
				<configuration>
171
					<allowTimestampedSnapshots>true</allowTimestampedSnapshots>
172
					<autoVersionSubmodules>false</autoVersionSubmodules>
173
					<preparationGoals>clean install</preparationGoals>
174
					<tag>cdm-server/${project.version}</tag>
175
				</configuration>
176
			</plugin>
177
			<plugin>
178
				<artifactId>maven-surefire-plugin</artifactId>
179
				<configuration>
180
					<argLine>-Xmx512M</argLine>
181
					<includes>
182
						<include>**/*Test.java</include>
183
					</includes>
184
					<systemProperties>
185
						<property>
186
							<name>hibernate.connection.driver_class</name>
187
							<value>${hibernate.connection.driver_class}</value>
188
						</property>
189
						<property>
190
							<name>hibernate.connection.url</name>
191
							<value>${hibernate.connection.url}</value>
192
						</property>
193
						<property>
194
							<name>hibernate.connection.username</name>
195
							<value>${hibernate.connection.username}</value>
196
						</property>
197
						<property>
198
							<name>hibernate.connection.password</name>
199
							<value>${hibernate.connection.password}</value>
200
						</property>
201
					</systemProperties>
202
				</configuration>
203
			</plugin>
204
			<plugin>
205
				<groupId>org.codehaus.mojo</groupId>
206
				<artifactId>buildnumber-maven-plugin</artifactId>
207
				<version>1.0-beta-3</version>
208
				<executions>
209
					<execution>
210
						<!--<phase>deploy</phase>-->
211
						<goals>
212
							<goal>create</goal>
213
						</goals>
214
					</execution>
215
				</executions>
216
				<configuration>
217
					<doCheck>false</doCheck>
218
					<!--
219
						Only create the build number if there are no local modifications
220
					-->
221
					<doUpdate>false</doUpdate>
222
					<!--
223
						automatically update the local svn copy
224
					-->
225
				</configuration>
226
			</plugin>
227
			<plugin>
228
				<groupId>org.apache.maven.plugins</groupId>
229
				<artifactId>maven-site-plugin</artifactId>
230
				<version>2.1.1</version>
231
				<configuration>
232
					<locales>en</locales>
233
				</configuration>
234
			</plugin>
235
			<plugin>
236
				<groupId>org.apache.maven.plugins</groupId>
237
				<artifactId>maven-source-plugin</artifactId>
238
				<executions>
239
					<execution>
240
						<id>attach-sources</id>
241
						<phase>verify</phase>
242
						<goals>
243
							<goal>jar</goal>
244
						</goals>
245
					</execution>
246
				</executions>
247
			</plugin>
248
			<plugin>
249
				<groupId>org.apache.maven.plugins</groupId>
250
				<artifactId>maven-javadoc-plugin</artifactId>
251
				<configuration>
252
					<aggregate>true</aggregate>
253
					<stylesheet>maven</stylesheet>
254
				</configuration>
255
			</plugin>
256
			<plugin>
257
				<groupId>org.apache.maven.plugins</groupId>
258
				<artifactId>maven-eclipse-plugin</artifactId>
259
				<configuration>
260
					<downloadSources>true</downloadSources>
261
					<downloadJavadocs>true</downloadJavadocs>
262
				</configuration>
263
			</plugin>
264
			<!-- INSTALL -->
265
			<!--
266
				package the default webapp, and also add the
267
				cdmlib-remote-webapp.war
268
				test with: mvn war:war
269
			-->
270
			<plugin>
271
				<groupId>org.apache.maven.plugins</groupId>
272
				<artifactId>maven-war-plugin</artifactId>
273
				<version>2.1-beta-1</version>
274
				<configuration>
275
					<warName>default-webapp</warName>
276
					<overlays>
277
						<overlay>
278
							<groupId>eu.etaxonomy</groupId>
279
							<artifactId>cdmlib-remote-webapp</artifactId>
280
							<!-- version is set in dependency -->
281
							<skip>true</skip><!-- Do Not overlay  -->
282
						</overlay>
283
					</overlays>
284
				</configuration>
285
				<executions>
286
					<execution>
287
						<phase>package</phase>
288
						<goals>
289
							<goal>war</goal>
290
						</goals>
291
					</execution>
292
				</executions>
293
			</plugin>
294
			<plugin>
295
				<!--
296
					Assemble the runnable server jar
297
					test with: mvn assembly:single
298
				-->
299
				<artifactId>maven-assembly-plugin</artifactId>
300
				<configuration>
301
					<appendAssemblyId>false</appendAssemblyId>
302
					<descriptors>
303
						<descriptor>src/main/assembly/assembly.xml</descriptor>
304
					</descriptors>
305
					<archive>
306
						<manifest>
307
							<mainClass>eu.etaxonomy.cdm.server.Bootloader</mainClass>
308
							<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
309
							<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
310
						</manifest>
311
					</archive>
312
				</configuration>
313
				<executions>
314
					<execution>
315
						<id>make-assembly</id>
316
						<phase>install</phase>
317
						<goals>
318
							<goal>attached</goal>
319
						</goals>
320
					</execution>
321
				</executions>
322
			</plugin>
323
			<plugin>
324
				<!--
325
					Build a Debian package
326
				-->
327
				<artifactId>maven-antrun-plugin</artifactId>
328
				<version>1.3</version>
329
				<executions>
330
					<execution>
331
						<phase>install</phase>
332
						<configuration>
333
							<tasks>
334
								<property name="project.fullversionstring" value="${project.version}" />
335
								<property name="project.version" value="${project.version}" />
336
								<ant antfile="${project.basedir}/src/main/installer/linux/build-deb.xml" dir="${project.basedir}" />
337
							</tasks>
338
						</configuration>
339
						<goals>
340
							<goal>run</goal>
341
						</goals>
342
					</execution>
343
				</executions>
344
			</plugin>
345
			<!-- DEPLOY -->
346
			<plugin>
347
				<!--
348
					Upload the installer to the download site on the server
349
				-->
350
				<!--
351
					USAGE: http://myfaces.apache.org/wagon-maven-plugin/usage.html
352
				-->
353
				<groupId>org.apache.myfaces.maven</groupId>
354
				<artifactId>wagon-maven-plugin</artifactId>
355
				<version>1.0.6</version>
356
				<configuration>
357
					<id>wp5.e-taxonomy.eu</id>
358
					<url>scpexe://160.45.63.151/var/www/download/cdmserver/${project.version}</url>
359
					<inputDirectory>target/installer</inputDirectory>
360
				</configuration>
361
				<executions>
362
					<execution>
363
						<id>upload-binaries</id>
364
						<phase>deploy</phase>
365
						<goals>
366
							<goal>deploy</goal>
367
						</goals>
368
					</execution>
369
				</executions>
370
			</plugin>
371
		</plugins>
372
		<!-- EXTENSIONS -->
373
		<extensions>
374
			<extension>
375
				<groupId>org.apache.maven.wagon</groupId>
376
				<artifactId>wagon-scm</artifactId>
377
				<version>1.0-alpha-5</version>
378
			</extension>
379
			<extension>
380
				<groupId>org.apache.maven.wagon</groupId>
381
				<artifactId>wagon-ssh</artifactId>
382
				<version>1.0-beta-7</version>
383
			</extension>
384
			<extension>
385
				<groupId>org.apache.maven.scm</groupId>
386
				<artifactId>maven-scm-manager-plexus</artifactId>
387
				<version>1.0</version>
388
			</extension>
389
			<extension>
390
				<groupId>org.apache.maven.scm</groupId>
391
				<artifactId>maven-scm-provider-svnexe</artifactId>
392
				<version>1.0</version>
393
			</extension>
394
			<!-- WebDAV plugin to upload snapshots -->
395
			<extension>
396
				<groupId>org.apache.maven.wagon</groupId>
397
				<artifactId>wagon-webdav</artifactId>
398
				<version>1.0-beta-2</version>
399
			</extension>
400
		</extensions>
401
	</build>
402

    
403
	<reporting>
404
		<plugins>
405
			<plugin>
406
				<!-- you will want to start by publishing your classes' Javadocs -->
407
				<groupId>org.apache.maven.plugins</groupId>
408
				<artifactId>maven-javadoc-plugin</artifactId>
409
				<configuration>
410
					<links>
411
						<link>http://java.sun.com/j2se/1.6.0/docs/api/</link>
412
						<link>http://static.springframework.org/spring/docs/2.5.x/api/</link>
413
						<link>http://www.hibernate.org/hib_docs/v3/api/</link>
414
						<!-- more libraries? -->
415
					</links>
416
				</configuration>
417
			</plugin>
418
			<plugin>
419
				<!--
420
					this will generate an indexed and cross-referenced HTML version of
421
					your source code
422
				-->
423
				<groupId>org.apache.maven.plugins</groupId>
424
				<artifactId>maven-jxr-plugin</artifactId>
425
			</plugin>
426
			<plugin>
427
				<!--
428
					if you use @todo tags to remind you of things to be done (which is
429
					a good coding practice), the taglist report will generate a list of
430
					all the items marked @todo or TODO
431
				-->
432
				<groupId>org.codehaus.mojo</groupId>
433
				<artifactId>taglist-maven-plugin</artifactId>
434
			</plugin>
435
			<plugin>
436
				<!--
437
					Test coverage can be a useful indication of the quality of your
438
					unit tests. It basically tells you how much of your code is
439
					actually run by your unit tests, which, in turn, can give you a
440
					good idea of the tests' quality
441
				-->
442
				<groupId>org.codehaus.mojo</groupId>
443
				<artifactId>cobertura-maven-plugin</artifactId>
444
			</plugin>
445

    
446

    
447
		</plugins>
448
	</reporting>
449
	<!--	 DISTRIBUTION MANAGEMENT -->
450
	<distributionManagement>
451
		<site>
452
			<id>wp5.e-taxonomy.eu</id>
453
			<url>
454
				scpexe://160.45.63.151/var/www/wp5.e-taxonomy.eu/cdm-server/
455
			</url>
456
		</site>
457
		<repository>
458
			<id>wp5.e-taxonomy.eu</id>
459
			<name>Edit Maven Repository</name>
460
			<url>
461
				scpexe://160.45.63.151/var/www/wp5.e-taxonomy.eu/cdmlib/mavenrepo
462
			</url>
463
		</repository>
464
	</distributionManagement>
465

    
466
	<dependencies>
467
		<dependency>
468
			<groupId>eu.etaxonomy</groupId>
469
			<artifactId>cdmlib-remote-webapp</artifactId>
470
			<version>${project.version}</version>
471
			<type>war</type>
472
		</dependency>
473

    
474
		<!-- JETTY 7 -->
475
		<dependency>
476
			<groupId>org.eclipse.jetty</groupId>
477
			<artifactId>jetty-webapp</artifactId>
478
			<version>${jetty-version}</version>
479
		</dependency>
480
		<dependency>
481
			<groupId>org.eclipse.jetty</groupId>
482
			<artifactId>jetty-plus</artifactId>
483
			<version>${jetty-version}</version>
484
		</dependency>
485
		<dependency>
486
			<groupId>org.eclipse.jetty</groupId>
487
			<artifactId>jetty-webapp</artifactId>
488
			<version>${jetty-version}</version>
489
		</dependency>
490
		<dependency>
491
			<groupId>org.eclipse.jetty</groupId>
492
			<artifactId>jetty-jmx</artifactId>
493
			<version>${jetty-version}</version>
494
		</dependency>
495
		<dependency>
496
			<groupId>org.eclipse.jetty</groupId>
497
			<artifactId>jetty-security</artifactId>
498
			<version>${jetty-version}</version>
499
		</dependency>
500
		<dependency>
501
			<groupId>org.mortbay.jetty</groupId>
502
			<artifactId>jsp-2.1-glassfish</artifactId>
503
			<version>9.1.1.B60.25.p2</version>
504
		</dependency>
505
		<dependency>
506
			<groupId>javax.transaction</groupId>
507
			<artifactId>jta</artifactId>
508
			<version>1.1</version>
509
		</dependency>
510
		<!-- JSON -->
511
		<dependency>
512
			<groupId>org.codehaus.jackson</groupId>
513
			<artifactId>jackson-mapper-asl</artifactId>
514
			<version>1.6.4</version>
515
		</dependency>
516
		<!-- windows service -->
517
		<dependency>
518
			<groupId>tanukisoft</groupId>
519
			<artifactId>wrapper</artifactId>
520
			<version>3.2.3</version>
521
		</dependency>
522

    
523
		<!--  Logging  -->
524
		<dependency>
525
			<groupId>org.slf4j</groupId>
526
			<artifactId>slf4j-api</artifactId>
527
			<version>1.6.1</version>
528
		</dependency>
529
		<dependency>
530
			<groupId>org.slf4j</groupId>
531
			<artifactId>slf4j-log4j12</artifactId>
532
			<version>1.6.1</version>
533
		</dependency>
534

    
535
		<dependency>
536
			<groupId>commons-cli</groupId>
537
			<artifactId>commons-cli</artifactId>
538
			<version>1.2</version>
539
		</dependency>
540
		<dependency>
541
			<groupId>commons-io</groupId>
542
			<artifactId>commons-io</artifactId>
543
			<version>1.4</version>
544
		</dependency>
545
		<dependency>
546
			<groupId>net.sf.jopt-simple</groupId>
547
			<artifactId>jopt-simple</artifactId>
548
			<version>3.2</version>
549
		</dependency>
550
		<dependency>
551
			<groupId>c3p0</groupId>
552
			<artifactId>c3p0</artifactId>
553
			<version>0.9.1</version>
554
		</dependency>
555
		<!--  DATABASE DRIVER -->
556
		<dependency>
557
			<groupId>mysql</groupId>
558
			<artifactId>mysql-connector-java</artifactId>
559
			<version>5.0.5</version>
560
		</dependency>
561
	</dependencies>
562

    
563
</project>
(4-4/4)