2006-10-26 05:15:23 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2006-06-07 01:47:45 -04:00
|
|
|
<!--
|
|
|
|
~ 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.
|
|
|
|
-->
|
|
|
|
|
2006-01-08 23:58:17 -05:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2006-08-26 00:49:08 -04:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
2006-01-08 23:58:17 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
2006-08-26 01:47:59 -04:00
|
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
|
|
<artifactId>archiva</artifactId>
|
2006-01-08 23:58:17 -05:00
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
2006-08-26 01:47:59 -04:00
|
|
|
<artifactId>archiva-webapp</artifactId>
|
2006-01-08 23:58:17 -05:00
|
|
|
<packaging>war</packaging>
|
2006-08-26 01:47:59 -04:00
|
|
|
<name>Archiva Web Application</name>
|
2006-01-08 23:58:17 -05:00
|
|
|
<dependencies>
|
2006-06-05 08:07:31 -04:00
|
|
|
<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>
|
2006-07-19 23:10:39 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>taglibs</groupId>
|
|
|
|
<artifactId>standard</artifactId>
|
|
|
|
<version>1.1.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2006-09-08 04:10:16 -04:00
|
|
|
<groupId>javax.servlet</groupId>
|
2006-07-19 23:10:39 -04:00
|
|
|
<artifactId>jstl</artifactId>
|
|
|
|
<version>1.1.2</version>
|
|
|
|
</dependency>
|
2006-01-08 23:58:17 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
2006-08-07 04:27:44 -04:00
|
|
|
<artifactId>plexus-xwork-integration</artifactId>
|
2006-10-04 05:03:25 -04:00
|
|
|
<version>1.0-alpha-2</version>
|
2006-01-08 23:58:17 -05:00
|
|
|
</dependency>
|
2006-07-10 00:39:44 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-log4j-logging</artifactId>
|
|
|
|
<version>1.1-alpha-2</version>
|
|
|
|
</dependency>
|
2006-11-07 13:22:24 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<version>1.0.4</version>
|
|
|
|
</dependency>
|
2006-08-14 22:59:06 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
|
|
<artifactId>wagon-http-lightweight</artifactId>
|
|
|
|
<version>1.0-beta-1</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2006-08-04 07:10:50 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
|
|
<artifactId>wagon-file</artifactId>
|
|
|
|
<version>1.0-beta-1</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2006-08-28 02:29:53 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>opensymphony</groupId>
|
|
|
|
<artifactId>webwork</artifactId>
|
2006-09-30 09:13:43 -04:00
|
|
|
<version>2.2.4</version>
|
2006-08-28 02:29:53 -04:00
|
|
|
</dependency>
|
2006-07-06 07:19:19 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-container-default</artifactId>
|
|
|
|
</dependency>
|
2006-01-09 03:05:46 -05:00
|
|
|
<dependency>
|
2006-08-26 01:47:59 -04:00
|
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
|
|
<artifactId>archiva-indexer</artifactId>
|
2006-01-09 03:05:46 -05:00
|
|
|
</dependency>
|
2006-02-23 01:53:23 -05:00
|
|
|
<dependency>
|
2006-08-26 01:47:59 -04:00
|
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
|
|
<artifactId>archiva-discoverer</artifactId>
|
2006-02-23 01:53:23 -05:00
|
|
|
</dependency>
|
2006-06-08 03:15:34 -04:00
|
|
|
<dependency>
|
2006-08-26 01:47:59 -04:00
|
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
|
|
<artifactId>archiva-configuration</artifactId>
|
2006-06-08 03:15:34 -04:00
|
|
|
</dependency>
|
2006-07-06 07:41:26 -04:00
|
|
|
<dependency>
|
2006-08-26 01:47:59 -04:00
|
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
|
|
<artifactId>archiva-proxy</artifactId>
|
2006-07-06 07:41:26 -04:00
|
|
|
</dependency>
|
2006-07-12 12:15:07 -04:00
|
|
|
<dependency>
|
2006-08-26 01:47:59 -04:00
|
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
|
|
<artifactId>archiva-core</artifactId>
|
2006-07-12 12:15:07 -04:00
|
|
|
</dependency>
|
2006-09-28 04:55:32 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
|
|
<artifactId>archiva-security</artifactId>
|
|
|
|
</dependency>
|
2006-01-19 22:09:04 -05:00
|
|
|
<dependency>
|
2006-08-26 01:47:59 -04:00
|
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
|
|
<artifactId>archiva-applet</artifactId>
|
2006-01-19 22:09:04 -05:00
|
|
|
<!-- TODO: actually, just exclude from WAR plugin -->
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2006-07-21 03:43:54 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-project</artifactId>
|
|
|
|
</dependency>
|
2006-09-17 21:40:26 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
|
|
<version>2.1-SNAPSHOT</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
2006-10-26 05:15:23 -04:00
|
|
|
<groupId>plexus</groupId>
|
|
|
|
<artifactId>plexus-utils</artifactId>
|
2006-09-17 21:40:26 -04:00
|
|
|
</exclusion>
|
2006-09-18 20:39:24 -04:00
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2006-09-07 12:05:47 -04:00
|
|
|
<!-- Plexus Security Dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus.security</groupId>
|
|
|
|
<artifactId>plexus-security-system</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus.security</groupId>
|
|
|
|
<artifactId>plexus-security-ui-web</artifactId>
|
2006-09-18 20:39:24 -04:00
|
|
|
<type>war</type>
|
2006-11-07 13:22:24 -05:00
|
|
|
<scope>runtime</scope>
|
2006-09-18 20:39:24 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus.security</groupId>
|
|
|
|
<artifactId>plexus-security-ui-web-integration</artifactId>
|
2006-09-07 12:05:47 -04:00
|
|
|
</dependency>
|
2006-09-19 04:43:03 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus.security</groupId>
|
|
|
|
<artifactId>plexus-security-ui-web-taglib</artifactId>
|
2006-09-07 12:05:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus.security</groupId>
|
2006-09-11 04:05:03 -04:00
|
|
|
<artifactId>plexus-security-authentication-provider-user-manager</artifactId>
|
2006-09-07 12:05:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus.security</groupId>
|
2006-09-11 04:05:03 -04:00
|
|
|
<artifactId>plexus-security-user-management-api</artifactId>
|
2006-09-07 12:05:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus.security</groupId>
|
2006-09-11 04:05:03 -04:00
|
|
|
<artifactId>plexus-security-user-management-provider-jdo</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus.security</groupId>
|
|
|
|
<artifactId>plexus-security-authorization-rbac-store-jdo</artifactId>
|
2006-09-07 12:05:47 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus.security</groupId>
|
|
|
|
<artifactId>plexus-security-authorization-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus.security</groupId>
|
|
|
|
<artifactId>plexus-security-authorization-rbac-authorizer</artifactId>
|
2006-10-23 05:47:22 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus.security</groupId>
|
|
|
|
<artifactId>plexus-security-keys-jdo</artifactId>
|
2006-09-11 04:05:03 -04:00
|
|
|
</dependency>
|
2006-09-17 21:40:26 -04:00
|
|
|
<dependency>
|
2006-09-11 04:05:03 -04:00
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-jdo2</artifactId>
|
2006-10-04 05:03:25 -04:00
|
|
|
<version>1.0-alpha-7</version>
|
2006-09-11 04:05:03 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>xerces</groupId>
|
|
|
|
<artifactId>xercesImpl</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>xerces</groupId>
|
|
|
|
<artifactId>xmlParserAPIs</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2006-09-28 04:55:32 -04:00
|
|
|
<dependency>
|
2006-09-11 04:05:03 -04:00
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-utils</artifactId>
|
|
|
|
<version>1.2</version>
|
2006-10-26 05:15:23 -04:00
|
|
|
</dependency>
|
2006-09-17 21:40:26 -04:00
|
|
|
<dependency>
|
2006-09-11 04:05:03 -04:00
|
|
|
<groupId>org.apache.derby</groupId>
|
|
|
|
<artifactId>derby</artifactId>
|
2006-09-20 09:33:10 -04:00
|
|
|
<version>10.1.3.1</version>
|
2006-09-11 04:05:03 -04:00
|
|
|
</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>
|
2006-09-07 12:05:47 -04:00
|
|
|
</dependency>
|
2006-09-13 21:29:27 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>it.could</groupId>
|
|
|
|
<artifactId>webdav</artifactId>
|
|
|
|
<version>0.4</version>
|
|
|
|
</dependency>
|
2006-01-08 23:58:17 -05:00
|
|
|
</dependencies>
|
2006-01-09 03:05:46 -05:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2006-09-18 20:39:24 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
2006-10-24 08:41:04 -04:00
|
|
|
<version>2.1.1</version>
|
2006-09-18 20:39:24 -04:00
|
|
|
<!-- 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>
|
2006-09-18 21:44:54 -04:00
|
|
|
<!-- TODO: META-INF shouldn't be required, seems to be an issue with the current war plugin -->
|
2006-09-18 20:39:24 -04:00
|
|
|
<include>META-INF</include>
|
2006-10-26 05:15:23 -04:00
|
|
|
<include>WEB-INF/classes</include>
|
|
|
|
<!-- Classes and Resources from other wars -->
|
|
|
|
<include>WEB-INF/lib</include>
|
|
|
|
<!-- Dependencies from other wars -->
|
|
|
|
<include>WEB-INF/database</include>
|
|
|
|
<!-- Database location configured in application.xml -->
|
|
|
|
<include>WEB-INF/logs</include>
|
|
|
|
<!-- Log file location specified in application.xml -->
|
|
|
|
<include>pss</include>
|
|
|
|
<!-- plexus-security css and javascript -->
|
|
|
|
<include>WEB-INF/jsp/pss</include>
|
|
|
|
<!-- plexus-security jsps -->
|
|
|
|
<include>WEB-INF/template/pss</include>
|
|
|
|
<!-- plexus-security xwork templates -->
|
2006-09-18 20:39:24 -04:00
|
|
|
</includes>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<version>2.0.1</version>
|
|
|
|
<configuration>
|
2006-09-20 01:42:22 -04:00
|
|
|
<!-- Some versions of maven-war-plugin (snapshots) have this incorrectly defaulted to true.
|
|
|
|
Specifically setting this to false to avoid accidental jar file creation. -->
|
|
|
|
<archiveClasses>false</archiveClasses>
|
2006-09-18 21:44:54 -04:00
|
|
|
<dependentWarExcludes>META-INF/**,WEB-INF/web.xml,WEB-INF/classes/xwork.xml</dependentWarExcludes>
|
2006-09-18 20:39:24 -04:00
|
|
|
</configuration>
|
2006-09-18 21:44:54 -04:00
|
|
|
<!-- TODO: would be good to make the jetty plugin aware of these and remove the below -->
|
2006-09-18 20:39:24 -04:00
|
|
|
<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>
|
2006-01-09 03:05:46 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
2006-08-02 08:27:51 -04:00
|
|
|
<artifactId>maven-jetty-plugin</artifactId>
|
2006-01-09 03:05:46 -05:00
|
|
|
<configuration>
|
|
|
|
<scanIntervalSeconds>10</scanIntervalSeconds>
|
2006-08-09 04:20:02 -04:00
|
|
|
<contextPath>/</contextPath>
|
2006-09-20 05:19:35 -04:00
|
|
|
<jettyEnvXml>src/jetty-env.xml</jettyEnvXml>
|
2006-06-05 08:07:31 -04:00
|
|
|
<connectors>
|
|
|
|
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
|
|
|
|
<port>9000</port>
|
|
|
|
<maxIdleTime>60000</maxIdleTime>
|
|
|
|
</connector>
|
|
|
|
</connectors>
|
2006-01-09 03:05:46 -05:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2006-01-19 22:09:04 -05:00
|
|
|
<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>
|
2006-08-26 01:47:59 -04:00
|
|
|
<artifactId>archiva-applet</artifactId>
|
2006-01-19 22:09:04 -05:00
|
|
|
<version>${project.version}</version>
|
|
|
|
<outputDirectory>src/main/webapp</outputDirectory>
|
2006-08-26 01:47:59 -04:00
|
|
|
<destFileName>archiva-applet.jar</destFileName>
|
2006-01-19 22:09:04 -05:00
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2006-07-12 12:15:07 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
2006-07-12 12:37:06 -04:00
|
|
|
<roleDefaults>
|
|
|
|
<roleDefault>
|
|
|
|
<role>com.opensymphony.xwork.Action</role>
|
|
|
|
<instantiation-strategy>per-lookup</instantiation-strategy>
|
|
|
|
</roleDefault>
|
|
|
|
</roleDefaults>
|
2006-07-12 12:15:07 -04:00
|
|
|
</configuration>
|
2006-07-06 07:19:19 -04:00
|
|
|
</plugin>
|
2006-08-26 00:49:08 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>cobertura-maven-plugin</artifactId>
|
|
|
|
<!-- TODO! add unit tests -->
|
|
|
|
<configuration>
|
|
|
|
<instrumentation>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/**</exclude>
|
|
|
|
</excludes>
|
|
|
|
</instrumentation>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2006-01-09 03:05:46 -05:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2006-01-08 23:58:17 -05:00
|
|
|
</project>
|