mirror of https://github.com/apache/archiva.git
363 lines
12 KiB
XML
363 lines
12 KiB
XML
<?xml version="1.0" ?>
|
|
|
|
<!--
|
|
~ 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.archiva</groupId>
|
|
<artifactId>archiva</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>archiva-webapp</artifactId>
|
|
<packaging>war</packaging>
|
|
<name>Archiva 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>taglibs</groupId>
|
|
<artifactId>standard</artifactId>
|
|
<version>1.1.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>jstl</artifactId>
|
|
<version>1.1.2</version>
|
|
</dependency>
|
|
<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.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-http-lightweight</artifactId>
|
|
<version>1.0-beta-1</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-file</artifactId>
|
|
<version>1.0-beta-1</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>opensymphony</groupId>
|
|
<artifactId>webwork</artifactId>
|
|
<version>2.2.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-container-default</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
<artifactId>archiva-indexer</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
<artifactId>archiva-discoverer</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
<artifactId>archiva-configuration</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
<artifactId>archiva-proxy</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
<artifactId>archiva-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
<artifactId>archiva-applet</artifactId>
|
|
<!-- TODO: actually, just exclude from WAR plugin -->
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven</groupId>
|
|
<artifactId>maven-project</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<version>2.1-SNAPSHOT</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>plexus</groupId>
|
|
<artifactId>plexus-utils</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<!-- Plexus Security Dependencies -->
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus.security</groupId>
|
|
<artifactId>plexus-security-system</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus.security</groupId>
|
|
<artifactId>plexus-security-ui-web</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<type>war</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus.security</groupId>
|
|
<artifactId>plexus-security-ui-web-integration</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus.security</groupId>
|
|
<artifactId>plexus-security-ui-web-taglib</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus.security</groupId>
|
|
<artifactId>plexus-security-ui-web-rbac</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus.security</groupId>
|
|
<artifactId>plexus-security-authentication-provider-user-manager</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus.security</groupId>
|
|
<artifactId>plexus-security-user-management-api</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus.security</groupId>
|
|
<artifactId>plexus-security-user-management-provider-jdo</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus.security</groupId>
|
|
<artifactId>plexus-security-authorization-rbac-store-jdo</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus.security</groupId>
|
|
<artifactId>plexus-security-authorization-api</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus.security</groupId>
|
|
<artifactId>plexus-security-authorization-rbac-authorizer</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-jdo2</artifactId>
|
|
<version>1.0-alpha-7-SNAPSHOT</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>xerces</groupId>
|
|
<artifactId>xercesImpl</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>xerces</groupId>
|
|
<artifactId>xmlParserAPIs</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-utils</artifactId>
|
|
<version>1.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.derby</groupId>
|
|
<artifactId>derby</artifactId>
|
|
<version>10.1.2.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jpox</groupId>
|
|
<artifactId>jpox</artifactId>
|
|
<version>1.1.1</version>
|
|
<exclusions>
|
|
<!-- targeting JDK 1.4 we don't need this -->
|
|
<exclusion>
|
|
<groupId>javax.sql</groupId>
|
|
<artifactId>jdbc-stdext</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>it.could</groupId>
|
|
<artifactId>webdav</artifactId>
|
|
<version>0.4</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<version>2.1.1-20060724.192148-1</version>
|
|
<!-- This configuration is added to cleanup from war:inplace -->
|
|
<configuration>
|
|
<filesets>
|
|
<fileset>
|
|
<directory>${basedir}/</directory>
|
|
<includes>
|
|
<include>derby.log</include>
|
|
</includes>
|
|
</fileset>
|
|
<fileset>
|
|
<directory>${basedir}/src/main/webapp</directory>
|
|
<includes>
|
|
<!-- TODO: META-INF shouldn't be required, seems to be an issue with the current war plugin -->
|
|
<include>META-INF</include>
|
|
<include>WEB-INF/classes</include>
|
|
<include>WEB-INF/lib</include>
|
|
<include>WEB-INF/database</include>
|
|
<include>WEB-INF/logs</include>
|
|
<include>WEB-INF/temp</include>
|
|
<include>WEB-INF/jsp/pss</include>
|
|
</includes>
|
|
</fileset>
|
|
</filesets>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>2.0.1</version>
|
|
<configuration>
|
|
<dependentWarExcludes>META-INF/**,WEB-INF/web.xml,WEB-INF/classes/xwork.xml</dependentWarExcludes>
|
|
</configuration>
|
|
<!-- TODO: would be good to make the jetty plugin aware of these and remove the below -->
|
|
<executions>
|
|
<execution>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<!-- Needed to get the plexus-security war overlay to do its thing before jetty:run -->
|
|
<goal>inplace</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>maven-jetty-plugin</artifactId>
|
|
<configuration>
|
|
<scanIntervalSeconds>10</scanIntervalSeconds>
|
|
<contextPath>/</contextPath>
|
|
<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>archiva-applet</artifactId>
|
|
<version>${project.version}</version>
|
|
<outputDirectory>src/main/webapp</outputDirectory>
|
|
<destFileName>archiva-applet.jar</destFileName>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
<artifactId>plexus-maven-plugin</artifactId>
|
|
<configuration>
|
|
<roleDefaults>
|
|
<roleDefault>
|
|
<role>com.opensymphony.xwork.Action</role>
|
|
<instantiation-strategy>per-lookup</instantiation-strategy>
|
|
</roleDefault>
|
|
</roleDefaults>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>cobertura-maven-plugin</artifactId>
|
|
<!-- TODO! add unit tests -->
|
|
<configuration>
|
|
<instrumentation>
|
|
<excludes>
|
|
<exclude>**/**</exclude>
|
|
</excludes>
|
|
</instrumentation>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<!-- TODO: remove once xwork integration is released -->
|
|
<repositories>
|
|
<repository>
|
|
<id>codehaus.snapshots</id>
|
|
<url>http://snapshots.repository.codehaus.org</url>
|
|
</repository>
|
|
</repositories>
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>codehaus.org</id>
|
|
<name>Codehaus Snapshot Development Repository</name>
|
|
<url>http://snapshots.repository.codehaus.org/</url>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>apache.org</id>
|
|
<name>Apache Snapshot Repository</name>
|
|
<url>http://people.apache.org/repo/m2-snapshot-repository</url>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
</project>
|