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"
3
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
4
	http://maven.apache.org/xsd/maven-4.0.0.xsd">
5

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

    
13
	<properties>
14
		<jetty-version>7.2.2.v20101205</jetty-version>
15
	</properties>
16

    
17
	<scm>
18
		<connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdm-server/</connection>
19
		<developerConnection>scm:svn:https://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

    
23
	<mailingLists>
24
		<mailingList>
25
			<name>dev-edit</name>
26
			<subscribe>
27
				https://webmail.mnhn.fr/wws/subrequest/dev-edit
28
			</subscribe>
29
			<unsubscribe>
30
				https://webmail.mnhn.fr/wws/sigrequest/dev-edit
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
40
			</subscribe>
41
			<unsubscribe>
42
				https://webmail.mnhn.fr/wws/sigrequest/cdm-edit
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>
59
				Andreas Kohlbecker
60
			</name>
61
			<email>a.kohlbecker [at] bgbm.org</email>
62
			<organization>
63
				Botanical Garden Botanical Museum Berlin
64
			</organization>
65
			<organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
66
			<timezone>+1</timezone>
67
			<roles>
68
				<role>Developer</role>
69
			</roles>
70
			<url></url>
71
		</developer>
72
	</developers>
73

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

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

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

    
450

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

    
470
	<dependencies>
471
		<dependency>
472
			<groupId>eu.etaxonomy</groupId>
473
			<artifactId>cdmlib-remote-webapp</artifactId>
474
			<version>${project.version}</version>
475
			<type>war</type>
476
		</dependency>
477

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

    
527
		<!--  Logging  -->
528
		<dependency>
529
			<groupId>org.slf4j</groupId>
530
			<artifactId>slf4j-api</artifactId>
531
			<version>1.6.1</version>
532
		</dependency>
533
		<dependency>
534
			<groupId>org.slf4j</groupId>
535
			<artifactId>slf4j-log4j12</artifactId>
536
			<version>1.6.1</version>
537
		</dependency>
538

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

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