mirror of https://github.com/apache/archiva.git
129 lines
4.4 KiB
XML
129 lines
4.4 KiB
XML
<!--
|
|
~ Copyright 2005-2006 The Apache Software Foundation.
|
|
~
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
~ you may not use this file except in compliance with the License.
|
|
~ You may obtain a copy of the License at
|
|
~
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
~
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
~ See the License for the specific language governing permissions and
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
<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>org.apache.maven.repository</groupId>
|
|
<artifactId>maven-repository-manager</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>maven-repository-webapp</artifactId>
|
|
<packaging>war</packaging>
|
|
<name>Maven Repository Manager Web Application</name>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
<version>2.4</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>opensymphony</groupId>
|
|
<artifactId>sitemesh</artifactId>
|
|
<version>2.2.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-xwork-integration</artifactId>
|
|
<version>1.0-alpha-1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.repository</groupId>
|
|
<artifactId>maven-repository-indexer</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.repository</groupId>
|
|
<artifactId>maven-repository-discovery</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.repository</groupId>
|
|
<artifactId>maven-repository-configuration</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.repository</groupId>
|
|
<artifactId>maven-repository-artifact-applet</artifactId>
|
|
<!-- TODO: actually, just exclude from WAR plugin -->
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-quartz</artifactId>
|
|
<version>1.0-alpha-2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>dom4j</groupId>
|
|
<artifactId>dom4j</artifactId>
|
|
<version>1.6.1</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<finalName>maven-repository-webapp</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>maven-jetty6-plugin</artifactId>
|
|
<configuration>
|
|
<scanIntervalSeconds>10</scanIntervalSeconds>
|
|
<connectors>
|
|
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
|
|
<port>9000</port>
|
|
<maxIdleTime>60000</maxIdleTime>
|
|
</connector>
|
|
</connectors>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>dependency-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>copy</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>copy</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>maven-repository-artifact-applet</artifactId>
|
|
<version>${project.version}</version>
|
|
<outputDirectory>src/main/webapp</outputDirectory>
|
|
<destFileName>maven-repository-artifact-applet.jar</destFileName>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>cobertura-maven-plugin</artifactId>
|
|
<configuration>
|
|
<instrumentation>
|
|
<!-- TODO: should this module have tests? -->
|
|
<excludes>
|
|
<exclude>**/**</exclude>
|
|
</excludes>
|
|
</instrumentation>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|