2006-10-26 05:15:23 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2006-06-07 01:47:45 -04:00
|
|
|
<!--
|
2006-12-23 01:39:46 -05:00
|
|
|
~ Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
~ or more contributor license agreements. See the NOTICE file
|
|
|
|
~ distributed with this work for additional information
|
|
|
|
~ regarding copyright ownership. The ASF licenses this file
|
|
|
|
~ to you 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
|
2006-06-07 01:47:45 -04:00
|
|
|
~
|
2006-12-23 01:39:46 -05:00
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
2006-06-07 01:47:45 -04:00
|
|
|
~
|
2006-12-23 01:39:46 -05:00
|
|
|
~ 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-06-07 01:47:45 -04:00
|
|
|
-->
|
|
|
|
|
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>
|
2007-01-18 15:39:19 -05:00
|
|
|
<version>2.5</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>jsp-api</artifactId>
|
|
|
|
<version>2.0</version>
|
2006-06-05 08:07:31 -04:00
|
|
|
<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-07-10 00:39:44 -04:00
|
|
|
<dependency>
|
2006-12-07 11:48:29 -05:00
|
|
|
<groupId>org.apache.maven.shared</groupId>
|
|
|
|
<artifactId>maven-app-configuration-model</artifactId>
|
2006-07-10 00:39:44 -04:00
|
|
|
</dependency>
|
2006-11-07 13:22:24 -05:00
|
|
|
<dependency>
|
2006-12-07 11:48:29 -05:00
|
|
|
<groupId>org.apache.maven.shared</groupId>
|
|
|
|
<artifactId>maven-app-configuration-web</artifactId>
|
2006-11-07 13:22:24 -05:00
|
|
|
</dependency>
|
2006-12-10 20:34:21 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-log4j-logging</artifactId>
|
|
|
|
<version>1.1-alpha-2</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<version>1.0.4</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2006-08-14 22:59:06 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
|
|
<artifactId>wagon-http-lightweight</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2006-08-04 07:10:50 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
|
|
<artifactId>wagon-file</artifactId>
|
|
|
|
<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>
|
2007-01-24 06:23:33 -05:00
|
|
|
<artifactId>plexus-component-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
2006-07-06 07:19:19 -04:00
|
|
|
<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>
|
2006-11-20 16:37:06 -05:00
|
|
|
<groupId>org.apache.maven.shared</groupId>
|
|
|
|
<artifactId>maven-dependency-tree</artifactId>
|
2006-12-13 06:41:08 -05:00
|
|
|
<version>1.0-alpha-2</version>
|
2006-09-18 20:39:24 -04:00
|
|
|
</dependency>
|
2006-09-07 12:05:47 -04:00
|
|
|
<!-- Plexus Security Dependencies -->
|
|
|
|
<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>
|
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>
|
2007-01-18 15:39:19 -05:00
|
|
|
<!-- Other dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus.webdav</groupId>
|
|
|
|
<artifactId>plexus-webdav-simple</artifactId>
|
|
|
|
<version>1.0-alpha-1-SNAPSHOT</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-xwork-integration</artifactId>
|
|
|
|
<version>1.0-alpha-5-SNAPSHOT</version>
|
|
|
|
</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>
|
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>
|
2007-02-07 07:56:20 -05:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.mail</groupId>
|
|
|
|
<artifactId>mail</artifactId>
|
|
|
|
<version>1.4</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.activation</groupId>
|
|
|
|
<artifactId>activation</artifactId>
|
|
|
|
<version>1.1</version>
|
2007-02-07 06:11:57 -05:00
|
|
|
<scope>provided</scope>
|
2006-09-11 04:05:03 -04:00
|
|
|
</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}/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-12-15 04:43:07 -05:00
|
|
|
<include>images/pss</include>
|
|
|
|
<!-- Images from other wars -->
|
|
|
|
<include>template/pss</include>
|
|
|
|
<!-- Templates from other wars -->
|
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 -->
|
2006-12-06 08:44:30 -05:00
|
|
|
<include>css/pss</include>
|
2006-10-26 05:15:23 -04:00
|
|
|
<include>WEB-INF/jsp/pss</include>
|
|
|
|
<!-- plexus-security jsps -->
|
|
|
|
<include>WEB-INF/template/pss</include>
|
|
|
|
<!-- plexus-security xwork templates -->
|
2006-12-15 04:43:07 -05:00
|
|
|
<include>WEB-INF/logs</include>
|
|
|
|
<!-- Directory created by jetty:run -->
|
|
|
|
<include>WEB-INF/temp</include>
|
|
|
|
<!-- Directory created by jetty:run -->
|
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>
|
2007-01-18 15:39:19 -05:00
|
|
|
<version>6.1.1</version>
|
2006-01-09 03:05:46 -05:00
|
|
|
<configuration>
|
|
|
|
<scanIntervalSeconds>10</scanIntervalSeconds>
|
2006-11-20 17:44:14 -05: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">
|
2006-11-10 17:45:55 -05:00
|
|
|
<port>9091</port>
|
2006-06-05 08:07:31 -04:00
|
|
|
<maxIdleTime>60000</maxIdleTime>
|
|
|
|
</connector>
|
|
|
|
</connectors>
|
2006-12-15 11:45:29 -05:00
|
|
|
<systemProperties>
|
|
|
|
<systemProperty>
|
|
|
|
<name>appserver.base</name>
|
2006-12-22 17:12:20 -05:00
|
|
|
<value>${project.build.directory}/appserver-base</value>
|
|
|
|
</systemProperty>
|
|
|
|
<systemProperty>
|
|
|
|
<name>derby.system.home</name>
|
|
|
|
<value>${project.build.directory}/appserver-base/logs</value>
|
2006-12-15 11:45:29 -05:00
|
|
|
</systemProperty>
|
2007-01-18 15:39:19 -05:00
|
|
|
<systemProperty>
|
|
|
|
<name>configuration.store.file</name>
|
|
|
|
<value>archiva-configuration.xml</value>
|
|
|
|
</systemProperty>
|
2006-12-15 11:45:29 -05:00
|
|
|
</systemProperties>
|
2006-01-09 03:05:46 -05:00
|
|
|
</configuration>
|
2007-02-07 07:36:47 -05:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.derby</groupId>
|
|
|
|
<artifactId>derby</artifactId>
|
|
|
|
<version>10.1.3.1</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2006-01-09 03:05:46 -05:00
|
|
|
</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>
|