330 lines
11 KiB
XML
330 lines
11 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>
|
|
<artifactId>redback-rest</artifactId>
|
|
<groupId>org.apache.archiva.redback</groupId>
|
|
<version>2.6.1-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>redback-rest-services</artifactId>
|
|
<packaging>bundle</packaging>
|
|
<name>Redback :: Integration :: REST :: Services</name>
|
|
|
|
<properties>
|
|
<tomcatVersion>7.0.57</tomcatVersion>
|
|
<rest.test.timeout>1000000</rest.test.timeout>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback</groupId>
|
|
<artifactId>redback-rest-api</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.inject</groupId>
|
|
<artifactId>javax.inject</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.annotation</groupId>
|
|
<artifactId>jsr250-api</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback</groupId>
|
|
<artifactId>redback-common-integrations</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback</groupId>
|
|
<artifactId>redback-users-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback</groupId>
|
|
<artifactId>redback-users-cached</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback</groupId>
|
|
<artifactId>redback-keys-memory</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>javax.mail</groupId>
|
|
<artifactId>mail</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-rs-client</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-rs-extension-providers</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.ws.rs</groupId>
|
|
<artifactId>javax.ws.rs-api</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-expression</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-web</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback</groupId>
|
|
<artifactId>redback-common-test-resources</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.tomcat.embed</groupId>
|
|
<artifactId>tomcat-embed-core</artifactId>
|
|
<version>${tomcatVersion}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.tomcat</groupId>
|
|
<artifactId>tomcat-juli</artifactId>
|
|
<version>${tomcatVersion}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.tomcat.embed</groupId>
|
|
<artifactId>tomcat-embed-logging-juli</artifactId>
|
|
<version>${tomcatVersion}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.tomcat</groupId>
|
|
<artifactId>tomcat-servlet-api</artifactId>
|
|
<version>${tomcatVersion}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.tomcat</groupId>
|
|
<artifactId>tomcat-jsp-api</artifactId>
|
|
<version>${tomcatVersion}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-slf4j-impl</artifactId>
|
|
<version>${log4j2Version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-core</artifactId>
|
|
<version>${log4j2Version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jul-to-slf4j</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.hsqldb</groupId>
|
|
<artifactId>hsqldb</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-codec</groupId>
|
|
<artifactId>commons-codec</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.assertj</groupId>
|
|
<artifactId>assertj-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback.components</groupId>
|
|
<artifactId>spring-apacheds</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<configuration>
|
|
<instructions>
|
|
<Export-Package>
|
|
org.apache.archiva.redback.rest.services*;version=${project.version};-split-package:=merge-first
|
|
</Export-Package>
|
|
<Import-Package>
|
|
javax.annotation,
|
|
javax.inject;version="[1,2)",
|
|
javax.mail.internet,
|
|
javax.servlet.http,
|
|
javax.ws.rs.core,
|
|
javax.ws.rs.ext,
|
|
net.sf.ehcache,
|
|
org.apache.archiva.redback.authentication;version=${project.version},
|
|
org.apache.archiva.redback.authorization;version=${project.version},
|
|
org.apache.archiva.redback.components.cache;version=${project.version},
|
|
org.apache.archiva.redback.configuration;version=${project.version},
|
|
org.apache.archiva.redback.integration.filter.authentication*;version=${project.version},
|
|
org.apache.archiva.redback.integration.mail;version=${project.version},
|
|
org.apache.archiva.redback.integration.model;version=${project.version},
|
|
org.apache.archiva.redback.integration.util;version=${project.version},
|
|
org.apache.archiva.redback.keys*;version=${project.version},
|
|
org.apache.archiva.redback.policy;version=${project.version},
|
|
org.apache.archiva.redback.rbac;version=${project.version},
|
|
org.apache.archiva.redback.rest.api.model;version=${project.version},
|
|
org.apache.archiva.redback.rest.api.services;version=${project.version},
|
|
org.apache.archiva.redback.role*;version=${project.version},
|
|
org.apache.archiva.redback.system*;version=${project.version},
|
|
org.apache.archiva.redback.users;version=${project.version},
|
|
org.apache.commons.io;version="[1.4,2)",
|
|
org.apache.commons.lang;version="[2.6,3)",
|
|
org.apache.cxf*;version="[3.0.3,4)",
|
|
com.fasterxml.jackson.databind;version="[2.2,3)",
|
|
org.codehaus.plexus.util;version="[3,4)",
|
|
org.springframework*;version="[3,4)",
|
|
org.apache.commons.lang.time,
|
|
org.slf4j;resolution:=optional,
|
|
javax.naming,
|
|
javax.naming.directory,
|
|
org.apache.archiva.redback.common.ldap,
|
|
org.apache.archiva.redback.common.ldap.connection,
|
|
org.apache.archiva.redback.common.ldap.role
|
|
</Import-Package>
|
|
</instructions>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<configuration>
|
|
<filesets>
|
|
<fileset>
|
|
<directory>${basedir}/${plexus.home}</directory>
|
|
</fileset>
|
|
</filesets>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>**/FakeCreateAdminService**.java</exclude>
|
|
</excludes>
|
|
<systemPropertyVariables>
|
|
<plexus.home>${project.build.directory}/test-home</plexus.home>
|
|
<derby.system.home>${project.build.directory}/test-home</derby.system.home>
|
|
<test.useTomcat>${test.useTomcat}</test.useTomcat>
|
|
<redback.jdbc.url>${redbackTestJdbcUrl}</redback.jdbc.url>
|
|
<redback.jdbc.driver.name>${redbackTestJdbcDriver}</redback.jdbc.driver.name>
|
|
<ldapPort>${ldapPort}</ldapPort>
|
|
<rest.test.timeout>${rest.test.timeout}</rest.test.timeout>
|
|
</systemPropertyVariables>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>allocate-ldap-port</id>
|
|
<phase>process-classes</phase>
|
|
<goals>
|
|
<goal>reserve-network-port</goal>
|
|
</goals>
|
|
<configuration>
|
|
<portNames>
|
|
<portName>ldapPort</portName>
|
|
</portNames>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>test-jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|