2011-05-08 17:05:45 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<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">
|
|
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>sonia.scm.clients</groupId>
|
|
|
|
|
<artifactId>scm-clients</artifactId>
|
2012-02-05 13:33:24 +01:00
|
|
|
<version>1.13-SNAPSHOT</version>
|
2011-05-08 17:05:45 +02:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
|
|
<groupId>sonia.scm.clients</groupId>
|
|
|
|
|
<artifactId>scm-client-impl</artifactId>
|
|
|
|
|
<packaging>jar</packaging>
|
2012-02-05 13:33:24 +01:00
|
|
|
<version>1.13-SNAPSHOT</version>
|
2011-05-08 17:05:45 +02:00
|
|
|
<name>scm-client-impl</name>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
2011-07-09 12:48:26 +02:00
|
|
|
|
|
|
|
|
<!-- fix javadoc -->
|
|
|
|
|
|
2011-07-09 15:04:48 +02:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
|
<version>${servlet.version}</version>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2011-07-09 12:48:26 +02:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.transaction</groupId>
|
|
|
|
|
<artifactId>jta</artifactId>
|
|
|
|
|
<version>1.1</version>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
2011-05-14 11:13:05 +02:00
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<artifactId>scm-core</artifactId>
|
|
|
|
|
<groupId>sonia.scm</groupId>
|
2012-02-05 13:33:24 +01:00
|
|
|
<version>1.13-SNAPSHOT</version>
|
2011-05-14 11:13:05 +02:00
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>aopalliance</artifactId>
|
|
|
|
|
<groupId>aopalliance</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>guice</artifactId>
|
|
|
|
|
<groupId>com.google.inject</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>guice-multibindings</artifactId>
|
|
|
|
|
<groupId>com.google.inject.extensions</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>guice-servlet</artifactId>
|
|
|
|
|
<groupId>com.google.inject.extensions</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
2011-05-08 17:05:45 +02:00
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>sonia.scm.clients</groupId>
|
|
|
|
|
<artifactId>scm-client-api</artifactId>
|
2012-02-05 13:33:24 +01:00
|
|
|
<version>1.13-SNAPSHOT</version>
|
2011-05-08 17:05:45 +02:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
|
<artifactId>jersey-client</artifactId>
|
2011-06-28 09:03:24 +02:00
|
|
|
<version>1.7</version>
|
2011-05-08 17:05:45 +02:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.sonatype.spice</groupId>
|
|
|
|
|
<artifactId>jersey-ahc-client</artifactId>
|
2011-06-10 23:44:28 +02:00
|
|
|
<version>1.0.2</version>
|
2011-05-14 11:13:05 +02:00
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>jaxb-impl</artifactId>
|
|
|
|
|
<groupId>com.sun.xml.bind</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>stax-api</artifactId>
|
|
|
|
|
<groupId>stax</groupId>
|
|
|
|
|
</exclusion>
|
2011-05-23 08:52:33 +02:00
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>jersey-json</artifactId>
|
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
|
</exclusion>
|
2011-05-14 11:13:05 +02:00
|
|
|
</exclusions>
|
2011-05-08 17:05:45 +02:00
|
|
|
</dependency>
|
2011-05-11 08:45:11 +02:00
|
|
|
|
|
|
|
|
<!-- test scope -->
|
|
|
|
|
|
2011-05-11 15:42:52 +02:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>jul-to-slf4j</artifactId>
|
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2011-05-11 08:45:11 +02:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
|
<artifactId>logback-classic</artifactId>
|
2011-09-22 21:03:17 +02:00
|
|
|
<version>${logback.version}</version>
|
2011-05-11 15:42:52 +02:00
|
|
|
<scope>test</scope>
|
2011-05-11 08:45:11 +02:00
|
|
|
</dependency>
|
2011-05-11 18:50:04 +02:00
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>sonia.scm</groupId>
|
|
|
|
|
<artifactId>scm-test</artifactId>
|
2012-02-05 13:33:24 +01:00
|
|
|
<version>1.13-SNAPSHOT</version>
|
2011-05-11 18:50:04 +02:00
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2011-05-14 11:13:05 +02:00
|
|
|
|
2011-05-08 17:05:45 +02:00
|
|
|
</dependencies>
|
2011-05-10 20:06:18 +02:00
|
|
|
|
2011-05-26 09:32:36 +02:00
|
|
|
<!-- for async-http-client -->
|
|
|
|
|
|
|
|
|
|
<repositories>
|
|
|
|
|
|
|
|
|
|
<repository>
|
|
|
|
|
<id>Sonatype</id>
|
|
|
|
|
<name>Sonatype Release</name>
|
|
|
|
|
<url>http://oss.sonatype.org/content/repositories/releases </url>
|
|
|
|
|
</repository>
|
|
|
|
|
|
|
|
|
|
</repositories>
|
2011-05-10 20:06:18 +02:00
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
|
<profile>
|
|
|
|
|
|
|
|
|
|
<id>it</id>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
2011-12-25 18:34:29 +01:00
|
|
|
<version>2.4</version>
|
2011-05-10 20:06:18 +02:00
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>copy</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<artifactItems>
|
|
|
|
|
<artifactItem>
|
|
|
|
|
<groupId>sonia.scm</groupId>
|
|
|
|
|
<artifactId>scm-webapp</artifactId>
|
2011-06-03 16:27:35 +02:00
|
|
|
<version>${project.version}</version>
|
2011-05-10 20:06:18 +02:00
|
|
|
<type>war</type>
|
|
|
|
|
<outputDirectory>${project.build.directory}/webapp</outputDirectory>
|
|
|
|
|
<destFileName>scm-webapp.war</destFileName>
|
|
|
|
|
</artifactItem>
|
|
|
|
|
</artifactItems>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
2011-12-25 18:34:29 +01:00
|
|
|
<version>2.11</version>
|
2011-05-10 20:06:18 +02:00
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>integration-test</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>integration-test</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>verify</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>verify</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
|
|
|
<artifactId>maven-jetty-plugin</artifactId>
|
|
|
|
|
<version>6.1.26</version>
|
|
|
|
|
<configuration>
|
2011-05-13 08:13:00 +02:00
|
|
|
<stopPort>8085</stopPort>
|
2011-05-10 20:06:18 +02:00
|
|
|
<stopKey>STOP</stopKey>
|
|
|
|
|
<systemProperties>
|
|
|
|
|
<systemProperty>
|
|
|
|
|
<name>scm.home</name>
|
|
|
|
|
<value>target/scm-it</value>
|
|
|
|
|
</systemProperty>
|
2011-05-11 09:13:48 +02:00
|
|
|
<systemProperty>
|
|
|
|
|
<name>file.encoding</name>
|
|
|
|
|
<value>UTF-8</value>
|
|
|
|
|
</systemProperty>
|
2011-05-10 20:06:18 +02:00
|
|
|
</systemProperties>
|
|
|
|
|
<connectors>
|
|
|
|
|
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
|
|
|
|
|
<port>8081</port>
|
|
|
|
|
<maxIdleTime>60000</maxIdleTime>
|
|
|
|
|
</connector>
|
|
|
|
|
</connectors>
|
2011-05-11 08:45:11 +02:00
|
|
|
<contextPath>/scm</contextPath>
|
2011-05-10 20:06:18 +02:00
|
|
|
<webApp>${project.build.directory}/webapp/scm-webapp.war</webApp>
|
|
|
|
|
<source>${project.build.javaLevel}</source>
|
|
|
|
|
<target>${project.build.javaLevel}</target>
|
|
|
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
|
|
|
<scanIntervalSeconds>0</scanIntervalSeconds>
|
|
|
|
|
<daemon>true</daemon>
|
|
|
|
|
</configuration>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>start-jetty</id>
|
|
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>deploy-war</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>stop-jetty</id>
|
|
|
|
|
<phase>post-integration-test</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>stop</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
</profile>
|
|
|
|
|
</profiles>
|
2011-05-08 17:05:45 +02:00
|
|
|
|
|
|
|
|
</project>
|