| 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/maven-v4_0_0.xsd"> |
|---|
| 3 | <modelVersion>4.0.0</modelVersion> |
|---|
| 4 | <groupId>uk.ac.cardiff.raptor</groupId> |
|---|
| 5 | <artifactId>raptor-ica</artifactId> |
|---|
| 6 | <version>0.5-SNAPSHOT</version> |
|---|
| 7 | <packaging>war</packaging> |
|---|
| 8 | <name>Raptor InformationCollectorAgent using CXF SOAP</name> |
|---|
| 9 | |
|---|
| 10 | <licenses> |
|---|
| 11 | <license> |
|---|
| 12 | <name>Apache 2</name> |
|---|
| 13 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
|---|
| 14 | <distribution>repo</distribution> |
|---|
| 15 | </license> |
|---|
| 16 | </licenses> |
|---|
| 17 | |
|---|
| 18 | <!-- |
|---|
| 19 | todo, no username and password 2) fix snapshot and release copy |
|---|
| 20 | errors, poss auth problems |
|---|
| 21 | --> |
|---|
| 22 | |
|---|
| 23 | <!-- |
|---|
| 24 | Adding extra repositories for any other libs, which is hosted on Iam |
|---|
| 25 | --> |
|---|
| 26 | <repositories> |
|---|
| 27 | <repository> |
|---|
| 28 | <releases> |
|---|
| 29 | <enabled>true</enabled> |
|---|
| 30 | </releases> |
|---|
| 31 | <snapshots> |
|---|
| 32 | <enabled>true</enabled> |
|---|
| 33 | <updatePolicy>always</updatePolicy> |
|---|
| 34 | </snapshots> |
|---|
| 35 | <id>raptor-extras-repo</id> |
|---|
| 36 | <name>Iam Local Maven Repo</name> |
|---|
| 37 | <url>http://iam.cf.ac.uk/nexus-webapp-1.6.0/content/repositories/raptor-extra</url> |
|---|
| 38 | <layout>default</layout> |
|---|
| 39 | </repository> |
|---|
| 40 | <repository> |
|---|
| 41 | <releases> |
|---|
| 42 | <enabled>true</enabled> |
|---|
| 43 | </releases> |
|---|
| 44 | <snapshots> |
|---|
| 45 | <enabled>true</enabled> |
|---|
| 46 | <updatePolicy>always</updatePolicy> |
|---|
| 47 | </snapshots> |
|---|
| 48 | <id>raptor-snapshot-repo</id> |
|---|
| 49 | <name>Iam Local Maven Repo Snapshots</name> |
|---|
| 50 | <url>http://iam.cf.ac.uk/nexus-webapp-1.6.0/content/repositories/raptor-snapshot</url> |
|---|
| 51 | <layout>default</layout> |
|---|
| 52 | </repository> |
|---|
| 53 | <repository> |
|---|
| 54 | <releases> |
|---|
| 55 | <enabled>true</enabled> |
|---|
| 56 | </releases> |
|---|
| 57 | <snapshots> |
|---|
| 58 | <enabled>true</enabled> |
|---|
| 59 | <updatePolicy>always</updatePolicy> |
|---|
| 60 | </snapshots> |
|---|
| 61 | <id>raptor-release-repo</id> |
|---|
| 62 | <name>Iam Local Maven Repo Releases</name> |
|---|
| 63 | <url>http://iam.cf.ac.uk/nexus-webapp-1.6.0/content/repositories/raptor-release</url> |
|---|
| 64 | <layout>default</layout> |
|---|
| 65 | </repository> |
|---|
| 66 | </repositories> |
|---|
| 67 | <!-- done --> |
|---|
| 68 | |
|---|
| 69 | |
|---|
| 70 | |
|---|
| 71 | <scm> |
|---|
| 72 | <developerConnection>scm:svn:http://iam.cf.ac.uk/repos/RAPTOR/raptor-ica/trunk</developerConnection> |
|---|
| 73 | <url>http://iam.cf.ac.uk/repos/RAPTOR/raptor-ica</url> |
|---|
| 74 | </scm> |
|---|
| 75 | <distributionManagement> |
|---|
| 76 | <!-- |
|---|
| 77 | <repository> <uniqueVersion>false</uniqueVersion> <id>local</id> |
|---|
| 78 | <name>IamCURepository</name> |
|---|
| 79 | <url>file:///Users/philsmart/Documents/Java/RaptorReleases/ICA</url> |
|---|
| 80 | </repository> |
|---|
| 81 | --> |
|---|
| 82 | <repository> |
|---|
| 83 | <uniqueVersion>false</uniqueVersion> |
|---|
| 84 | <id>raptor-release</id> |
|---|
| 85 | <url>http://iam.cf.ac.uk/nexus-webapp-1.6.0/content/repositories/raptor-release</url> |
|---|
| 86 | </repository> |
|---|
| 87 | <snapshotRepository> |
|---|
| 88 | <uniqueVersion>false</uniqueVersion> |
|---|
| 89 | <id>raptor-snapshot</id> |
|---|
| 90 | <url>http://iam.cf.ac.uk/nexus-webapp-1.6.0/content/repositories/raptor-snapshot</url> |
|---|
| 91 | </snapshotRepository> |
|---|
| 92 | </distributionManagement> |
|---|
| 93 | |
|---|
| 94 | <dependencies> |
|---|
| 95 | <dependency> |
|---|
| 96 | <groupId>commons-dbcp</groupId> |
|---|
| 97 | <artifactId>commons-dbcp</artifactId> |
|---|
| 98 | <version>1.2.2</version> |
|---|
| 99 | </dependency> |
|---|
| 100 | <dependency> |
|---|
| 101 | <groupId>org.apache.cxf</groupId> |
|---|
| 102 | <artifactId>cxf-rt-frontend-jaxws</artifactId> |
|---|
| 103 | <version>2.2.7</version> |
|---|
| 104 | <exclusions> |
|---|
| 105 | <exclusion> |
|---|
| 106 | <groupId>asm</groupId> |
|---|
| 107 | <artifactId>asm</artifactId> |
|---|
| 108 | </exclusion> |
|---|
| 109 | </exclusions> |
|---|
| 110 | </dependency> |
|---|
| 111 | <dependency> |
|---|
| 112 | <groupId>org.apache.cxf</groupId> |
|---|
| 113 | <artifactId>cxf-rt-transports-http</artifactId> |
|---|
| 114 | <version>2.2.7</version> |
|---|
| 115 | </dependency> |
|---|
| 116 | <dependency> |
|---|
| 117 | <groupId>org.apache.cxf</groupId> |
|---|
| 118 | <artifactId>cxf-bundle-jaxrs</artifactId> |
|---|
| 119 | <version>2.2.8</version> |
|---|
| 120 | </dependency> |
|---|
| 121 | |
|---|
| 122 | <dependency> |
|---|
| 123 | <groupId>org.springframework</groupId> |
|---|
| 124 | <artifactId>spring</artifactId> |
|---|
| 125 | <version>2.5.6</version> |
|---|
| 126 | </dependency> |
|---|
| 127 | |
|---|
| 128 | <dependency> |
|---|
| 129 | <groupId>log4j</groupId> |
|---|
| 130 | <artifactId>log4j</artifactId> |
|---|
| 131 | <version>1.2.14</version> |
|---|
| 132 | </dependency> |
|---|
| 133 | <dependency> |
|---|
| 134 | <groupId>junit</groupId> |
|---|
| 135 | <artifactId>junit</artifactId> |
|---|
| 136 | <version>4.8.1</version> |
|---|
| 137 | <scope>test</scope> |
|---|
| 138 | </dependency> |
|---|
| 139 | <dependency> |
|---|
| 140 | <groupId>org.apache.maven.shared</groupId> |
|---|
| 141 | <artifactId>maven-runtime</artifactId> |
|---|
| 142 | <version>1.0-alpha-2</version> |
|---|
| 143 | </dependency> |
|---|
| 144 | <dependency> |
|---|
| 145 | <groupId>org.quartz-scheduler</groupId> |
|---|
| 146 | <artifactId>quartz</artifactId> |
|---|
| 147 | <version>1.8.0</version> |
|---|
| 148 | </dependency> |
|---|
| 149 | <dependency> |
|---|
| 150 | <groupId>joda-time</groupId> |
|---|
| 151 | <artifactId>joda-time</artifactId> |
|---|
| 152 | <version>1.6</version> |
|---|
| 153 | </dependency> |
|---|
| 154 | |
|---|
| 155 | <dependency> |
|---|
| 156 | <groupId>org.springframework</groupId> |
|---|
| 157 | <artifactId>spring-hibernate3</artifactId> |
|---|
| 158 | <version>2.0.8</version> |
|---|
| 159 | </dependency> |
|---|
| 160 | <dependency> |
|---|
| 161 | <groupId>xerces</groupId> |
|---|
| 162 | <artifactId>xercesImpl</artifactId> |
|---|
| 163 | <version>2.9.1</version> |
|---|
| 164 | </dependency> |
|---|
| 165 | |
|---|
| 166 | <!-- includes the information-model --> |
|---|
| 167 | <dependency> |
|---|
| 168 | <groupId>uk.ac.cardiff.raptor</groupId> |
|---|
| 169 | <artifactId>raptor-serviceinterfaces</artifactId> |
|---|
| 170 | <version>0.3-SNAPSHOT</version> |
|---|
| 171 | </dependency> |
|---|
| 172 | <dependency> |
|---|
| 173 | <groupId>postgresql</groupId> |
|---|
| 174 | <artifactId>postgresql</artifactId> |
|---|
| 175 | <version>9.0-801.jdbc4</version> |
|---|
| 176 | </dependency> |
|---|
| 177 | |
|---|
| 178 | <!-- Deep clone library --> |
|---|
| 179 | <dependency> |
|---|
| 180 | <groupId>clonable</groupId> |
|---|
| 181 | <artifactId>cloning</artifactId> |
|---|
| 182 | <version>1.7</version> |
|---|
| 183 | </dependency> |
|---|
| 184 | |
|---|
| 185 | <dependency> |
|---|
| 186 | <groupId>clonable</groupId> |
|---|
| 187 | <artifactId>objenesis</artifactId> |
|---|
| 188 | <version>1.2</version> |
|---|
| 189 | </dependency> |
|---|
| 190 | </dependencies> |
|---|
| 191 | |
|---|
| 192 | |
|---|
| 193 | <build> |
|---|
| 194 | <resources> |
|---|
| 195 | <resource> |
|---|
| 196 | <directory>src/main/java/</directory> |
|---|
| 197 | <includes> |
|---|
| 198 | <include>main/uk/ac/cf/model/entrymetadata.hbm.xml</include> |
|---|
| 199 | <include>main/uk/ac/cf/model/parsersupport.hbm.xml</include> |
|---|
| 200 | </includes> |
|---|
| 201 | </resource> |
|---|
| 202 | <!-- DONE --> |
|---|
| 203 | </resources> |
|---|
| 204 | <pluginManagement> |
|---|
| 205 | <plugins> |
|---|
| 206 | |
|---|
| 207 | <plugin> |
|---|
| 208 | <groupId>org.apache.maven.plugins</groupId> |
|---|
| 209 | <artifactId>maven-compiler-plugin</artifactId> |
|---|
| 210 | <configuration> |
|---|
| 211 | <source>1.6</source> |
|---|
| 212 | <target>1.6</target> |
|---|
| 213 | </configuration> |
|---|
| 214 | </plugin> |
|---|
| 215 | <plugin> |
|---|
| 216 | <groupId>org.apache.maven.plugins</groupId> |
|---|
| 217 | <artifactId>maven-eclipse-plugin</artifactId> |
|---|
| 218 | <configuration> |
|---|
| 219 | <projectNameTemplate>[artifactId]-[version]</projectNameTemplate> |
|---|
| 220 | <wtpmanifest>true</wtpmanifest> |
|---|
| 221 | <wtpapplicationxml>true</wtpapplicationxml> |
|---|
| 222 | <wtpversion>2.0</wtpversion> |
|---|
| 223 | </configuration> |
|---|
| 224 | </plugin> |
|---|
| 225 | <plugin> <!-- not sure of this plugin is actually used in the build cycle --> |
|---|
| 226 | <groupId>org.apache.cxf</groupId> |
|---|
| 227 | <artifactId>cxf-codegen-plugin</artifactId> |
|---|
| 228 | <version>2.0-incubator-RC-SNAPSHOT</version> |
|---|
| 229 | <executions> |
|---|
| 230 | <execution> |
|---|
| 231 | <id>generate-sources</id> |
|---|
| 232 | <phase>generate-sources</phase> |
|---|
| 233 | <configuration> |
|---|
| 234 | <sourceRoot>${basedir}/target/generated/src/main/java</sourceRoot> |
|---|
| 235 | <wsdlOptions> |
|---|
| 236 | <wsdlOption> |
|---|
| 237 | <wsdl>${basedir}/src/main/wsdl/ICA.wsdl</wsdl> |
|---|
| 238 | </wsdlOption> |
|---|
| 239 | </wsdlOptions> |
|---|
| 240 | </configuration> |
|---|
| 241 | <goals> |
|---|
| 242 | <goal>wsdl2java</goal> |
|---|
| 243 | </goals> |
|---|
| 244 | </execution> |
|---|
| 245 | </executions> |
|---|
| 246 | </plugin> |
|---|
| 247 | <plugin> |
|---|
| 248 | <groupId>org.codehaus.mojo</groupId> |
|---|
| 249 | <artifactId>tomcat-maven-plugin</artifactId> |
|---|
| 250 | <configuration> |
|---|
| 251 | <url>http://localhost:8080/manager</url> |
|---|
| 252 | <server>mytomcat</server> |
|---|
| 253 | <path>/ICA2</path> |
|---|
| 254 | </configuration> |
|---|
| 255 | </plugin> |
|---|
| 256 | <plugin> |
|---|
| 257 | <groupId>com.google.code.maven-license-plugin</groupId> |
|---|
| 258 | <artifactId>maven-license-plugin</artifactId> |
|---|
| 259 | <version>1.4.0</version> |
|---|
| 260 | </plugin> |
|---|
| 261 | </plugins> |
|---|
| 262 | </pluginManagement> |
|---|
| 263 | <plugins> |
|---|
| 264 | <plugin> |
|---|
| 265 | <artifactId>maven-release-plugin</artifactId> |
|---|
| 266 | <version>2.0</version> |
|---|
| 267 | <configuration> |
|---|
| 268 | <username>philsmart</username> |
|---|
| 269 | <password>nv75hh</password> |
|---|
| 270 | <tagBase> |
|---|
| 271 | http://iam.cf.ac.uk/repos/RAPTOR/raptor-ica/tags |
|---|
| 272 | </tagBase> |
|---|
| 273 | <providerImplementations> |
|---|
| 274 | <svn>javasvn</svn> |
|---|
| 275 | </providerImplementations> |
|---|
| 276 | </configuration> |
|---|
| 277 | <dependencies> |
|---|
| 278 | <dependency> |
|---|
| 279 | <groupId>com.google.code.maven-scm-provider-svnjava</groupId> |
|---|
| 280 | <artifactId>maven-scm-provider-svnjava</artifactId> |
|---|
| 281 | <version>1.10</version> |
|---|
| 282 | </dependency> |
|---|
| 283 | </dependencies> |
|---|
| 284 | </plugin> |
|---|
| 285 | <plugin> |
|---|
| 286 | <groupId>com.google.code.maven-license-plugin</groupId> |
|---|
| 287 | <artifactId>maven-license-plugin</artifactId> |
|---|
| 288 | <version>1.4.0</version> |
|---|
| 289 | <configuration> |
|---|
| 290 | <includes> |
|---|
| 291 | <include>src/**</include> |
|---|
| 292 | <include>**/test/**</include> |
|---|
| 293 | </includes> |
|---|
| 294 | <excludes> |
|---|
| 295 | <exclude>target/**</exclude> |
|---|
| 296 | <exclude>.clover/**</exclude> |
|---|
| 297 | </excludes> |
|---|
| 298 | <header>src/main/resources/license-apache</header> |
|---|
| 299 | <properties> |
|---|
| 300 | <year>2010</year> |
|---|
| 301 | <email>smartp@cf.ac.uk</email> |
|---|
| 302 | <name>Cardiff University, Wales</name> |
|---|
| 303 | </properties> |
|---|
| 304 | </configuration> |
|---|
| 305 | <executions> |
|---|
| 306 | <execution> |
|---|
| 307 | <goals> |
|---|
| 308 | <goal>check</goal> |
|---|
| 309 | </goals> |
|---|
| 310 | </execution> |
|---|
| 311 | </executions> |
|---|
| 312 | </plugin> |
|---|
| 313 | |
|---|
| 314 | </plugins> |
|---|
| 315 | </build> |
|---|
| 316 | |
|---|
| 317 | </project> |
|---|