Files
SCM-Manager/scm-clients/scm-cli-client/pom.xml

238 lines
7.0 KiB
XML
Raw Normal View History

2011-05-14 12:07:07 +02:00
<?xml version="1.0"?>
<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">
2014-07-04 08:14:12 +02:00
2011-05-14 12:07:07 +02:00
<modelVersion>4.0.0</modelVersion>
2014-07-04 08:14:12 +02:00
2011-05-14 12:07:07 +02:00
<parent>
<artifactId>scm-clients</artifactId>
<groupId>sonia.scm.clients</groupId>
<version>1.45-SNAPSHOT</version>
2011-05-14 12:07:07 +02:00
</parent>
2014-07-04 08:14:12 +02:00
2011-05-14 12:07:07 +02:00
<groupId>sonia.scm.clients</groupId>
<artifactId>scm-cli-client</artifactId>
<version>1.45-SNAPSHOT</version>
2011-05-14 12:07:07 +02:00
<name>scm-cli-client</name>
<dependencies>
2014-07-04 08:14:12 +02:00
2011-07-09 12:48:26 +02:00
<!-- fix javadoc -->
2014-07-04 08:14:12 +02:00
2011-07-09 12:48:26 +02:00
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>${servlet.version}</version>
</dependency>
2014-07-04 08:14:12 +02:00
<dependency>
2011-07-09 12:48:26 +02:00
<groupId>javax.transaction</groupId>
<artifactId>jta</artifactId>
<version>1.1</version>
<scope>provided</scope>
</dependency>
2014-07-04 08:14:12 +02:00
2011-05-14 12:07:07 +02:00
<dependency>
<groupId>sonia.scm.clients</groupId>
<artifactId>scm-client-impl</artifactId>
<version>1.45-SNAPSHOT</version>
2011-05-14 12:07:07 +02:00
</dependency>
2014-07-04 08:14:12 +02:00
2011-05-14 12:07:07 +02:00
<dependency>
<groupId>args4j</groupId>
<artifactId>args4j</artifactId>
<version>2.0.29</version>
2011-05-14 12:07:07 +02:00
</dependency>
2014-07-04 08:14:12 +02:00
2011-05-14 12:07:07 +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-14 12:07:07 +02:00
</dependency>
2014-07-04 08:14:12 +02:00
2011-05-20 13:41:44 +02:00
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
2011-05-30 08:25:39 +02:00
<version>${freemarker.version}</version>
2011-05-20 13:41:44 +02:00
</dependency>
2011-05-14 12:07:07 +02:00
</dependencies>
2014-07-04 08:14:12 +02:00
2011-05-14 12:07:07 +02:00
<build>
<plugins>
2014-07-04 08:14:12 +02:00
2011-10-07 09:22:48 +02:00
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<version>1.9.0</version>
<configuration>
<header>http://download.scm-manager.org/licenses/mvn-license.txt</header>
<includes>
<include>src/**</include>
<include>**/test/**</include>
</includes>
<excludes>
<exclude>target/**</exclude>
<exclude>.hg/**</exclude>
<exclude>**/*.ftl</exclude>
</excludes>
<strictCheck>true</strictCheck>
</configuration>
</plugin>
2014-07-04 08:14:12 +02:00
2011-05-14 12:07:07 +02:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.3</version>
2011-05-14 12:07:07 +02:00
<configuration>
2011-05-14 16:39:06 +02:00
<archive>
<manifest>
<mainClass>sonia.scm.cli.App</mainClass>
</manifest>
</archive>
2011-05-14 12:07:07 +02:00
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
2011-05-18 20:08:57 +02:00
<goal>single</goal>
2011-05-14 12:07:07 +02:00
</goals>
</execution>
</executions>
</plugin>
2014-07-04 08:14:12 +02:00
2011-05-14 12:07:07 +02:00
</plugins>
</build>
2014-07-04 08:14:12 +02:00
<profiles>
<profile>
2014-07-04 08:14:12 +02:00
<id>it</id>
2014-07-04 08:14:12 +02:00
<build>
<plugins>
2014-07-04 08:14:12 +02:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>sonia.scm</groupId>
<artifactId>scm-webapp</artifactId>
<version>${project.version}</version>
<type>war</type>
<outputDirectory>${project.build.directory}/webapp</outputDirectory>
<destFileName>scm-webapp.war</destFileName>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
2014-07-04 08:14:12 +02:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.12</version>
<configuration>
<systemPropertyVariables>
<scm.version>${project.version}</scm.version>
</systemPropertyVariables>
</configuration>
<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>
2014-07-04 08:14:12 +02:00
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>${jetty.version}</version>
<configuration>
<stopPort>8085</stopPort>
<stopKey>STOP</stopKey>
<systemProperties>
<systemProperty>
<name>scm.home</name>
<value>target/scm-it</value>
</systemProperty>
<systemProperty>
<name>file.encoding</name>
<value>UTF-8</value>
</systemProperty>
</systemProperties>
<connectors>
<connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
<port>8081</port>
<maxIdleTime>60000</maxIdleTime>
<requestHeaderSize>16384</requestHeaderSize>
</connector>
</connectors>
<webApp>
<contextPath>/scm</contextPath>
</webApp>
<war>${project.build.directory}/webapp/scm-webapp.war</war>
<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>
2014-07-04 08:14:12 +02:00
</plugins>
</build>
2014-07-04 08:14:12 +02:00
</profile>
</profiles>
2014-07-04 08:14:12 +02:00
2011-12-25 15:52:43 +01:00
<repositories>
2014-07-04 08:14:12 +02:00
2011-12-25 15:52:43 +01:00
<repository>
<id>maven.jenkins-ci.org</id>
<name>jenkins release repository</name>
<url>http://maven.jenkins-ci.org/content/repositories/releases/</url>
</repository>
2014-07-04 08:14:12 +02:00
2011-12-25 15:52:43 +01:00
</repositories>
2014-07-04 08:14:12 +02:00
2011-05-14 12:07:07 +02:00
</project>