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.
|
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>
|
2006-08-26 01:47:59 -04:00
|
|
|
<groupId>org.apache.maven.archiva</groupId>
|
2007-03-22 18:03:11 -04:00
|
|
|
<artifactId>archiva-web</artifactId>
|
2008-01-17 00:55:30 -05:00
|
|
|
<version>1.1-SNAPSHOT</version>
|
2007-05-13 19:01:31 -04:00
|
|
|
<relativePath>../pom.xml</relativePath>
|
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>
|
2007-04-24 01:42:25 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
|
|
<artifactId>archiva-report-manager</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
|
|
<artifactId>archiva-scheduled</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
|
|
<artifactId>archiva-indexer</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
|
|
<artifactId>archiva-proxy</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
|
|
<artifactId>archiva-database</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
|
|
<artifactId>archiva-repository-layer</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
|
|
<artifactId>archiva-security</artifactId>
|
|
|
|
</dependency>
|
2007-05-15 21:59:20 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
|
|
<artifactId>archiva-core-consumers</artifactId>
|
|
|
|
</dependency>
|
2007-05-09 18:03:49 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
|
|
<artifactId>archiva-database-consumers</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
|
|
<artifactId>archiva-lucene-consumers</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
|
|
<artifactId>archiva-signature-consumers</artifactId>
|
|
|
|
</dependency>
|
2007-04-24 01:42:25 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.archiva</groupId>
|
|
|
|
<artifactId>archiva-applet</artifactId>
|
|
|
|
<!-- TODO: actually, just exclude from WAR plugin -->
|
|
|
|
<scope>provided</scope>
|
|
|
|
</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-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>
|
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>
|
|
|
|
</dependency>
|
2007-02-12 15:26:54 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-lang</groupId>
|
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
|
</dependency>
|
2006-08-14 22:59:06 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
2008-01-28 05:39:48 -05:00
|
|
|
<artifactId>wagon-http</artifactId>
|
2006-08-14 22:59:06 -04:00
|
|
|
<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>
|
2007-09-14 09:46:58 -04:00
|
|
|
<groupId>com.opensymphony</groupId>
|
2006-08-28 02:29:53 -04:00
|
|
|
<artifactId>webwork</artifactId>
|
|
|
|
</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>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus.cache</groupId>
|
|
|
|
<artifactId>plexus-cache-ehcache</artifactId>
|
|
|
|
<scope>compile</scope>
|
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>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
2006-07-06 07:19:19 -04:00
|
|
|
<artifactId>plexus-container-default</artifactId>
|
|
|
|
</dependency>
|
2006-09-07 12:05:47 -04:00
|
|
|
<!-- Plexus Security Dependencies -->
|
|
|
|
<dependency>
|
2007-05-10 18:09:39 -04:00
|
|
|
<groupId>org.codehaus.plexus.redback</groupId>
|
|
|
|
<artifactId>redback-xwork-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>
|
2007-05-10 18:09:39 -04:00
|
|
|
<groupId>org.codehaus.plexus.redback</groupId>
|
|
|
|
<artifactId>redback-xwork-integration</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus.redback</groupId>
|
|
|
|
<artifactId>redback-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>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-xwork-integration</artifactId>
|
|
|
|
</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>
|
|
|
|
<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>
|
2007-10-25 19:39:05 -04:00
|
|
|
<!-- Test Scoped -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
|
|
<artifactId>jetty</artifactId>
|
|
|
|
<version>6.1.5</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2007-08-10 04:36:23 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>httpunit</groupId>
|
|
|
|
<artifactId>httpunit</artifactId>
|
|
|
|
<version>1.6.2</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2007-10-31 16:20:02 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>xmlunit</groupId>
|
|
|
|
<artifactId>xmlunit</artifactId>
|
|
|
|
</dependency>
|
2007-09-12 05:33:41 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus.redback</groupId>
|
|
|
|
<artifactId>redback-keys-memory</artifactId>
|
|
|
|
<version>${redback.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus.redback</groupId>
|
|
|
|
<artifactId>redback-rbac-memory</artifactId>
|
|
|
|
<version>${redback.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus.redback</groupId>
|
|
|
|
<artifactId>redback-users-memory</artifactId>
|
|
|
|
<version>${redback.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2006-01-08 23:58:17 -05:00
|
|
|
</dependencies>
|
2006-01-09 03:05:46 -05:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2007-10-25 19:39:05 -04:00
|
|
|
<!--
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>2.2</version>
|
|
|
|
<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 -->
|
2007-08-02 16:02:27 -04:00
|
|
|
<include>WEB-INF/jasperreports</include>
|
|
|
|
<!-- Directory created by jasperreports-maven-plugin -->
|
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">
|
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>
|
|
|
|
<value>${project.build.directory}/appserver-base</value>
|
|
|
|
</systemProperty>
|
2006-12-15 11:45:29 -05:00
|
|
|
<systemProperty>
|
|
|
|
<name>appserver.base</name>
|
2006-12-22 17:12:20 -05:00
|
|
|
<value>${project.build.directory}/appserver-base</value>
|
|
|
|
</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>
|
|
|
|
<value>${project.build.directory}/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>
|
2007-06-01 13:10:13 -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>
|
|
|
|
<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>
|
2007-03-08 04:47:04 -05:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
|
|
|
<copy todir="${project.build.directory}/appserver-base">
|
2007-09-16 02:39:24 -04:00
|
|
|
<fileset dir="src/appserver-base" />
|
2007-03-08 04:47:04 -05:00
|
|
|
</copy>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</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>
|
2007-08-04 06:58:40 -04:00
|
|
|
<profile>
|
|
|
|
<!--
|
|
|
|
Inclusion of this profile brings in Jasper, which is not distributed by default due to ASF licensing policy
|
|
|
|
regarding LGPL dependencies. A basic report is used instead.
|
|
|
|
|
|
|
|
Note: in the future, it may be better to use the jasperreports plugin at all times (so the compiled report is
|
|
|
|
included), so that we just require that the JAR be on the classpath to activate it. We haven't taken this step
|
|
|
|
here because the jasperreports plugin is not yet released.
|
|
|
|
|
|
|
|
See also: MRM-447
|
|
|
|
-->
|
|
|
|
<id>jasper</id>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>jasperreports</groupId>
|
|
|
|
<artifactId>jasperreports</artifactId>
|
|
|
|
<version>1.2.0</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>jasperreports-maven-plugin</artifactId>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>compile-reports</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<targetDirectory>src/main/webapp/WEB-INF/jasperreports</targetDirectory>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>Codehaus Snapshots</id>
|
|
|
|
<url>http://snapshots.repository.codehaus.org/</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
<releases>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</releases>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2006-01-08 23:58:17 -05:00
|
|
|
</project>
|