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

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