2009-03-13 00:56:40 -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.
|
2007-05-21 17:06:41 -04:00
|
|
|
-->
|
2006-06-07 01:47:45 -04:00
|
|
|
|
2007-09-16 02:39:24 -04:00
|
|
|
<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">
|
2006-01-08 23:58:17 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
2008-03-28 22:01:11 -04:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
2007-03-22 18:03:11 -04:00
|
|
|
<artifactId>archiva-web</artifactId>
|
2009-08-27 05:34:26 -04:00
|
|
|
<version>1.2.3-SNAPSHOT</version>
|
2006-01-08 23:58:17 -05:00
|
|
|
</parent>
|
2006-08-26 01:47:59 -04:00
|
|
|
<artifactId>archiva-webapp</artifactId>
|
2006-01-08 23:58:17 -05:00
|
|
|
<packaging>war</packaging>
|
2007-03-22 18:03:11 -04:00
|
|
|
<name>Archiva Web :: Application</name>
|
2006-01-08 23:58:17 -05:00
|
|
|
<dependencies>
|
2008-11-28 13:08:42 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-dependency-graph</artifactId>
|
|
|
|
</dependency>
|
2007-04-24 01:42:25 -04:00
|
|
|
<dependency>
|
2008-03-28 22:01:11 -04:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
2007-04-24 01:42:25 -04:00
|
|
|
<artifactId>archiva-report-manager</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2008-03-28 22:01:11 -04:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
2007-04-24 01:42:25 -04:00
|
|
|
<artifactId>archiva-scheduled</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2008-03-28 22:01:11 -04:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
2007-04-24 01:42:25 -04:00
|
|
|
<artifactId>archiva-indexer</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2008-03-28 22:01:11 -04:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
2007-04-24 01:42:25 -04:00
|
|
|
<artifactId>archiva-proxy</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2008-03-28 22:01:11 -04:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
2007-04-24 01:42:25 -04:00
|
|
|
<artifactId>archiva-database</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2008-03-28 22:01:11 -04:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
2007-04-24 01:42:25 -04:00
|
|
|
<artifactId>archiva-repository-layer</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2008-03-28 22:01:11 -04:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
2007-04-24 01:42:25 -04:00
|
|
|
<artifactId>archiva-security</artifactId>
|
|
|
|
</dependency>
|
2007-05-15 21:59:20 -04:00
|
|
|
<dependency>
|
2008-03-28 22:01:11 -04:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
2007-05-15 21:59:20 -04:00
|
|
|
<artifactId>archiva-core-consumers</artifactId>
|
|
|
|
</dependency>
|
2007-05-09 18:03:49 -04:00
|
|
|
<dependency>
|
2008-03-28 22:01:11 -04:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
2007-05-09 18:03:49 -04:00
|
|
|
<artifactId>archiva-database-consumers</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2008-03-28 22:01:11 -04:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
2007-05-09 18:03:49 -04:00
|
|
|
<artifactId>archiva-lucene-consumers</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2008-03-28 22:01:11 -04:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
2007-05-09 18:03:49 -04:00
|
|
|
<artifactId>archiva-signature-consumers</artifactId>
|
|
|
|
</dependency>
|
2007-04-24 01:42:25 -04:00
|
|
|
<dependency>
|
2008-03-28 22:01:11 -04:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
2007-04-24 01:42:25 -04:00
|
|
|
<artifactId>archiva-applet</artifactId>
|
|
|
|
<!-- TODO: actually, just exclude from WAR plugin -->
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2008-04-29 22:18:43 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-rss</artifactId>
|
|
|
|
</dependency>
|
2008-10-20 01:59:47 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-xmlrpc-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-xmlrpc-services</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-xmlrpc-security</artifactId>
|
|
|
|
</dependency>
|
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
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>jsp-api</artifactId>
|
2006-06-05 08:07:31 -04:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>opensymphony</groupId>
|
|
|
|
<artifactId>sitemesh</artifactId>
|
|
|
|
</dependency>
|
2006-07-19 23:10:39 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>taglibs</groupId>
|
|
|
|
<artifactId>standard</artifactId>
|
|
|
|
</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>
|
|
|
|
</dependency>
|
2006-12-10 20:34:21 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
2007-02-23 14:05:21 -05:00
|
|
|
<artifactId>plexus-slf4j-logging</artifactId>
|
2006-12-10 20:34:21 -05:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2007-02-23 14:05:21 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
2009-03-13 22:33:57 -04:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>httpunit</groupId>
|
|
|
|
<artifactId>httpunit</artifactId>
|
|
|
|
<scope>test</scope>
|
2007-02-23 14:05:21 -05:00
|
|
|
</dependency>
|
2007-02-12 15:26:54 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-lang</groupId>
|
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
|
</dependency>
|
2006-08-28 02:29:53 -04:00
|
|
|
<dependency>
|
2008-10-01 05:11:06 -04:00
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
<artifactId>struts2-core</artifactId>
|
2006-08-28 02:29:53 -04:00
|
|
|
</dependency>
|
2007-03-08 00:27:44 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus.registry</groupId>
|
|
|
|
<artifactId>plexus-registry-api</artifactId>
|
|
|
|
</dependency>
|
2007-02-15 05:37:16 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus.registry</groupId>
|
|
|
|
<artifactId>plexus-registry-commons</artifactId>
|
2007-05-01 09:37:43 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus.cache</groupId>
|
|
|
|
<artifactId>plexus-cache-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus.cache</groupId>
|
|
|
|
<artifactId>plexus-cache-ehcache</artifactId>
|
2007-02-15 05:37:16 -05: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>
|
2006-09-07 12:05:47 -04:00
|
|
|
<!-- Plexus Security Dependencies -->
|
|
|
|
<dependency>
|
2008-09-17 05:34:02 -04:00
|
|
|
<groupId>org.codehaus.redback</groupId>
|
2008-10-01 05:11:06 -04:00
|
|
|
<artifactId>redback-struts2-content</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>
|
2008-09-17 05:34:02 -04:00
|
|
|
<groupId>org.codehaus.redback</groupId>
|
2008-10-01 05:11:06 -04:00
|
|
|
<artifactId>redback-struts2-integration</artifactId>
|
2007-05-10 18:09:39 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2008-09-17 05:34:02 -04:00
|
|
|
<groupId>org.codehaus.redback</groupId>
|
2008-10-26 19:57:05 -04:00
|
|
|
<artifactId>redback-common-integrations</artifactId>
|
2006-09-07 12:05:47 -04:00
|
|
|
</dependency>
|
2007-01-18 15:39:19 -05:00
|
|
|
<!-- Other dependencies -->
|
|
|
|
<dependency>
|
2008-03-28 22:01:11 -04:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
2008-03-14 07:13:29 -04:00
|
|
|
<artifactId>archiva-webdav</artifactId>
|
2007-01-18 15:39:19 -05:00
|
|
|
</dependency>
|
2008-10-01 05:11:06 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
<artifactId>struts2-spring-plugin</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2008-05-06 09:32:28 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
</dependency>
|
2008-03-14 07:13:29 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-web</artifactId>
|
|
|
|
</dependency>
|
2007-02-07 07:56:20 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.mail</groupId>
|
|
|
|
<artifactId>mail</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.activation</groupId>
|
|
|
|
<artifactId>activation</artifactId>
|
2007-02-07 06:11:57 -05:00
|
|
|
<scope>provided</scope>
|
2006-09-11 04:05:03 -04:00
|
|
|
</dependency>
|
2008-03-14 07:13:29 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-quartz</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-taskqueue</artifactId>
|
|
|
|
</dependency>
|
2008-03-11 03:59:35 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-fileupload</groupId>
|
|
|
|
<artifactId>commons-fileupload</artifactId>
|
|
|
|
</dependency>
|
2008-05-02 22:38:07 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
|
</dependency>
|
2008-06-03 21:52:41 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>stax</groupId>
|
|
|
|
<artifactId>stax</artifactId>
|
|
|
|
</dependency>
|
2008-06-05 03:34:53 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
2008-07-01 21:28:43 -04:00
|
|
|
<artifactId>wagon-http-lightweight</artifactId>
|
2008-06-05 03:34:53 -04:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
|
|
<artifactId>wagon-file</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2008-07-07 07:42:38 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging-api</artifactId>
|
|
|
|
<version>1.1</version>
|
2009-07-16 03:45:17 -04:00
|
|
|
<!-- provided by jcl-over-slf4j, don't want this in the webapp -->
|
|
|
|
<scope>provided</scope>
|
2008-07-07 07:42:38 -04:00
|
|
|
</dependency>
|
2008-10-20 01:59:47 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.atlassian.xmlrpc</groupId>
|
|
|
|
<artifactId>atlassian-xmlrpc-binder-server-spring</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2006-01-08 23:58:17 -05:00
|
|
|
</dependencies>
|
2006-01-09 03:05:46 -05:00
|
|
|
<build>
|
2008-07-02 09:04:01 -04:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/filtered-resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2006-01-09 03:05:46 -05:00
|
|
|
<plugins>
|
2007-10-25 19:39:05 -04:00
|
|
|
<!--
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<argLine>-agentlib:yjpagent</argLine>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/Abstract*</exclude>
|
|
|
|
<exclude>**/*TestCase.java</exclude>
|
|
|
|
<exclude>**/*Tests.java</exclude>
|
|
|
|
<exclude>**/*TestSuite.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
-->
|
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>
|
2007-12-13 23:17:04 -05:00
|
|
|
<include>archiva-applet.jar</include>
|
2007-05-10 18:09:39 -04:00
|
|
|
<include>images/redback</include>
|
2006-12-15 04:43:07 -05:00
|
|
|
<!-- Images from other wars -->
|
2007-05-10 18:09:39 -04:00
|
|
|
<include>template/redback</include>
|
2006-12-15 04:43:07 -05:00
|
|
|
<!-- 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 -->
|
2007-05-10 18:09:39 -04:00
|
|
|
<include>redback</include>
|
2006-10-26 05:15:23 -04:00
|
|
|
<!-- plexus-security css and javascript -->
|
2007-05-10 18:09:39 -04:00
|
|
|
<include>css/redback</include>
|
|
|
|
<include>WEB-INF/jsp/redback</include>
|
2006-10-26 05:15:23 -04:00
|
|
|
<!-- plexus-security jsps -->
|
2007-05-10 18:09:39 -04:00
|
|
|
<include>WEB-INF/template/redback</include>
|
2006-10-26 05:15:23 -04:00
|
|
|
<!-- 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>
|
2009-03-13 01:09:28 -04:00
|
|
|
<dependentWarExcludes>META-INF/**,WEB-INF/web.xml,WEB-INF/classes/xwork.xml,WEB-INF/lib/**</dependentWarExcludes>
|
2009-07-16 03:45:17 -04:00
|
|
|
<warSourceExcludes>WEB-INF/lib/xalan-*.jar,WEB-INF/lib/velocity-dep-*.jar,WEB-INF/lib/xml-apis-*.jar,WEB-INF/lib/wstx-asl-*.jar,WEB-INF/lib/stax-utils-*.jar,WEB-INF/lib/xercesImpl-*.jar</warSourceExcludes>
|
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>
|
2008-06-03 21:52:41 -04:00
|
|
|
</execution>
|
2006-09-18 20:39:24 -04:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2009-01-20 00:32:11 -05:00
|
|
|
<!--
|
|
|
|
here's a hack to prevent multiple struts core and same struts.xml in classpath
|
|
|
|
which prevent struts start
|
|
|
|
-->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>cleanup-struts-jar-in-webapp</id>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
|
|
|
<delete includeemptydirs="true">
|
2009-03-17 22:33:47 -04:00
|
|
|
<fileset dir="${basedir}/src/main/webapp/WEB-INF/lib" includes="struts2*.jar" />
|
2009-01-20 00:32:11 -05:00
|
|
|
</delete>
|
|
|
|
<delete includeemptydirs="true">
|
2009-03-17 22:33:47 -04:00
|
|
|
<fileset dir="${basedir}/src/main/webapp/WEB-INF/classes" includes="struts.xml,struts-security.xml" />
|
2009-01-20 00:32:11 -05:00
|
|
|
</delete>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2009-03-13 00:54:59 -04:00
|
|
|
<execution>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
|
|
|
<copy todir="${basedir}/appserver-base">
|
|
|
|
<fileset dir="src/appserver-base" />
|
|
|
|
</copy>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2009-01-20 00:32:11 -05:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2006-01-09 03:05:46 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
2008-11-27 01:41:42 -05:00
|
|
|
<artifactId>maven-jetty-plugin</artifactId>
|
|
|
|
<version>6.1.14</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>
|
2008-10-01 05:11:06 -04:00
|
|
|
<webAppConfig>
|
|
|
|
<contextPath>/</contextPath>
|
|
|
|
<jettyEnvXmlFile>src/jetty-env.xml</jettyEnvXmlFile>
|
|
|
|
</webAppConfig>
|
2006-06-05 08:07:31 -04:00
|
|
|
<connectors>
|
|
|
|
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
|
2007-03-02 05:16:53 -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>
|
2007-10-04 18:29:43 -04:00
|
|
|
<systemProperty>
|
|
|
|
<name>plexus.home</name>
|
2008-12-04 23:25:20 -05:00
|
|
|
<value>${basedir}/appserver-base</value>
|
2007-10-04 18:29:43 -04:00
|
|
|
</systemProperty>
|
2006-12-15 11:45:29 -05:00
|
|
|
<systemProperty>
|
|
|
|
<name>appserver.base</name>
|
2008-12-04 23:25:20 -05:00
|
|
|
<value>${basedir}/appserver-base</value>
|
2006-12-22 17:12:20 -05:00
|
|
|
</systemProperty>
|
2007-05-25 09:56:32 -04:00
|
|
|
<systemProperty>
|
|
|
|
<name>appserver.home</name>
|
|
|
|
<value>${project.build.directory}/appserver-home</value>
|
|
|
|
</systemProperty>
|
2006-12-22 17:12:20 -05:00
|
|
|
<systemProperty>
|
|
|
|
<name>derby.system.home</name>
|
2008-12-04 23:25:20 -05:00
|
|
|
<value>${basedir}/appserver-base/logs</value>
|
2006-12-15 11:45:29 -05:00
|
|
|
</systemProperty>
|
|
|
|
</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>
|
2008-07-07 22:01:17 -04:00
|
|
|
<!-- Enable the following if you want JSP 2.0 or JVM version < 1.5 <dependency>
|
2007-05-21 17:06:41 -04:00
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<version>1.1</version>
|
|
|
|
<type>jar</type>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-jcl</artifactId>
|
|
|
|
<version>1.0.1</version>
|
|
|
|
<type>jar</type>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<version>1.2.14</version>
|
|
|
|
<type>jar</type>
|
|
|
|
</dependency>
|
|
|
|
-->
|
2007-02-07 07:36:47 -05:00
|
|
|
</dependencies>
|
2006-01-09 03:05:46 -05:00
|
|
|
</plugin>
|
2006-01-19 22:09:04 -05:00
|
|
|
<plugin>
|
2008-04-07 02:22:51 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<version>2.0</version>
|
2006-01-19 22:09:04 -05:00
|
|
|
<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>
|
2009-02-11 00:45:52 -05:00
|
|
|
<artifactId>plexus-component-metadata</artifactId>
|
2006-07-12 12:15:07 -04:00
|
|
|
<configuration>
|
2006-07-12 12:37:06 -04:00
|
|
|
<roleDefaults>
|
|
|
|
<roleDefault>
|
2008-10-01 05:11:06 -04:00
|
|
|
<role>com.opensymphony.xwork2.Action</role>
|
2006-07-12 12:37:06 -04:00
|
|
|
<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-01-09 03:05:46 -05:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2007-04-26 19:55:51 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>mysql</id>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
<version>5.0.4</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
|
|
<artifactId>maven-jetty-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<jettyEnvXml>src/jetty-env-mysql.xml</jettyEnvXml>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2007-05-23 16:28:48 -04:00
|
|
|
<profile>
|
|
|
|
<id>postgres</id>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>postgresql</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
<version>8.2-504.jdbc3</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
|
|
<artifactId>maven-jetty-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<jettyEnvXml>src/jetty-env-postgres.xml</jettyEnvXml>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2008-12-04 23:25:20 -05:00
|
|
|
<profile>
|
|
|
|
<id>cleanJetty</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>cleanJetty</id>
|
|
|
|
<phase>clean</phase>
|
|
|
|
<configuration>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>${basedir}/appserver-base</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/**</include>
|
|
|
|
</includes>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>clean</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2007-08-04 06:58:40 -04:00
|
|
|
</profiles>
|
2006-01-08 23:58:17 -05:00
|
|
|
</project>
|