source: raptor-ica/trunk/pom.xml @ 884

Revision 884, 11.1 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/xsd/maven-4.0.0.xsd">
2        <modelVersion>4.0.0</modelVersion>
3        <groupId>uk.ac.cardiff.raptor</groupId>
4        <artifactId>raptor-ica</artifactId>
5        <version>0.1.1-SNAPSHOT</version>
6        <name>Raptor Information Collector Agent</name>
7        <description>   </description>
8
9
10
11        <licenses>
12                <license>
13                        <name>Apache 2</name>
14                        <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
15                        <distribution>repo</distribution>
16                </license>
17        </licenses>
18
19        <!-- Adding extra repositories for any other libs, which is hosted on Iam -->
20        <repositories>
21                <repository>
22                        <releases>
23                                <enabled>true</enabled>
24                        </releases>
25                        <snapshots>
26                                <enabled>true</enabled>
27                                <updatePolicy>always</updatePolicy>
28                        </snapshots>
29                        <id>raptor-extras-repo</id>
30                        <name>Iam Local Maven Repo</name>
31                        <url>http://iam.cf.ac.uk/nexus-webapp-1.6.0/content/repositories/raptor-extra</url>
32                        <layout>default</layout>
33                </repository>
34                <repository>
35                        <releases>
36                                <enabled>true</enabled>
37                        </releases>
38                        <snapshots>
39                                <enabled>true</enabled>
40                                <updatePolicy>always</updatePolicy>
41                        </snapshots>
42                        <id>raptor-snapshot-repo</id>
43                        <name>Iam Local Maven Repo Snapshots</name>
44                        <url>http://iam.cf.ac.uk/nexus-webapp-1.6.0/content/repositories/raptor-snapshot</url>
45                        <layout>default</layout>
46                </repository>
47                <repository>
48                        <releases>
49                                <enabled>true</enabled>
50                        </releases>
51                        <snapshots>
52                                <enabled>true</enabled>
53                                <updatePolicy>always</updatePolicy>
54                        </snapshots>
55                        <id>raptor-release-repo</id>
56                        <name>Iam Local Maven Repo Releases</name>
57                        <url>http://iam.cf.ac.uk/nexus-webapp-1.6.0/content/repositories/raptor-release</url>
58                        <layout>default</layout>
59                </repository>
60        </repositories>
61        <!-- done -->
62
63        <scm>
64                <developerConnection>scm:svn:http://iam.cf.ac.uk/repos/RAPTOR/raptor-ica/trunk</developerConnection>
65                <url>http://iam.cf.ac.uk/repos/RAPTOR/raptor-ica</url>
66        </scm>
67
68        <distributionManagement>
69                <repository>
70                        <uniqueVersion>false</uniqueVersion>
71                        <id>raptor-release</id>
72                        <url>http://iam.cf.ac.uk/nexus-webapp-1.6.0/content/repositories/raptor-release</url>
73                </repository>
74                <snapshotRepository>
75                        <uniqueVersion>false</uniqueVersion>
76                        <id>raptor-snapshot</id>
77                        <url>http://iam.cf.ac.uk/nexus-webapp-1.6.0/content/repositories/raptor-snapshot</url>
78                </snapshotRepository>
79        </distributionManagement>
80
81        <properties>
82                <jetty.version>6.1.23</jetty.version>
83                <apache.cxf.version>2.2.8</apache.cxf.version>
84                <spring.version>3.0.2.RELEASE</spring.version>
85        </properties>
86
87
88        <dependencies>
89                <dependency>
90                        <groupId>commons-dbcp</groupId>
91                        <artifactId>commons-dbcp</artifactId>
92                        <version>1.2.2</version>
93                </dependency>
94
95                <dependency>
96                        <groupId>uk.ac.cardiff.raptor</groupId>
97                        <artifactId>raptor-client</artifactId>
98                        <version>0.1.0</version>
99                </dependency>
100
101                <dependency>
102                        <groupId>uk.ac.cardiff.raptor</groupId>
103                        <artifactId>raptor-parse</artifactId>
104                        <version>0.1.0</version>
105                </dependency>
106
107
108                <!-- CXF -->
109                <dependency>
110                        <groupId>org.apache.cxf</groupId>
111                        <artifactId>cxf-rt-frontend-jaxws</artifactId>
112                        <version>${apache.cxf.version}</version>
113                        <exclusions>
114                                <exclusion>
115                                        <groupId>asm</groupId>
116                                        <artifactId>asm</artifactId>
117                                </exclusion>
118                        </exclusions>
119                </dependency>
120                <dependency>
121                        <groupId>org.apache.cxf</groupId>
122                        <artifactId>cxf-rt-databinding-aegis</artifactId>
123                        <version>${apache.cxf.version}</version>
124                </dependency>
125                <dependency>
126                        <groupId>org.apache.cxf</groupId>
127                        <artifactId>cxf-rt-transports-http</artifactId>
128                        <version>${apache.cxf.version}</version>
129                </dependency>
130
131
132                <!-- SPRING -->
133                <dependency>
134                        <groupId>org.springframework</groupId>
135                        <artifactId>spring-webmvc</artifactId>
136                        <version>${spring.version}</version>
137                </dependency>
138
139                <dependency>
140                        <groupId>org.springframework</groupId>
141                        <artifactId>spring-web</artifactId>
142                        <version>${spring.version}</version>
143                </dependency>
144
145
146
147                <!-- Various Application Context utilities, including EhCache, JavaMail,
148                        Quartz, and Freemarker integration Define this if you need any of these integrations -->
149                <dependency>
150                        <groupId>org.springframework</groupId>
151                        <artifactId>spring-context-support</artifactId>
152                        <version>${spring.version}</version>
153                </dependency>
154
155                <dependency>
156                        <groupId>org.springframework</groupId>
157                        <artifactId>spring-context</artifactId>
158                        <version>${spring.version}</version>
159                </dependency>
160
161                <dependency>
162                        <groupId>org.springframework</groupId>
163                        <artifactId>spring-core</artifactId>
164                        <version>${spring.version}</version>
165                </dependency>
166                <!-- <dependency> <groupId>org.springframework</groupId> <artifactId>spring-expression</artifactId>
167                        <version>${spring.version}</version> </dependency> -->
168                <dependency>
169                        <groupId>org.springframework</groupId>
170                        <artifactId>spring-beans</artifactId>
171                        <version>${spring.version}</version>
172                </dependency>
173
174                <dependency>
175                        <groupId>org.springframework</groupId>
176                        <artifactId>spring-jdbc</artifactId>
177                        <version>${spring.version}</version>
178                </dependency>
179
180                <dependency>
181                        <groupId>org.springframework</groupId>
182                        <artifactId>spring-tx</artifactId>
183                        <version>${spring.version}</version>
184                </dependency>
185
186                <dependency>
187                        <groupId>org.springframework</groupId>
188                        <artifactId>spring-aop</artifactId>
189                        <version>${spring.version}</version>
190                </dependency>
191
192
193                <!-- DONE -->
194
195
196                <!-- OTHER -->
197                <dependency>
198                        <groupId>junit</groupId>
199                        <artifactId>junit</artifactId>
200                        <version>4.8.1</version>
201                        <scope>test</scope>
202                </dependency>
203                <dependency>
204                        <groupId>org.apache.maven.shared</groupId>
205                        <artifactId>maven-runtime</artifactId>
206                        <version>1.0-alpha-2</version>
207                </dependency>
208                <dependency>
209                        <groupId>org.quartz-scheduler</groupId>
210                        <artifactId>quartz</artifactId>
211                        <version>1.8.0</version>
212                        <exclusions>
213                                <exclusion>
214                                        <artifactId>slf4j-api</artifactId>
215                                        <groupId>org.slf4j</groupId>
216                                </exclusion>
217                                <exclusion>
218                                        <artifactId>slf4j-log4j12</artifactId>
219                                        <groupId>org.slf4j</groupId>
220                                </exclusion>
221                        </exclusions>
222                </dependency>
223
224
225                <dependency>
226                        <groupId>xerces</groupId>
227                        <artifactId>xercesImpl</artifactId>
228                        <version>2.9.1</version>
229                </dependency>
230
231
232
233                <!-- jetty runtime for standalone deployment -->
234
235                <dependency>
236                        <groupId>org.mortbay.jetty</groupId>
237                        <artifactId>jetty</artifactId>
238                        <version>${jetty.version}</version>
239                </dependency>
240                <dependency>
241                        <groupId>org.mortbay.jetty</groupId>
242                        <artifactId>start</artifactId>
243                        <version>${jetty.version}</version>
244                </dependency>
245                <dependency>
246                        <groupId>org.mortbay.jetty</groupId>
247                        <artifactId>jetty-util</artifactId>
248                        <version>${jetty.version}</version>
249                </dependency>
250
251                <dependency>
252                        <groupId>postgresql</groupId>
253                        <artifactId>postgresql</artifactId>
254                        <version>9.0-801.jdbc4</version>
255                </dependency>
256
257                <dependency>
258                        <groupId>commons-lang</groupId>
259                        <artifactId>commons-lang</artifactId>
260                        <version>2.6</version>
261                </dependency>
262        </dependencies>
263
264        <build>
265                <pluginManagement>
266                        <plugins>
267
268                                <plugin>
269                                        <groupId>org.apache.maven.plugins</groupId>
270                                        <artifactId>maven-compiler-plugin</artifactId>
271                                        <configuration>
272                                                <source>1.5</source>
273                                                <target>1.5</target>
274                                        </configuration>
275                                </plugin>
276                                <plugin>
277                                        <groupId>org.apache.maven.plugins</groupId>
278                                        <artifactId>maven-eclipse-plugin</artifactId>
279                                        <configuration>
280                                                <projectNameTemplate>[artifactId]-[version]</projectNameTemplate>
281                                                <wtpmanifest>true</wtpmanifest>
282                                                <wtpapplicationxml>true</wtpapplicationxml>
283                                                <wtpversion>2.0</wtpversion>
284                                        </configuration>
285                                </plugin>
286                                <plugin>
287                                        <groupId>com.google.code.maven-license-plugin</groupId>
288                                        <artifactId>maven-license-plugin</artifactId>
289                                        <version>1.4.0</version>
290                                </plugin>
291                        </plugins>
292                </pluginManagement>
293                <plugins>
294                        <plugin>
295                                <artifactId>maven-jar-plugin</artifactId>
296                                <configuration>
297                                        <finalName>raptor-ica</finalName> <!-- removed -${project.version} -->
298                                        <useUniqueVersions>false</useUniqueVersions>
299                                        <archive>
300                                                <manifest>
301                                                        <mainClass>uk.ac.cardiff.raptorica.server.RunServer</mainClass>
302                                                        <addClasspath>true</addClasspath>
303                                                        <classpathPrefix>lib/</classpathPrefix>
304                                                </manifest>
305                                        </archive>
306                                </configuration>
307                        </plugin>
308                        <plugin>
309                                <groupId>org.apache.maven.plugins</groupId>
310                                <artifactId>maven-dependency-plugin</artifactId>
311                                <executions>
312                                        <execution>
313                                                <id>copy-dependencies</id>
314                                                <phase>package</phase>
315                                                <goals>
316                                                        <goal>copy-dependencies</goal>
317                                                </goals>
318                                                <configuration>
319                                                        <outputDirectory>${project.build.directory}/lib</outputDirectory>
320                                                        <overWriteReleases>false</overWriteReleases>
321                                                        <overWriteSnapshots>false</overWriteSnapshots>
322                                                        <overWriteIfNewer>true</overWriteIfNewer>
323                                                </configuration>
324                                        </execution>
325                                </executions>
326                        </plugin>
327                        <plugin>
328                                <artifactId>maven-assembly-plugin</artifactId>
329                                <executions>
330                                        <execution>
331                                                <id>assembly</id>
332                                                <phase>package</phase>
333                                                <goals>
334                                                        <goal>assembly</goal>
335                                                </goals>
336                                                <configuration>
337                                                        <appendAssemblyId>false</appendAssemblyId>
338                                                        <finalName>raptor-ica-${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}</finalName>                       
339                                                        <descriptors>
340                                                                <descriptor>src/main/resources/package.xml</descriptor>
341                                                        </descriptors>
342                                                </configuration>
343                                        </execution>
344                                </executions>
345                        </plugin>
346                        <plugin>
347                                <groupId>org.codehaus.mojo</groupId>
348                                <artifactId>build-helper-maven-plugin</artifactId>
349                                <version>1.5</version>
350                                <executions>
351                                        <execution>
352                                                <id>parse-version</id>
353                                                <goals>
354                                                        <goal>parse-version</goal>
355                                                </goals>
356                                        </execution>
357                                </executions>
358                        </plugin>
359                        <plugin>
360                                <artifactId>maven-release-plugin</artifactId>
361                                <version>2.0</version>
362                                <configuration>
363                                        <username>philsmart</username>
364                                        <password>nv75hh</password>
365                                        <tagBase>
366                                                http://iam.cf.ac.uk/repos/RAPTOR/raptor-ica/tags
367                    </tagBase>
368                                        <providerImplementations>
369                                                <svn>javasvn</svn>
370                                        </providerImplementations>
371                                </configuration>
372                                <dependencies>
373                                        <dependency>
374                                                <groupId>com.google.code.maven-scm-provider-svnjava</groupId>
375                                                <artifactId>maven-scm-provider-svnjava</artifactId>
376                                                <version>1.10</version>
377                                        </dependency>
378                                </dependencies>
379                        </plugin>
380                        <plugin>
381                                <groupId>com.google.code.maven-license-plugin</groupId>
382                                <artifactId>maven-license-plugin</artifactId>
383                                <version>1.4.0</version>
384                                <configuration>
385                                        <includes>
386                                                <include>src/**</include>
387                                                <include>**/test/**</include>
388                                        </includes>
389                                        <excludes>
390                                                <exclude>target/**</exclude>
391                                                <exclude>.clover/**</exclude>
392                                        </excludes>
393                                        <header>src/main/resources/license-apache</header>
394                                        <properties>
395                                                <year>2010</year>
396                                                <email>smartp@cf.ac.uk</email>
397                                                <name>Cardiff University, Wales</name>
398                                        </properties>
399                                </configuration>
400                                <executions>
401                                        <execution>
402                                                <goals>
403                                                        <goal>check</goal>
404                                                </goals>
405                                        </execution>
406                                </executions>
407                        </plugin>
408
409                </plugins>
410        </build>
411</project>
Note: See TracBrowser for help on using the repository browser.