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
|
|
|
|
2011-10-18 08:19:44 -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>
|
2011-10-18 08:26:11 -04:00
|
|
|
<version>1.4-M2-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>
|
2011-09-30 05:40:59 -04:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<jettyVersion>7.4.5.v20110725</jettyVersion>
|
2011-10-18 08:19:44 -04:00
|
|
|
<archiva.baseRestUrl />
|
|
|
|
<rest.admin.pwd />
|
2011-09-30 05:40:59 -04:00
|
|
|
</properties>
|
|
|
|
|
2006-01-08 23:58:17 -05:00
|
|
|
<dependencies>
|
2010-03-10 23:43:23 -05:00
|
|
|
<dependency>
|
2010-06-03 22:11:25 -04:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>generic-metadata-support</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2010-03-10 23:43:23 -05:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>npanday-support</artifactId>
|
|
|
|
</dependency>
|
2009-12-07 17:32:10 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>repository-statistics</artifactId>
|
|
|
|
</dependency>
|
2007-04-24 01:42:25 -04:00
|
|
|
<dependency>
|
2009-12-10 07:03:03 -05:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
2009-12-15 18:07:36 -05:00
|
|
|
<artifactId>problem-reports</artifactId>
|
2009-12-10 07:03:03 -05:00
|
|
|
</dependency>
|
2007-04-24 01:42:25 -04:00
|
|
|
<dependency>
|
2009-12-10 07:03:03 -05:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
2010-01-19 01:15:09 -05:00
|
|
|
<artifactId>audit</artifactId>
|
2009-12-10 07:03:03 -05:00
|
|
|
</dependency>
|
2007-04-24 01:42:25 -04:00
|
|
|
<dependency>
|
2008-03-28 22:01:11 -04:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
2009-11-19 12:16:20 -05:00
|
|
|
<artifactId>archiva-scheduler-repository</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-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-repository-layer</artifactId>
|
|
|
|
</dependency>
|
2011-09-29 06:28:13 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-xml-tools</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>xerces</groupId>
|
|
|
|
<artifactId>xercesImpl</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</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-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>
|
2011-09-07 07:41:15 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-configuration</artifactId>
|
|
|
|
<!-- TODO uncomment when repository admin will be finished
|
|
|
|
<scope>runtime</scope>
|
|
|
|
-->
|
|
|
|
</dependency>
|
2009-10-16 08:35:38 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-metadata-consumer</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</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-lucene-consumers</artifactId>
|
|
|
|
</dependency>
|
2010-09-28 05:09:32 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>stage-repository-merge</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-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>
|
2011-08-18 05:49:20 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-rest-services</artifactId>
|
|
|
|
</dependency>
|
2011-09-30 05:40:59 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-rest-api</artifactId>
|
|
|
|
</dependency>
|
2011-10-27 14:09:49 -04:00
|
|
|
<!--
|
2011-10-26 08:24:05 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-struts2-jqboot-theme</artifactId>
|
|
|
|
</dependency>
|
2011-10-27 14:09:49 -04:00
|
|
|
-->
|
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>
|
2011-10-27 14:11:45 -04:00
|
|
|
|
2006-07-19 23:10:39 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>taglibs</groupId>
|
|
|
|
<artifactId>standard</artifactId>
|
|
|
|
</dependency>
|
2011-10-27 14:11:45 -04:00
|
|
|
|
2006-07-19 23:10:39 -04:00
|
|
|
<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>
|
2011-05-26 16:52:13 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-component-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2006-12-10 20:34:21 -05:00
|
|
|
</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>
|
2011-09-26 12:07:16 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-compress</artifactId>
|
|
|
|
</dependency>
|
2011-09-28 05:06:32 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-configuration</groupId>
|
|
|
|
<artifactId>commons-configuration</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2011-08-18 05:49:20 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.cxf</groupId>
|
|
|
|
<artifactId>cxf-bundle-jaxrs</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
|
|
<artifactId>geronimo-servlet_3.0_spec</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
|
|
<artifactId>geronimo-javamail_1.4_spec</artifactId>
|
|
|
|
</exclusion>
|
2011-10-11 16:44:26 -04:00
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
|
|
<artifactId>geronimo-servlet_2.5_spec</artifactId>
|
|
|
|
</exclusion>
|
2011-08-18 05:49:20 -04:00
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2011-08-10 11:51:26 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>ognl</groupId>
|
|
|
|
<artifactId>ognl</artifactId>
|
|
|
|
<version>3.0.2</version>
|
|
|
|
</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>
|
2011-06-11 12:01:52 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
<artifactId>struts2-sitemesh-plugin</artifactId>
|
|
|
|
<version>${struts.version}</version>
|
|
|
|
</dependency>
|
2007-03-08 00:27:44 -05:00
|
|
|
<dependency>
|
2011-05-19 18:20:55 -04:00
|
|
|
<groupId>org.codehaus.redback.components.registry</groupId>
|
|
|
|
<artifactId>spring-registry-api</artifactId>
|
2007-03-08 00:27:44 -05:00
|
|
|
</dependency>
|
2007-02-15 05:37:16 -05:00
|
|
|
<dependency>
|
2011-05-19 18:20:55 -04:00
|
|
|
<groupId>org.codehaus.redback.components.registry</groupId>
|
|
|
|
<artifactId>spring-registry-commons</artifactId>
|
2007-05-01 09:37:43 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2011-05-19 18:20:55 -04:00
|
|
|
<groupId>org.codehaus.redback.components.cache</groupId>
|
|
|
|
<artifactId>spring-cache-api</artifactId>
|
2007-05-01 09:37:43 -04:00
|
|
|
</dependency>
|
2011-06-10 11:35:58 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.redback.components</groupId>
|
|
|
|
<artifactId>spring-jdo2</artifactId>
|
|
|
|
</dependency>
|
2007-05-01 09:37:43 -04:00
|
|
|
<dependency>
|
2011-05-19 18:20:55 -04:00
|
|
|
<groupId>org.codehaus.redback.components.cache</groupId>
|
|
|
|
<artifactId>spring-cache-ehcache</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sf.ehcache</groupId>
|
|
|
|
<artifactId>ehcache-core</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2007-02-15 05:37:16 -05:00
|
|
|
</dependency>
|
2011-08-18 05:49:20 -04:00
|
|
|
<!-- Redback Dependencies -->
|
2006-09-07 12:05:47 -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-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>
|
2011-08-10 15:17:50 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.redback</groupId>
|
|
|
|
<artifactId>redback-xmlrpc-services</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.redback</groupId>
|
|
|
|
<artifactId>redback-xmlrpc-security</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2011-08-18 05:49:20 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.redback</groupId>
|
|
|
|
<artifactId>redback-keys-memory</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.redback</groupId>
|
|
|
|
<artifactId>redback-rest-services</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</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>
|
2011-05-27 13:26:26 -04:00
|
|
|
<groupId>org.codehaus.redback.components</groupId>
|
|
|
|
<artifactId>spring-taskqueue</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.redback.components</groupId>
|
|
|
|
<artifactId>spring-quartz</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.quartz-scheduler</groupId>
|
|
|
|
<artifactId>quartz</artifactId>
|
2011-05-26 16:52:13 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
2011-05-27 13:26:26 -04:00
|
|
|
<groupId>c3p0</groupId>
|
|
|
|
<artifactId>c3p0</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>javax.transaction</groupId>
|
|
|
|
<artifactId>jta</artifactId>
|
2011-05-26 16:52:13 -04:00
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2008-03-14 07:13:29 -04:00
|
|
|
</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>
|
2011-10-03 11:12:20 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>stax</groupId>
|
|
|
|
<artifactId>stax-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2008-06-03 21:52:41 -04:00
|
|
|
</dependency>
|
2008-06-05 03:34:53 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
2011-08-23 09:55:11 -04:00
|
|
|
<artifactId>wagon-http</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>
|
2009-11-24 01:26:04 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>metadata-model</artifactId>
|
|
|
|
</dependency>
|
2011-06-09 11:23:21 -04:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-model</artifactId>
|
|
|
|
<version>${maven3x.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-model-builder</artifactId>
|
|
|
|
<version>${maven3x.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.sonatype.sisu</groupId>
|
|
|
|
<artifactId>sisu-inject-plexus</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.sonatype.sisu</groupId>
|
|
|
|
<artifactId>sisu-guice</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-plexus-bridge</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2011-09-13 08:12:39 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-repository-admin-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-repository-admin-default</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2009-11-24 01:26:04 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>metadata-repository-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
2011-10-05 06:23:09 -04:00
|
|
|
<artifactId>metadata-store-jcr</artifactId>
|
2009-11-24 01:26:04 -05:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
2011-10-05 06:23:09 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.jackrabbit</groupId>
|
|
|
|
<artifactId>jackrabbit-core</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2011-09-26 18:49:57 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.velocity</groupId>
|
|
|
|
<artifactId>velocity-tools</artifactId>
|
|
|
|
<version>1.3</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>velocity</groupId>
|
|
|
|
<artifactId>velocity-dep</artifactId>
|
|
|
|
</exclusion>
|
2011-10-03 05:45:20 -04:00
|
|
|
<exclusion>
|
|
|
|
<groupId>struts</groupId>
|
|
|
|
<artifactId>struts</artifactId>
|
|
|
|
</exclusion>
|
2011-09-26 18:49:57 -04:00
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2009-11-24 01:26:04 -05:00
|
|
|
<dependency>
|
2010-09-28 05:09:32 -04:00
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<!-- FIXME: temporary coupling to plugin, should be runtime -->
|
2009-11-24 01:26:04 -05:00
|
|
|
<artifactId>maven2-repository</artifactId>
|
|
|
|
</dependency>
|
2010-12-21 20:53:10 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-all</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2011-06-11 08:16:27 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
<artifactId>struts2-junit-plugin</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<version>${struts.version}</version>
|
|
|
|
</dependency>
|
2011-06-28 18:19:30 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>jpox</groupId>
|
|
|
|
<artifactId>jpox-ehcache</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>ehcache</groupId>
|
|
|
|
<artifactId>ehcache</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2011-09-30 05:40:59 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
|
|
|
<version>${jettyVersion}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-plus</artifactId>
|
|
|
|
<version>${jettyVersion}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.redback</groupId>
|
|
|
|
<artifactId>redback-rest-services</artifactId>
|
|
|
|
<classifier>tests</classifier>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2011-10-27 14:11:13 -04:00
|
|
|
|
|
|
|
<!-- taglib annotation plugin -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
<artifactId>struts-annotations</artifactId>
|
|
|
|
<version>1.0.5</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</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>
|
2011-09-01 16:05:19 -04:00
|
|
|
<runOrder>alphabetical</runOrder>
|
2011-08-23 12:35:49 -04:00
|
|
|
<systemPropertyVariables>
|
2011-10-01 01:14:38 -04:00
|
|
|
<appserver.base>${project.build.directory}/appserver-base</appserver.base>
|
|
|
|
<plexus.home>${project.build.directory}/appserver-base</plexus.home>
|
|
|
|
<derby.system.home>${project.build.directory}/appserver-base</derby.system.home>
|
2011-09-30 05:40:59 -04:00
|
|
|
<archiva.baseRestUrl>${archiva.baseRestUrl}</archiva.baseRestUrl>
|
|
|
|
<rest.admin.pwd>${rest.admin.pwd}</rest.admin.pwd>
|
2011-09-30 12:17:19 -04:00
|
|
|
<archiva.user.configFileName>${basedir}/target/archiva.xml</archiva.user.configFileName>
|
2011-10-05 06:23:09 -04:00
|
|
|
<basedir>${basedir}</basedir>
|
2011-08-23 12:35:49 -04:00
|
|
|
</systemPropertyVariables>
|
2007-10-25 19:39:05 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2009-10-08 02:40:21 -04:00
|
|
|
<!-- hack for jetty:run, archiva web config files are checked in /WEB-INF/ dir -->
|
2009-01-20 00:32:11 -05:00
|
|
|
<plugin>
|
2011-10-03 03:44:01 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2009-01-20 00:32:11 -05:00
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2009-10-08 02:40:21 -04:00
|
|
|
<id>copy-web-config-files</id>
|
2009-01-20 00:32:11 -05:00
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
2009-10-08 02:40:21 -04:00
|
|
|
<phase>compile</phase>
|
2009-01-20 00:32:11 -05:00
|
|
|
<configuration>
|
|
|
|
<tasks>
|
2011-10-18 08:19:44 -04:00
|
|
|
<mkdir dir="${basedir}/target/archiva/WEB-INF/" />
|
2009-10-08 02:40:21 -04:00
|
|
|
<copy todir="${basedir}/target/archiva/WEB-INF/">
|
2011-10-18 08:19:44 -04:00
|
|
|
<fileset dir="${basedir}/target" includes="classes/" excludes="**/struts.xml,**/ehcache.xml" />
|
2009-10-08 02:40:21 -04:00
|
|
|
</copy>
|
2009-01-20 00:32:11 -05:00
|
|
|
</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">
|
2011-10-18 08:19:44 -04:00
|
|
|
<fileset dir="src/appserver-base" />
|
2009-03-13 00:54:59 -04:00
|
|
|
</copy>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2009-01-20 00:32:11 -05:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
2009-10-08 02:40:21 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
2011-08-24 09:50:59 -04:00
|
|
|
<version>2.1.1</version>
|
2009-10-08 02:40:21 -04:00
|
|
|
<configuration>
|
|
|
|
<!-- 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>
|
2010-09-28 05:09:32 -04:00
|
|
|
<dependentWarExcludes>META-INF/**,WEB-INF/web.xml,WEB-INF/classes/xwork.xml,WEB-INF/lib/**
|
|
|
|
</dependentWarExcludes>
|
|
|
|
<warSourceExcludes>
|
2011-09-26 12:07:16 -04:00
|
|
|
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,WEB-INF/lib/commons-lang-*.jar
|
2010-09-28 05:09:32 -04:00
|
|
|
</warSourceExcludes>
|
|
|
|
</configuration>
|
2009-10-08 02:40:21 -04:00
|
|
|
</plugin>
|
2011-05-05 10:42:00 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>tomcat-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<port>9091</port>
|
|
|
|
<path>/archiva</path>
|
|
|
|
<contextFile>${basedir}/src/test/tomcat/tomcat-context-archiva.xml</contextFile>
|
|
|
|
<systemProperties>
|
|
|
|
<plexus.home>${basedir}/appserver-base</plexus.home>
|
|
|
|
<appserver.base>${basedir}/appserver-base</appserver.base>
|
|
|
|
<appserver.home>${project.build.directory}/appserver-home</appserver.home>
|
|
|
|
<derby.system.home>${basedir}/appserver-base/logs</derby.system.home>
|
2011-09-09 16:14:34 -04:00
|
|
|
<redback.admin.creation.file>${basedir}/target/auto-admin-creation.properties</redback.admin.creation.file>
|
2011-05-05 10:42:00 -04:00
|
|
|
</systemProperties>
|
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.derby</groupId>
|
|
|
|
<artifactId>derby</artifactId>
|
2011-10-26 10:19:14 -04:00
|
|
|
<version>${derbyVersion}</version>
|
2011-05-05 10:42:00 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.mail</groupId>
|
|
|
|
<artifactId>mail</artifactId>
|
2011-10-26 10:19:57 -04:00
|
|
|
<version>${javaxMailVersion}</version>
|
2011-05-05 10:42:00 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
2006-01-09 03:05:46 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
2011-10-27 14:11:13 -04:00
|
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
2011-10-27 14:09:49 -04:00
|
|
|
<version>${jettyVersion}</version>
|
2006-01-09 03:05:46 -05:00
|
|
|
<configuration>
|
2008-10-01 05:11:06 -04:00
|
|
|
<webAppConfig>
|
|
|
|
<contextPath>/</contextPath>
|
2009-10-08 02:40:21 -04:00
|
|
|
<baseResource implementation="org.mortbay.resource.ResourceCollection">
|
|
|
|
<resourcesAsCSV>src/main/webapp,target/archiva,target/redback</resourcesAsCSV>
|
|
|
|
</baseResource>
|
2008-10-01 05:11:06 -04:00
|
|
|
</webAppConfig>
|
2009-10-08 02:40:21 -04:00
|
|
|
<scanIntervalSeconds>10</scanIntervalSeconds>
|
|
|
|
<jettyEnvXml>src/jetty-env.xml</jettyEnvXml>
|
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>
|
2011-10-26 10:19:14 -04:00
|
|
|
<version>${derbyVersion}</version>
|
2007-02-07 07:36:47 -05:00
|
|
|
</dependency>
|
|
|
|
</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>
|
2006-01-19 22:09:04 -05:00
|
|
|
<executions>
|
2011-08-25 04:42:50 -04:00
|
|
|
<execution>
|
|
|
|
<id>unpack-redback-war</id>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.codehaus.redback</groupId>
|
|
|
|
<artifactId>redback-struts2-content</artifactId>
|
|
|
|
<version>${redback.version}</version>
|
|
|
|
<type>war</type>
|
|
|
|
<overWrite>false</overWrite>
|
|
|
|
<outputDirectory>${project.build.directory}/redback</outputDirectory>
|
|
|
|
<excludes>**/struts-security.xml</excludes>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2006-01-19 22:09:04 -05:00
|
|
|
<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>
|
2011-10-27 14:11:13 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.myfaces.tobago</groupId>
|
|
|
|
<artifactId>maven-apt-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>execute</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2006-01-09 03:05:46 -05:00
|
|
|
</plugins>
|
2011-08-25 04:42:50 -04:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
2011-10-27 14:11:13 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.myfaces.tobago</groupId>
|
|
|
|
<artifactId>maven-apt-plugin</artifactId>
|
|
|
|
<version>1.0.38</version>
|
|
|
|
<configuration>
|
|
|
|
<A>uri=/archiva-web-tag,tlibVersion=2.2.3,jspVersion=2.0,shortName=archiva,displayName=Archiva Taglib,
|
|
|
|
outFile=${basedir}/src/main/webapp/WEB-INF/tld/web-tags.tld,
|
|
|
|
description=Archiva taglibs.,
|
|
|
|
outTemplatesDir=${basedir}/target
|
|
|
|
</A>
|
|
|
|
<resourceTargetPath>target</resourceTargetPath>
|
|
|
|
<fork>true</fork>
|
|
|
|
<force>true</force>
|
|
|
|
<nocompile>true</nocompile>
|
|
|
|
<showWarnings>true</showWarnings>
|
|
|
|
<factory>org.apache.struts.annotations.taglib.apt.TLDAnnotationProcessorFactory</factory>
|
|
|
|
<includes>
|
|
|
|
<include>org/apache/archiva/web/tags/*Tag.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
|
|
|
|
</plugin>
|
2011-08-25 04:42:50 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>appserver-base/**</exclude>
|
|
|
|
<exclude>overlays/**</exclude>
|
|
|
|
<exclude>src/appserver-base/conf/**</exclude>
|
|
|
|
<exclude>src/appserver-base/logs/**</exclude>
|
|
|
|
<exclude>src/main/webapp/js/jquery-1.6.1.min.js</exclude>
|
|
|
|
<exclude>src/main/webapp/js/jquery-ui-1.8.14.custom.min.js</exclude>
|
|
|
|
<exclude>src/main/webapp/js/md5.js</exclude>
|
|
|
|
<exclude>src/main/webapp/css/no-theme/**</exclude>
|
|
|
|
<exclude>src/main/webapp/css/redback/**</exclude>
|
|
|
|
<exclude>src/main/webapp/WEB-INF/jsp/redback/**</exclude>
|
|
|
|
<exclude>src/main/resources/archiva-mime-types.txt</exclude>
|
|
|
|
<exclude>src/test/resources/test-repo/**</exclude>
|
|
|
|
<exclude>src/test/resources/**</exclude>
|
|
|
|
<exclude>src/sql/**</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2006-01-09 03:05:46 -05:00
|
|
|
</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>
|
2011-05-05 10:42:00 -04:00
|
|
|
<profile>
|
|
|
|
<!-- profile for tomcat plugin dev an log output in the console -->
|
|
|
|
<id>dev</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2011-10-03 03:44:01 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2011-05-05 10:42:00 -04:00
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>override-log4j-with-console-output</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
2011-09-07 07:41:15 -04:00
|
|
|
<copy overwrite="true" file="${basedir}/src/test/tomcat/log4j.xml" todir="${project.build.directory}/classes" />
|
2011-09-09 16:14:34 -04:00
|
|
|
<copy overwrite="true" file="${basedir}/src/test/tomcat/auto-admin-creation.properties" todir="${basedir}/target/" />
|
2011-06-11 12:01:52 -04:00
|
|
|
<delete dir="${basedir}/src/main/webapp/WEB-INF/lib" />
|
2011-05-05 10:42:00 -04:00
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
2011-05-06 10:22:41 -04:00
|
|
|
<!-- redefine to skip its execution in Tomcat -->
|
2011-05-05 10:42:00 -04:00
|
|
|
<execution>
|
|
|
|
<id>copy</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
<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>
|
2011-05-06 10:22:41 -04:00
|
|
|
<!-- redefine to override exclude configuration (and add back struts-security.xml -->
|
2011-05-05 10:42:00 -04:00
|
|
|
<execution>
|
|
|
|
<id>unpack-redback-war</id>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems combine.self="override">
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.codehaus.redback</groupId>
|
|
|
|
<artifactId>redback-struts2-content</artifactId>
|
|
|
|
<version>${redback.version}</version>
|
|
|
|
<type>war</type>
|
|
|
|
<overWrite>false</overWrite>
|
|
|
|
<outputDirectory>${basedir}/src/main/webapp</outputDirectory>
|
2011-06-11 12:01:52 -04:00
|
|
|
<excludes>**/web.xml,**/struts*.jar,**/sitemesh*.jar</excludes>
|
2011-05-05 10:42:00 -04:00
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<dependencies>
|
2011-05-06 10:22:41 -04:00
|
|
|
<!-- TODO: Bug in the Tomcat plugin - it doesn't seem to respect runtime dependencies, so we redeclare it as compile -->
|
2011-05-05 10:42:00 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
2011-10-05 06:23:09 -04:00
|
|
|
<artifactId>metadata-store-jcr</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.jackrabbit</groupId>
|
|
|
|
<artifactId>jackrabbit-core</artifactId>
|
2011-05-06 10:22:41 -04:00
|
|
|
<scope>compile</scope>
|
2011-10-05 06:23:09 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2011-05-05 10:42:00 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
2011-09-30 12:18:33 -04:00
|
|
|
<profile>
|
|
|
|
<id>svn-buildnumber</id>
|
|
|
|
<activation>
|
|
|
|
<file>
|
|
|
|
<exists>.svn</exists>
|
|
|
|
</file>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<doCheck>false</doCheck>
|
|
|
|
<doUpdate>false</doUpdate>
|
|
|
|
<providerImplementations>
|
|
|
|
<svn>javasvn</svn>
|
|
|
|
</providerImplementations>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>non-canonical-buildnumber</id>
|
|
|
|
<activation>
|
|
|
|
<file>
|
|
|
|
<missing>.svn</missing>
|
|
|
|
</file>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<doCheck>false</doCheck>
|
|
|
|
<doUpdate>false</doUpdate>
|
|
|
|
<format>NON-CANONICAL_{0,date,yyyy-MM-dd_HH-mm}_{1}</format>
|
|
|
|
<items>
|
|
|
|
<item>timestamp</item>
|
|
|
|
<item>${user.name}</item>
|
|
|
|
</items>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2011-10-01 10:21:34 -04:00
|
|
|
<profile>
|
|
|
|
<!-- olamy profile to test tomcat plugin dev -->
|
|
|
|
<id>tdev</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.tomcat.maven</groupId>
|
|
|
|
<artifactId>tomcat6-maven-plugin</artifactId>
|
|
|
|
<version>2.0-SNAPSHOT</version>
|
|
|
|
<configuration>
|
|
|
|
<port>9091</port>
|
|
|
|
<path>/archiva</path>
|
|
|
|
<contextFile>${basedir}/src/test/tomcat/tomcat-context-archiva.xml</contextFile>
|
|
|
|
<systemProperties>
|
|
|
|
<plexus.home>${basedir}/appserver-base</plexus.home>
|
2011-10-08 15:41:37 -04:00
|
|
|
<appserver.base>${basedir}/appserver-base</appserver.base>
|
|
|
|
<appserver.home>${project.build.directory}/appserver-home</appserver.home>
|
|
|
|
<derby.system.home>${basedir}/appserver-base/logs</derby.system.home>
|
|
|
|
<redback.admin.creation.file>${basedir}/target/auto-admin-creation.properties</redback.admin.creation.file>
|
|
|
|
</systemProperties>
|
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.derby</groupId>
|
|
|
|
<artifactId>derby</artifactId>
|
2011-10-26 10:19:14 -04:00
|
|
|
<version>${derbyVersion}</version>
|
2011-10-08 15:41:37 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.mail</groupId>
|
|
|
|
<artifactId>mail</artifactId>
|
2011-10-26 10:19:57 -04:00
|
|
|
<version>${javaxMailVersion}</version>
|
2011-10-08 15:41:37 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.tomcat.maven</groupId>
|
|
|
|
<artifactId>tomcat7-maven-plugin</artifactId>
|
|
|
|
<version>2.0-SNAPSHOT</version>
|
|
|
|
<configuration>
|
|
|
|
<port>9091</port>
|
|
|
|
<path>/archiva</path>
|
|
|
|
<contextFile>${basedir}/src/test/tomcat/tomcat-context-archiva.xml</contextFile>
|
|
|
|
<systemProperties>
|
|
|
|
<plexus.home>${basedir}/appserver-base</plexus.home>
|
2011-10-01 10:21:34 -04:00
|
|
|
<appserver.base>${basedir}/appserver-base</appserver.base>
|
|
|
|
<appserver.home>${project.build.directory}/appserver-home</appserver.home>
|
|
|
|
<derby.system.home>${basedir}/appserver-base/logs</derby.system.home>
|
|
|
|
<redback.admin.creation.file>${basedir}/target/auto-admin-creation.properties</redback.admin.creation.file>
|
|
|
|
</systemProperties>
|
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.derby</groupId>
|
|
|
|
<artifactId>derby</artifactId>
|
2011-10-26 10:19:14 -04:00
|
|
|
<version>${derbyVersion}</version>
|
2011-10-01 10:21:34 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.mail</groupId>
|
|
|
|
<artifactId>mail</artifactId>
|
|
|
|
<version>1.4</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2007-08-04 06:58:40 -04:00
|
|
|
</profiles>
|
2006-01-08 23:58:17 -05:00
|
|
|
</project>
|