Project

General

Profile

Download (17 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
		<!--
17
		  see section Provider Configuration in http://maven.apache.org/scm/subversion.html
18
		  for instructions on how to externalize credentials in $user.home/.scm/svn-settings.xml  
19
		-->
20
		<connection>scm:svn:tags/cdm-server/cdm-server-3.0.3</connection>
21
		<developerConnection>scm:svn:tags/cdm-server/cdm-server-3.0.3</developerConnection>
22
		<url>scm:svn:tags/cdm-server/cdm-server-3.0.3</url>
23
	</scm>
24

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

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

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

    
427
	<reporting>
428
		<plugins>
429
			<plugin>
430
				<!-- you will want to start by publishing your classes' Javadocs -->
431
				<groupId>org.apache.maven.plugins</groupId>
432
				<artifactId>maven-javadoc-plugin</artifactId>
433
				<configuration>
434
					<links>
435
						<link>http://java.sun.com/j2se/1.6.0/docs/api/</link>
436
						<link>http://static.springframework.org/spring/docs/2.5.x/api/</link>
437
						<link>http://www.hibernate.org/hib_docs/v3/api/</link>
438
						<!-- more libraries? -->
439
					</links>
440
				</configuration>
441
			</plugin>
442
			<plugin>
443
				<!--
444
					this will generate an indexed and cross-referenced HTML version of
445
					your source code
446
				-->
447
				<groupId>org.apache.maven.plugins</groupId>
448
				<artifactId>maven-jxr-plugin</artifactId>
449
			</plugin>
450
			<plugin>
451
				<!--
452
					if you use @todo tags to remind you of things to be done (which is
453
					a good coding practice), the taglist report will generate a list of
454
					all the items marked @todo or TODO
455
				-->
456
				<groupId>org.codehaus.mojo</groupId>
457
				<artifactId>taglist-maven-plugin</artifactId>
458
			</plugin>
459
			<plugin>
460
				<!--
461
					Test coverage can be a useful indication of the quality of your
462
					unit tests. It basically tells you how much of your code is
463
					actually run by your unit tests, which, in turn, can give you a
464
					good idea of the tests' quality
465
				-->
466
				<groupId>org.codehaus.mojo</groupId>
467
				<artifactId>cobertura-maven-plugin</artifactId>
468
			</plugin>
469

    
470

    
471
		</plugins>
472
	</reporting>
473
	<!--	 DISTRIBUTION MANAGEMENT -->
474
	<distributionManagement>
475
		<site>
476
			<id>wp5.e-taxonomy.eu</id>
477
			<url>
478
				scpexe://160.45.63.151/var/www/wp5.e-taxonomy.eu/cdm-server/
479
			</url>
480
		</site>
481
		<repository>
482
			<id>wp5.e-taxonomy.eu</id>
483
			<name>Edit Maven Repository</name>
484
			<url>
485
				scpexe://160.45.63.151/var/www/wp5.e-taxonomy.eu/cdmlib/mavenrepo
486
			</url>
487
		</repository>
488
	</distributionManagement>
489

    
490
	<dependencies>
491
		<dependency>
492
			<groupId>eu.etaxonomy</groupId>
493
			<artifactId>cdmlib-remote-webapp</artifactId>
494
			<version>${project.version}</version>
495
			<type>war</type>
496
		</dependency>
497

    
498
		<!-- JETTY 7 -->
499
		<dependency>
500
			<groupId>org.eclipse.jetty</groupId>
501
			<artifactId>jetty-webapp</artifactId>
502
			<version>${jetty-version}</version>
503
		</dependency>
504
		<dependency>
505
			<groupId>org.eclipse.jetty</groupId>
506
			<artifactId>jetty-plus</artifactId>
507
			<version>${jetty-version}</version>
508
		</dependency>
509
		<dependency>
510
			<groupId>org.eclipse.jetty</groupId>
511
			<artifactId>jetty-webapp</artifactId>
512
			<version>${jetty-version}</version>
513
		</dependency>
514
		<dependency>
515
			<groupId>org.eclipse.jetty</groupId>
516
			<artifactId>jetty-jmx</artifactId>
517
			<version>${jetty-version}</version>
518
		</dependency>
519
		<dependency>
520
			<groupId>org.eclipse.jetty</groupId>
521
			<artifactId>jetty-security</artifactId>
522
			<version>${jetty-version}</version>
523
		</dependency>
524
		<dependency>
525
			<groupId>org.mortbay.jetty</groupId>
526
			<artifactId>jsp-2.1-glassfish</artifactId>
527
			<version>9.1.1.B60.25.p2</version>
528
		</dependency>
529
		<dependency>
530
			<groupId>javax.transaction</groupId>
531
			<artifactId>jta</artifactId>
532
			<version>1.1</version>
533
		</dependency>
534
		<!-- JSON -->
535
		<dependency>
536
			<groupId>org.codehaus.jackson</groupId>
537
			<artifactId>jackson-mapper-asl</artifactId>
538
			<version>1.6.4</version>
539
		</dependency>
540
		<!-- windows service -->
541
		<dependency>
542
			<groupId>tanukisoft</groupId>
543
			<artifactId>wrapper</artifactId>
544
			<version>3.2.3</version>
545
		</dependency>
546

    
547
		<!--  Logging  -->
548
		<dependency>
549
			<groupId>org.slf4j</groupId>
550
			<artifactId>slf4j-api</artifactId>
551
			<version>1.6.1</version>
552
		</dependency>
553
		<dependency>
554
			<groupId>org.slf4j</groupId>
555
			<artifactId>slf4j-log4j12</artifactId>
556
			<version>1.6.1</version>
557
		</dependency>
558

    
559
		<dependency>
560
			<groupId>commons-cli</groupId>
561
			<artifactId>commons-cli</artifactId>
562
			<version>1.2</version>
563
		</dependency>
564
		<dependency>
565
			<groupId>commons-io</groupId>
566
			<artifactId>commons-io</artifactId>
567
			<version>1.4</version>
568
		</dependency>
569
		<dependency>
570
			<groupId>net.sf.jopt-simple</groupId>
571
			<artifactId>jopt-simple</artifactId>
572
			<version>3.2</version>
573
		</dependency>
574
		<dependency>
575
			<groupId>c3p0</groupId>
576
			<artifactId>c3p0</artifactId>
577
			<version>0.9.1</version>
578
		</dependency>
579
		<!--  DATABASE DRIVER -->
580
		<dependency>
581
			<groupId>mysql</groupId>
582
			<artifactId>mysql-connector-java</artifactId>
583
			<version>5.0.5</version>
584
		</dependency>
585
	</dependencies>
586

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