| <?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>2.2.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>archiva-web-common</artifactId> |
| <!-- DO NOT USE bundle packaging generated documentation is not included in the jar !!! --> |
| <packaging>jar</packaging> |
| <name>Archiva Web :: Web Common</name> |
| |
| <properties> |
| <enunciate.docsDir>${project.build.outputDirectory}/rest-docs-archiva-ui</enunciate.docsDir> |
| </properties> |
| |
| <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>org.apache.archiva</groupId> |
| <artifactId>archiva-repository-layer</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>archiva-rest-api</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-server</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-continuation</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-http</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-io</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-util</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-security</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> |
| <exclusion> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-servlet_2.5_spec</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>archiva-rest-services</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-server</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-continuation</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-http</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-io</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-util</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-security</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> |
| <exclusion> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-servlet_2.5_spec</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>audit</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>javax.servlet-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.ws.rs</groupId> |
| <artifactId>javax.ws.rs-api</artifactId> |
| </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.jsoup</groupId> |
| <artifactId>jsoup</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-web</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-1.2-api</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</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.slf4j</groupId> |
| <artifactId>jul-to-slf4j</artifactId> |
| <scope>test</scope> |
| </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> |
| |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-rs-client</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-server</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-plus</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <!-- override transitive from cxf --> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-util</artifactId> |
| <version>${jettyVersion}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-io</artifactId> |
| <version>${jettyVersion}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-security</artifactId> |
| <version>${jettyVersion}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-compress</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.archiva.redback</groupId> |
| <artifactId>redback-rest-services</artifactId> |
| <classifier>tests</classifier> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.archiva.redback</groupId> |
| <artifactId>redback-rest-services</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>archiva-webdav</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>archiva-repository-admin-default</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>metadata-store-jcr</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>jackrabbit-core</artifactId> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-juli</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-logging-juli</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-servlet-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-jsp-api</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>xerces</groupId> |
| <artifactId>xercesImpl</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> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>src/test/repositories/test-repo/**</exclude> |
| <exclude>src/test/repositories/snapshot-repo/**</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <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.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)", |
| 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> |
| <executions> |
| <execution> |
| <id>create-manifest</id> |
| <phase>process-test-classes</phase> |
| <goals> |
| <goal>manifest</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| </archive> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <argLine>-Xmx1024m -Xms512m -XX:MaxPermSize=256m ${jacocoagent}</argLine> |
| <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> |
| <expectedVersion>${project.version}</expectedVersion> |
| <archiva.logMissingI18n>true</archiva.logMissingI18n> |
| <java.awt.headless>true</java.awt.headless> |
| <archiva.repositorySessionFactory.id>test</archiva.repositorySessionFactory.id> |
| </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> |