| <?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/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>archiva-rest</artifactId> |
| <version>2.2.10</version> |
| </parent> |
| <artifactId>archiva-rest-services</artifactId> |
| <packaging>bundle</packaging> |
| <name>Archiva Web :: REST support :: Services</name> |
| |
| <properties> |
| <archiva.baseRestUrl /> |
| <rest.admin.pwd /> |
| <!-- |
| <redbackTestJdbcUrl>jdbc:derby:memory:users-test;create=true</redbackTestJdbcUrl> |
| <redbackTestJdbcDriver>org.apache.derby.jdbc.EmbeddedDriver</redbackTestJdbcDriver> |
| --> |
| <redbackTestJdbcUrl>jdbc:hsqldb:mem:redback-test</redbackTestJdbcUrl> |
| <redbackTestJdbcDriver>org.hsqldb.jdbcDriver</redbackTestJdbcDriver> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>archiva-security</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>archiva-repository-admin-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>metadata-model</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>archiva-configuration</artifactId> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>archiva-scheduler-indexing</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>audit</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>generic-metadata-support</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>archiva-scheduler-repository</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>archiva-indexer</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>archiva-repository-layer</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>archiva-repository-scanner</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>archiva-maven2-model</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.jsoup</groupId> |
| <artifactId>jsoup</artifactId> |
| <version>1.7.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.archiva.redback</groupId> |
| <artifactId>redback-authorization-api</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.archiva.redback</groupId> |
| <artifactId>redback-authentication-api</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.archiva.redback</groupId> |
| <artifactId>redback-common-integrations</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>stax</groupId> |
| <artifactId>stax-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>archiva-rest-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>archiva-proxy</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>stage-repository-merge</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.archiva.redback</groupId> |
| <artifactId>redback-rest-services</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.archiva.redback</groupId> |
| <artifactId>redback-rest-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-http</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-validator</groupId> |
| <artifactId>commons-validator</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>oro</groupId> |
| <artifactId>oro</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.ws.rs</groupId> |
| <artifactId>javax.ws.rs-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.modelmapper</groupId> |
| <artifactId>modelmapper</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.codehaus.woodstox</groupId> |
| <artifactId>woodstox-core-asl</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| <artifactId>jackson-jaxrs-json-provider</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| <artifactId>jackson-jaxrs-xml-provider</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-frontend-jaxrs</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-rs-extension-providers</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.cxf</groupId> |
| <artifactId>cxf-rt-rs-client</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-common-test-resources</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-expression</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-test</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.springframework</groupId> |
| <artifactId>spring-web</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.slf4j</groupId> |
| <artifactId>jul-to-slf4j</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.mail</groupId> |
| <artifactId>mail</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.hsqldb</groupId> |
| <artifactId>hsqldb</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-jcl</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.archiva.redback</groupId> |
| <artifactId>redback-authentication-memory</artifactId> |
| <scope>test</scope> |
| <version>${redback.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.archiva.redback</groupId> |
| <artifactId>redback-keys-memory</artifactId> |
| <scope>test</scope> |
| <version>${redback.version}</version> |
| </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.lucene</groupId> |
| <artifactId>lucene-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.lucene</groupId> |
| <artifactId>lucene-queries</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.lucene</groupId> |
| <artifactId>lucene-memory</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.lucene</groupId> |
| <artifactId>lucene-highlighter</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.maven.wagon</groupId> |
| <artifactId>wagon-http-lightweight</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>archiva-test-mocks</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <scope>test</scope> |
| </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-jsp-api</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>xerces</groupId> |
| <artifactId>xercesImpl</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.archiva</groupId> |
| <artifactId>archiva-metadata-consumer</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>javax.servlet-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>src/test/repo-with-osgi/**</exclude> |
| <exclude>src/test/repo-with-osgi-stage/**</exclude> |
| <exclude>src/test/repo-with-classifier-only/**</exclude> |
| <exclude>src/test/repo-with-snapshots/**</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.rest.services</Bundle-SymbolicName> |
| <Bundle-Version>${project.version}</Bundle-Version> |
| <Require-Bundle>org.apache.cxf.bundle,org.springframework.beans,org.apache.archiva.rest.api</Require-Bundle> |
| </instructions> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <includes> |
| <include>**/*Tests.java</include> |
| <include>**/*Test.java</include> |
| </includes> |
| <argLine>-Xmx512m -Xms512m -server -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.baseRestUrl>${archiva.baseRestUrl}</archiva.baseRestUrl> |
| <rest.admin.pwd>${rest.admin.pwd}</rest.admin.pwd> |
| <redback.jdbc.url>${redbackTestJdbcUrl}</redback.jdbc.url> |
| <redback.jdbc.driver.name>${redbackTestJdbcDriver}</redback.jdbc.driver.name> |
| <basedir>${basedir}</basedir> |
| <builddir>${project.build.directory}</builddir> |
| <org.apache.jackrabbit.maxCacheMemory>1</org.apache.jackrabbit.maxCacheMemory> |
| <org.apache.jackrabbit.maxMemoryPerCache>1</org.apache.jackrabbit.maxMemoryPerCache> |
| <!--org.apache.jackrabbit.minMemoryPerCache>1</org.apache.jackrabbit.minMemoryPerCache--> |
| <archiva.repositorySessionFactory.id>jcr</archiva.repositorySessionFactory.id> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |