source: raptor-mua/trunk/pom.xml @ 956

Revision 956, 18.8 KB checked in by philsmart, 2 years ago (diff)

[maven-release-plugin] prepare for next development iteration

  • Property svn:mime-type set to text/plain
Line 
1<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2    <modelVersion>4.0.0</modelVersion>
3    <groupId>uk.ac.cardiff.raptor</groupId>
4    <artifactId>raptor-mua</artifactId>
5    <version>0.1.2-SNAPSHOT</version>
6    <!-- <packaging>jar</packaging> -->
7    <name>Raptor Multi-Unit Aggregator</name>
8
9
10    <!-- set up of SCM and DM -->
11    <scm>
12        <developerConnection>scm:svn:http://iam.cf.ac.uk/repos/RAPTOR/raptor-mua/trunk</developerConnection>
13        <url>http://iam.cf.ac.uk/repos/RAPTOR/raptor-mua</url>
14    </scm>
15    <distributionManagement>
16        <repository>
17            <uniqueVersion>false</uniqueVersion>
18            <id>raptor-release</id>
19            <url>http://iam.cf.ac.uk/nexus-webapp-1.6.0/content/repositories/raptor-release</url>
20        </repository>
21        <snapshotRepository>
22            <uniqueVersion>false</uniqueVersion>
23            <id>raptor-snapshot</id>
24            <url>http://iam.cf.ac.uk/nexus-webapp-1.6.0/content/repositories/raptor-snapshot</url>
25        </snapshotRepository>
26    </distributionManagement>
27
28
29    <!-- set up dependency variables -->
30
31    <properties>
32        <apache.cxf.version>2.2.8</apache.cxf.version>
33        <spring.version>3.0.3.RELEASE</spring.version>
34        <jetty.version>6.1.23</jetty.version>
35    </properties>
36
37
38    <dependencies>
39
40        <!-- RAPTOR specific dependencies -->
41
42        <dependency>
43            <groupId>uk.ac.cardiff.raptor</groupId>
44            <artifactId>raptor-parse</artifactId>
45            <version>0.1.2-SNAPSHOT</version>
46        </dependency>
47
48        <dependency>
49            <groupId>uk.ac.cardiff.raptor</groupId>
50            <artifactId>raptor-client</artifactId>
51            <version>0.1.2-SNAPSHOT</version>
52            <exclusions>
53                <exclusion>
54                    <artifactId>xalan</artifactId>
55                    <groupId>xalan</groupId>
56                </exclusion>
57                <exclusion>
58                    <artifactId>xercesImpl</artifactId>
59                    <groupId>xerces</groupId>
60                </exclusion>
61                <exclusion>
62                    <artifactId>jetty</artifactId>
63                    <groupId>org.mortbay.jetty</groupId>
64                </exclusion>
65                <exclusion>
66                    <artifactId>junit</artifactId>
67                    <groupId>junit</groupId>
68                </exclusion>
69                <exclusion>
70                    <artifactId>hibernate</artifactId>
71                    <groupId>org.hibernate</groupId>
72                </exclusion>
73            </exclusions>
74        </dependency>
75
76        <!-- jetty runtime for standalone deployment -->
77
78        <dependency>
79            <groupId>org.mortbay.jetty</groupId>
80            <artifactId>jetty</artifactId>
81            <version>${jetty.version}</version>
82        </dependency>
83        <dependency>
84            <groupId>org.mortbay.jetty</groupId>
85            <artifactId>start</artifactId>
86            <version>${jetty.version}</version>
87        </dependency>
88        <dependency>
89            <groupId>org.mortbay.jetty</groupId>
90            <artifactId>jetty-util</artifactId>
91            <version>${jetty.version}</version>
92        </dependency>
93
94
95        <!-- CXF for SOAP/WS -->
96        <dependency>
97            <groupId>org.apache.cxf</groupId>
98            <artifactId>cxf-rt-frontend-jaxws</artifactId>
99            <version>${apache.cxf.version}</version>
100            <exclusions>
101                <exclusion>
102                    <groupId>asm</groupId>
103                    <artifactId>asm</artifactId>
104                </exclusion>
105            </exclusions>
106        </dependency>
107        <dependency>
108            <groupId>org.apache.cxf</groupId>
109            <artifactId>cxf-rt-databinding-aegis</artifactId>
110            <version>${apache.cxf.version}</version>
111        </dependency>
112        <dependency>
113            <groupId>org.apache.cxf</groupId>
114            <artifactId>cxf-rt-transports-http</artifactId>
115            <version>${apache.cxf.version}</version>
116        </dependency>
117
118        <!-- SPRING DEPENDECIES -->
119        <dependency>
120            <groupId>org.springframework</groupId>
121            <artifactId>spring-webmvc</artifactId>
122            <version>${spring.version}</version>
123        </dependency>
124
125        <dependency>
126            <groupId>org.springframework</groupId>
127            <artifactId>spring-web</artifactId>
128            <version>${spring.version}</version>
129        </dependency>
130
131        <dependency>
132            <groupId>org.springframework</groupId>
133            <artifactId>spring-orm</artifactId>
134            <version>${spring.version}</version>
135        </dependency>
136
137        <dependency>
138            <groupId>org.springframework</groupId>
139            <artifactId>spring-context-support</artifactId>
140            <version>${spring.version}</version>
141        </dependency>
142
143        <dependency>
144            <groupId>org.springframework</groupId>
145            <artifactId>spring-context</artifactId>
146            <version>${spring.version}</version>
147        </dependency>
148
149        <dependency>
150            <groupId>org.springframework</groupId>
151            <artifactId>spring-core</artifactId>
152            <version>${spring.version}</version>
153        </dependency>
154
155        <dependency>
156            <groupId>org.springframework</groupId>
157            <artifactId>spring-beans</artifactId>
158            <version>${spring.version}</version>
159        </dependency>
160
161        <dependency>
162            <groupId>org.springframework</groupId>
163            <artifactId>spring-jdbc</artifactId>
164            <version>${spring.version}</version>
165        </dependency>
166
167        <dependency>
168            <groupId>org.springframework</groupId>
169            <artifactId>spring-tx</artifactId>
170            <version>${spring.version}</version>
171        </dependency>
172
173        <dependency>
174            <groupId>org.springframework</groupId>
175            <artifactId>spring-aop</artifactId>
176            <version>${spring.version}</version>
177        </dependency>
178
179        <!-- Open SAML -->
180
181
182        <dependency>
183            <groupId>org.opensaml</groupId>
184            <artifactId>opensaml</artifactId>
185            <version>2.4.0</version>
186            <exclusions>
187                <exclusion>
188                    <artifactId>log4j-over-slf4j</artifactId>
189                    <groupId>org.slf4j</groupId>
190                </exclusion>
191                <exclusion>
192                    <artifactId>slf4j-api</artifactId>
193                    <groupId>org.slf4j</groupId>
194                </exclusion>
195                <exclusion>
196                    <artifactId>jcl-over-slf4j</artifactId>
197                    <groupId>org.slf4j</groupId>
198                </exclusion>
199            </exclusions>
200        </dependency>
201
202
203
204        <!-- LOGGING to deal with existing log4j components that do not use slf4j. This bridge pushes those through slf4j
205            and hence then through logback (or the sl4fy implementation) -->
206        <dependency>
207            <groupId>org.slf4j</groupId>
208            <artifactId>log4j-over-slf4j</artifactId>
209            <version>1.6.1</version>
210        </dependency>
211        <dependency>
212            <groupId>org.slf4j</groupId>
213            <artifactId>jcl-over-slf4j</artifactId>
214            <version>1.6.1</version>
215        </dependency>
216        <dependency>
217            <groupId>ch.qos.logback</groupId>
218            <artifactId>logback-classic</artifactId>
219            <version>0.9.27</version>
220        </dependency>
221
222        <!-- ORM and Database -->
223
224
225        <dependency>
226            <groupId>commons-dbcp</groupId>
227            <artifactId>commons-dbcp</artifactId>
228            <version>1.2.2</version>
229        </dependency>
230
231
232        <dependency>
233            <groupId>c3p0</groupId>
234            <artifactId>c3p0</artifactId>
235            <version>0.9.1.2</version>
236        </dependency>
237
238        <dependency>
239            <groupId>org.hibernate</groupId>
240            <artifactId>hibernate</artifactId>
241            <version>3.2.6.ga</version>
242            <exclusions>
243                <exclusion>
244                    <groupId>javax.transaction</groupId>
245                    <artifactId>jta</artifactId>
246                </exclusion>
247            </exclusions>
248        </dependency>
249
250        <dependency>
251            <groupId>org.hsqldb</groupId>
252            <artifactId>hsqldb</artifactId>
253            <version>2.0.0</version>
254        </dependency>
255
256
257        <dependency>
258            <groupId>postgresql</groupId>
259            <artifactId>postgresql</artifactId>
260            <version>8.4-702.jdbc4</version>
261        </dependency>
262
263
264        <!-- OTHER -->
265
266        <dependency>
267            <groupId>org.quartz-scheduler</groupId>
268            <artifactId>quartz</artifactId>
269            <version>1.8.4</version>
270            <exclusions>
271                <exclusion>
272                    <artifactId>slf4j-api</artifactId>
273                    <groupId>org.slf4j</groupId>
274                </exclusion>
275            </exclusions>
276        </dependency>
277
278        <dependency>
279            <groupId>xerces</groupId>
280            <artifactId>xercesImpl</artifactId>
281            <version>2.9.1</version>
282        </dependency>
283
284        <dependency>
285            <groupId>org.apache.maven.shared</groupId>
286            <artifactId>maven-runtime</artifactId>
287            <version>1.0-alpha-2</version>
288        </dependency>
289
290        <dependency>
291            <groupId>joda-time</groupId>
292            <artifactId>joda-time</artifactId>
293            <version>1.6</version>
294        </dependency>
295    </dependencies>
296
297
298
299    <!-- Adding extra repositories for any other libs, which is hosted on Iam -->
300
301
302    <repositories>
303        <repository>
304            <releases>
305                <enabled>true</enabled>
306            </releases>
307            <snapshots>
308                <enabled>true</enabled>
309                <updatePolicy>always</updatePolicy>
310            </snapshots>
311            <id>raptor-extras-repo</id>
312            <name>Iam Local Maven Repo</name>
313            <url>http://iam.cf.ac.uk/nexus-webapp-1.6.0/content/repositories/raptor-extra</url>
314            <layout>default</layout>
315        </repository>
316        <repository>
317            <releases>
318                <enabled>true</enabled>
319            </releases>
320            <snapshots>
321                <enabled>true</enabled>
322                <updatePolicy>always</updatePolicy>
323            </snapshots>
324            <id>raptor-snapshot-repo</id>
325            <name>Iam Local Maven Repo Snapshots</name>
326            <url>http://iam.cf.ac.uk/nexus-webapp-1.6.0/content/repositories/raptor-snapshot</url>
327            <layout>default</layout>
328        </repository>
329        <repository>
330            <releases>
331                <enabled>true</enabled>
332            </releases>
333            <snapshots>
334                <enabled>true</enabled>
335                <updatePolicy>always</updatePolicy>
336            </snapshots>
337            <id>raptor-release-repo</id>
338            <name>Iam Local Maven Repo Releases</name>
339            <url>http://iam.cf.ac.uk/nexus-webapp-1.6.0/content/repositories/raptor-release</url>
340            <layout>default</layout>
341        </repository>
342        <repository>
343            <id>shibboleth.internet2.edu</id>
344            <name>Internet2</name>
345            <layout>default</layout>
346            <url>http://shibboleth.internet2.edu/downloads/maven2</url>
347            <snapshots>
348                <enabled>false</enabled>
349            </snapshots>
350        </repository>
351    </repositories>
352    <!-- done -->
353
354    <!-- set up plugins -->
355
356
357
358    <build>
359
360        <pluginManagement>
361            <plugins>
362                <plugin>
363                    <!-- THE DDL is generated from the configuration in the src/main/ddl directory hence this needs to change
364                        if any changes have been made -->
365                    <groupId>org.codehaus.mojo</groupId>
366                    <artifactId>hibernate3-maven-plugin</artifactId>
367                    <version>2.2</version>
368                    <configuration>
369                        <componentProperties>
370                            <outputfilename>mua-schema.sql</outputfilename>
371                            <format>true</format>
372                            <configurationfile>/src/main/ddl/hibernate.cfg.xml</configurationfile>
373                        </componentProperties>
374                    </configuration>
375                    <dependencies>
376                        <dependency>
377                            <groupId>postgresql</groupId>
378                            <artifactId>postgresql</artifactId>
379                            <version>8.4-702.jdbc4</version>
380                        </dependency>
381                    </dependencies>
382                </plugin>
383                <plugin>
384                    <groupId>org.apache.maven.plugins</groupId>
385                    <artifactId>maven-compiler-plugin</artifactId>
386                    <configuration>
387                        <source>1.6</source>
388                        <target>1.6</target>
389                    </configuration>
390                </plugin>
391                <plugin>
392                    <groupId>org.apache.maven.plugins</groupId>
393                    <artifactId>maven-eclipse-plugin</artifactId>
394                    <configuration>
395                        <projectNameTemplate>[artifactId]-[version]</projectNameTemplate>
396                        <wtpmanifest>true</wtpmanifest>
397                        <wtpapplicationxml>true</wtpapplicationxml>
398                        <wtpversion>2.0</wtpversion>
399                    </configuration>
400                </plugin>
401                <plugin>
402                    <groupId>com.google.code.maven-license-plugin</groupId>
403                    <artifactId>maven-license-plugin</artifactId>
404                    <version>1.4.0</version>
405                </plugin>
406            </plugins>
407        </pluginManagement>
408        <plugins>
409            <plugin>
410                <artifactId>maven-jar-plugin</artifactId>
411                <version>2.3.1</version>
412                <configuration>
413                    <finalName>raptor-mua</finalName>
414                    <archive>
415
416                        <manifest>
417                            <mainClass>uk.ac.cardiff.raptormua.server.RunServer</mainClass>
418                            <addClasspath>true</addClasspath>
419                            <classpathPrefix>lib/</classpathPrefix>
420                        </manifest>
421                    </archive>
422                </configuration>
423            </plugin>
424            <plugin>
425                <groupId>org.apache.maven.plugins</groupId>
426                <artifactId>maven-dependency-plugin</artifactId>
427                <executions>
428                    <execution>
429                        <id>copy-dependencies</id>
430                        <phase>package</phase>
431                        <goals>
432                            <goal>copy-dependencies</goal>
433                        </goals>
434                        <configuration>
435                            <outputDirectory>${project.build.directory}/lib</outputDirectory>
436                            <overWriteReleases>true</overWriteReleases>
437                            <overWriteSnapshots>true</overWriteSnapshots>
438                            <overWriteIfNewer>true</overWriteIfNewer>
439                        </configuration>
440                    </execution>
441                </executions>
442            </plugin>
443            <plugin>
444                <artifactId>maven-release-plugin</artifactId>
445                <version>2.0</version>
446                <configuration>
447                    <username>philsmart</username>
448                    <password>nv75hh</password>
449                    <tagBase>
450                        http://iam.cf.ac.uk/repos/RAPTOR/raptor-mua/tags
451                                </tagBase>
452                    <providerImplementations>
453                        <svn>javasvn</svn>
454                    </providerImplementations>
455                </configuration>
456                <dependencies>
457                    <dependency>
458                        <groupId>com.google.code.maven-scm-provider-svnjava</groupId>
459                        <artifactId>maven-scm-provider-svnjava</artifactId>
460                        <version>1.10</version>
461                    </dependency>
462                </dependencies>
463            </plugin>
464            <plugin>
465                <artifactId>maven-assembly-plugin</artifactId>
466                <executions>
467                    <execution>
468                        <id>assembly</id>
469                        <phase>package</phase>
470                        <goals>
471                            <goal>assembly</goal>
472                        </goals>
473                        <configuration>
474                            <appendAssemblyId>false</appendAssemblyId>
475                            <finalName>raptor-mua-${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}</finalName>
476                            <outputFileNameMapping>${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}</outputFileNameMapping>
477                            <descriptors>
478                                <descriptor>src/main/resources/package.xml</descriptor>
479                            </descriptors>
480                        </configuration>
481                    </execution>
482                </executions>
483            </plugin>
484            <plugin>
485                <groupId>org.codehaus.mojo</groupId>
486                <artifactId>build-helper-maven-plugin</artifactId>
487                <version>1.5</version>
488                <executions>
489                    <execution>
490                        <id>parse-version</id>
491                        <goals>
492                            <goal>parse-version</goal>
493                        </goals>
494                    </execution>
495                </executions>
496            </plugin>
497            <plugin>
498                <groupId>com.google.code.maven-license-plugin</groupId>
499                <artifactId>maven-license-plugin</artifactId>
500                <version>1.4.0</version>
501                <configuration>
502                    <includes>
503                        <include>src/**</include>
504                        <include>**/test/**</include>
505                    </includes>
506                    <excludes>
507                        <exclude>target/**</exclude>
508                        <exclude>.clover/**</exclude>
509                    </excludes>
510                    <header>src/main/resources/license-apache</header>
511                    <properties>
512                        <year>2010</year>
513                        <email>smartp@cf.ac.uk</email>
514                        <name>Cardiff University, Wales</name>
515                    </properties>
516                </configuration>
517                <executions>
518                    <execution>
519                        <goals>
520                            <goal>check</goal>
521                        </goals>
522                    </execution>
523                </executions>
524            </plugin>
525        </plugins>
526    </build>
527
528</project>
Note: See TracBrowser for help on using the repository browser.