mirror of https://github.com/apache/archiva.git
353 lines
12 KiB
XML
353 lines
12 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ 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
|
|
~
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
~
|
|
~ Unless required by applicable law or agreed to in writing,
|
|
~ software distributed under the License is distributed on an
|
|
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
~ KIND, either express or implied. See the License for the
|
|
~ specific language governing permissions and limitations
|
|
~ under the License.
|
|
-->
|
|
<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/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-web</artifactId>
|
|
<version>1.4-M3-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>archiva-web-common</artifactId>
|
|
<packaging>bundle</packaging>
|
|
<name>Archiva Web :: Web Common</name>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>metadata-repository-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-configuration</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-security-common</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-rss</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-security</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback</groupId>
|
|
<artifactId>redback-common-integrations</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>stax</groupId>
|
|
<artifactId>stax-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-plexus-bridge</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-scheduler-repository</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback</groupId>
|
|
<artifactId>redback-rbac-model</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback</groupId>
|
|
<artifactId>redback-rbac-role-manager</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback</groupId>
|
|
<artifactId>redback-system</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback.components</groupId>
|
|
<artifactId>spring-taskqueue</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback.components</groupId>
|
|
<artifactId>spring-quartz</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.quartz-scheduler</groupId>
|
|
<artifactId>quartz</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>c3p0</groupId>
|
|
<artifactId>c3p0</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>javax.transaction</groupId>
|
|
<artifactId>jta</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-beans</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context-support</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>httpunit</groupId>
|
|
<artifactId>httpunit</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-test-utils</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-simple</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-http</artifactId>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-http-lightweight</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
</resource>
|
|
<resource>
|
|
<directory>src/main/filtered-resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<configuration>
|
|
<instructions>
|
|
<Bundle-SymbolicName>org.apache.archiva.web.common</Bundle-SymbolicName>
|
|
<Bundle-Version>${project.version}</Bundle-Version>
|
|
<Export-Package>
|
|
org.apache.archiva.web.spring;version=${project.version},
|
|
org.apache.archiva.web.startup;version=${project.version}
|
|
</Export-Package>
|
|
<Import-Package>
|
|
javax.annotation,
|
|
javax.inject,
|
|
javax.servlet,
|
|
javax.servlet.http,
|
|
org.apache.archiva.common;version=${project.version},
|
|
org.apache.archiva.common.plexusbridge;version=${project.version},
|
|
org.apache.archiva.configuration;version=${project.version},
|
|
org.apache.archiva.repository.events;version=${project.version},
|
|
org.apache.archiva.scheduler.repository;version=${project.version},
|
|
org.apache.archiva.security.common;version=${project.version},
|
|
org.apache.commons.collections;version="[3.2,4)",
|
|
org.apache.commons.lang;version="[2.4,3)",
|
|
org.apache.commons.lang.math;version="[2.4,3)",
|
|
org.apache.maven.index,
|
|
org.apache.maven.index.context,
|
|
org.apache.archiva.redback.rbac,
|
|
org.apache.archiva.redback.role,
|
|
org.apache.archiva.redback.system.check,
|
|
org.apache.archiva.redback.components.registry,
|
|
org.apache.archiva.redback.components.taskqueue,
|
|
org.apache.archiva.redback.components.taskqueue.execution,
|
|
org.apache.archiva.redback.components.scheduler,
|
|
org.quartz;version="[2,3)",
|
|
org.slf4j;resolution:=optional,
|
|
org.springframework*;version="[3,4)",
|
|
org.springframework.web*;version="[3,4)",
|
|
com.sun.syndication.feed.synd,
|
|
com.sun.syndication.io,
|
|
org.apache.archiva.metadata.repository,
|
|
org.apache.archiva.rss.processor,
|
|
org.apache.archiva.security,
|
|
org.apache.commons.codec,
|
|
org.apache.commons.codec.binary,
|
|
org.apache.archiva.redback.authentication,
|
|
org.apache.archiva.redback.authorization,
|
|
org.apache.archiva.redback.policy,
|
|
org.apache.archiva.redback.system,
|
|
org.apache.archiva.redback.users,
|
|
org.apache.archiva.redback.integration.filter.authentication
|
|
</Import-Package>
|
|
</instructions>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>test-jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<systemPropertyVariables>
|
|
<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>
|
|
<archiva.user.configFileName>${basedir}/target/archiva.xml</archiva.user.configFileName>
|
|
<test.resources.path>${project.build.testOutputDirectory}</test.resources.path>
|
|
<redback.jdbc.url>${redbackTestJdbcUrl}</redback.jdbc.url>
|
|
<redback.jdbc.driver.name>${redbackTestJdbcDriver}</redback.jdbc.driver.name>
|
|
<basedir>${basedir}</basedir>
|
|
</systemPropertyVariables>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>svn-1.7-buildnumber</id>
|
|
<activation>
|
|
<file>
|
|
<exists>../../../.svn/</exists>
|
|
<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>
|
|
<!-- Use committed revision so it does not change every time svn update is run -->
|
|
<useLastCommittedRevision>true</useLastCommittedRevision>
|
|
<!-- default revision number if unavailable -->
|
|
<revisionOnScmFailure>??????</revisionOnScmFailure>
|
|
<providerImplementations>
|
|
<svn>javasvn</svn>
|
|
</providerImplementations>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.google.code.maven-scm-provider-svnjava</groupId>
|
|
<artifactId>maven-scm-provider-svnjava</artifactId>
|
|
<version>2.0.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.tmatesoft.svnkit</groupId>
|
|
<artifactId>svnkit</artifactId>
|
|
<version>1.7.5</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</profile>
|
|
<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>
|
|
<!-- Use committed revision so it does not change every time svn update is run -->
|
|
<useLastCommittedRevision>true</useLastCommittedRevision>
|
|
<!-- default revision number if unavailable -->
|
|
<revisionOnScmFailure>??????</revisionOnScmFailure>
|
|
<providerImplementations>
|
|
<svn>javasvn</svn>
|
|
</providerImplementations>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
|
|
</project>
|