mirror of https://github.com/apache/archiva.git
204 lines
7.2 KiB
XML
204 lines
7.2 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-single</artifactId>
|
|
<version>1.0-alpha-2-SNAPSHOT</version>
|
|
</dependency>
|
|
<!-- TODO: remove if using the new xwork permanently
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-xwork-integration</artifactId>
|
|
<version>1.0-alpha-2-SNAPSHOT</version>
|
|
</dependency>
|
|
-->
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-log4j-logging</artifactId>
|
|
<version>1.1-alpha-2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-container-default</artifactId>
|
|
<version>1.0-alpha-10-SNAPSHOT</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-proxy</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.repository</groupId>
|
|
<artifactId>maven-repository-core</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>
|
|
</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>
|
|
<!-- TODO: remove if we use the new xwork integration
|
|
<plugin>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-maven-plugin</artifactId>
|
|
<configuration>
|
|
<fileName>plexus-application.xml</fileName>
|
|
<containerDescriptor>true</containerDescriptor>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>merge</id>
|
|
<configuration>
|
|
<output>${project.build.outputDirectory}/META-INF/plexus/plexus-application.xml</output>
|
|
<descriptors>
|
|
<descriptor>${project.build.directory}/generated-resources/plexus/plexus-application.xml</descriptor>
|
|
<descriptor>src/main/plexus/plexus.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
<goals>
|
|
<goal>merge-descriptors</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
-->
|
|
<plugin>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-maven-plugin</artifactId>
|
|
<configuration>
|
|
<fileName>plexus.xml</fileName>
|
|
<containerDescriptor>true</containerDescriptor>
|
|
<roleDefaults>
|
|
<roleDefault>
|
|
<role>com.opensymphony.xwork.Action</role>
|
|
<instantiation-strategy>per-lookup</instantiation-strategy>
|
|
</roleDefault>
|
|
</roleDefaults>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>merge</id>
|
|
<configuration>
|
|
<output>${project.build.outputDirectory}/META-INF/plexus/plexus.xml</output>
|
|
<descriptors>
|
|
<descriptor>${project.build.directory}/generated-resources/plexus/plexus.xml</descriptor>
|
|
<descriptor>src/main/plexus/plexus.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
<goals>
|
|
<goal>merge-descriptors</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<repositories>
|
|
<repository>
|
|
<id>codehaus.snapshots</id>
|
|
<url>http://snapshots.repository.codehaus.org</url>
|
|
</repository>
|
|
</repositories>
|
|
</project>
|