mirror of https://github.com/apache/archiva.git
461 lines
16 KiB
XML
461 lines
16 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
~ 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-web</artifactId>
|
|
<version>3.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>archiva-webdav</artifactId>
|
|
<name>Archiva Web :: WebDAV</name>
|
|
|
|
<properties>
|
|
<webdav.forkMode>once</webdav.forkMode>
|
|
<!--
|
|
<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>
|
|
<webdav.argLine>-Xmx512m -Xms512m -client</webdav.argLine>
|
|
<site.staging.base>${project.parent.parent.basedir}</site.staging.base>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!-- TODO: remove this hardcoding through a better event mechanism -->
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>audit</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-repository-scanner</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.configuration</groupId>
|
|
<artifactId>archiva-configuration-provider</artifactId>
|
|
<!-- should be runtime but currently not possible due ConfigurationListener
|
|
<scope>runtime</scope>
|
|
-->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-storage-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.maven</groupId>
|
|
<artifactId>archiva-maven-repository</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-repository-admin-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-repository-layer</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.maven</groupId>
|
|
<artifactId>archiva-maven-proxy</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-security</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.maven</groupId>
|
|
<artifactId>archiva-maven-indexer</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-filelock</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-checksum</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-common</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-consumer-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-model</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-policies</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-proxy-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-repository-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-scheduler-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-scheduler-repository-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-security-common</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-storage-fs</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-xml-tools</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.maven</groupId>
|
|
<artifactId>archiva-maven-metadata</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>metadata-model</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>metadata-repository-api</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback</groupId>
|
|
<artifactId>redback-authentication-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback</groupId>
|
|
<artifactId>redback-authorization-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback</groupId>
|
|
<artifactId>redback-keys-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback</groupId>
|
|
<artifactId>redback-policy</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback</groupId>
|
|
<artifactId>redback-system</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback</groupId>
|
|
<artifactId>redback-users-api</artifactId>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>jakarta.inject</groupId>
|
|
<artifactId>jakarta.inject-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-beans</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.jackrabbit</groupId>
|
|
<artifactId>jackrabbit-webdav</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.jackrabbit</groupId>
|
|
<artifactId>jackrabbit-jcr-commons</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.servlet</groupId>
|
|
<artifactId>jakarta.servlet-api</artifactId>
|
|
<scope>provided</scope>
|
|
</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>
|
|
|
|
<!-- TEST Scope -->
|
|
<dependency>
|
|
<groupId>org.jsoup</groupId>
|
|
<artifactId>jsoup</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-servlet</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-scheduler-repository</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.persistence</groupId>
|
|
<artifactId>jakarta.persistence-api</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.transaction</groupId>
|
|
<artifactId>jakarta.transaction-api</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback</groupId>
|
|
<artifactId>redback-rbac-jpa</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback</groupId>
|
|
<artifactId>redback-keys-memory</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback</groupId>
|
|
<artifactId>redback-keys-jpa</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva.redback</groupId>
|
|
<artifactId>redback-users-memory</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.xmlunit</groupId>
|
|
<artifactId>xmlunit-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-server</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-slf4j-impl</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hsqldb</groupId>
|
|
<artifactId>hsqldb</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.sourceforge.htmlunit</groupId>
|
|
<artifactId>htmlunit</artifactId>
|
|
<version>${html.unit.version}</version>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-websocket</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-http</artifactId>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<!-- This triggers httpunit to use it instead, but it doesn't work -->
|
|
<exclusion>
|
|
<groupId>nekohtml</groupId>
|
|
<artifactId>nekohtml</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>nekohtml</groupId>
|
|
<artifactId>xercesMinimal</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</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-utils</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-repository-admin-default</artifactId>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.archiva</groupId>
|
|
<artifactId>archiva-mock</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.assertj</groupId>
|
|
<artifactId>assertj-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- START Needed for JDK >= 9 -->
|
|
<dependency>
|
|
<groupId>jakarta.annotation</groupId>
|
|
<artifactId>jakarta.annotation-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.xml.bind</groupId>
|
|
<artifactId>jakarta.xml.bind-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish.jaxb</groupId>
|
|
<artifactId>jaxb-runtime</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- END Needed for JDK >= 9 -->
|
|
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<forkCount>2</forkCount>
|
|
<reuseForks>false</reuseForks>
|
|
<!--
|
|
The property jdk.net.URLClassPath.disableClassPathURLCheck is a workaround for a regression
|
|
with surefire and OpenJDK 8 181b13 on Debian/Ubuntu,
|
|
@see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911925
|
|
-->
|
|
<argLine>${webdav.argLine} -Djdk.net.URLClassPath.disableClassPathURLCheck=true</argLine>
|
|
<workingDirectory>${project.build.directory}/WDIR-${surefire.forkNumber}</workingDirectory>
|
|
<environmentVariables>
|
|
<ARCHIVA_USER_CONFIG_FILE>${java.io.tmpdir}/archiva-webdav-${surefire.forkNumber}.xml</ARCHIVA_USER_CONFIG_FILE>
|
|
</environmentVariables>
|
|
<systemPropertyVariables>
|
|
<mvn.project.base.dir>${project.basedir}</mvn.project.base.dir>
|
|
<appserver.base>${project.build.directory}/appserver-base-${surefire.forkNumber}</appserver.base>
|
|
<plexus.home>${project.build.directory}/appserver-base-${surefire.forkNumber}</plexus.home>
|
|
<derby.system.home>${project.build.directory}/appserver-base-${surefire.forkNumber}</derby.system.home>
|
|
<test.resources.path>${project.build.testOutputDirectory}</test.resources.path>
|
|
<archiva.user.configFileName>${project.build.directory}/appserver-base-${surefire.forkNumber}/conf/archiva.xml</archiva.user.configFileName>
|
|
<redback.jdbc.url>${redbackTestJdbcUrl}</redback.jdbc.url>
|
|
<redback.jdbc.driver.name>${redbackTestJdbcDriver}</redback.jdbc.driver.name>
|
|
<archiva.repositorySessionFactory.id>mock</archiva.repositorySessionFactory.id>
|
|
<openjpa.Log>${openjpa.Log}</openjpa.Log>
|
|
<org.apache.jackrabbit.core.state.validatehierarchy>true</org.apache.jackrabbit.core.state.validatehierarchy>
|
|
</systemPropertyVariables>
|
|
<trimStackTrace>false</trimStackTrace>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.rat</groupId>
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>src/main/resources/org/apache/archiva/webdav/util/mime.types</exclude>
|
|
<exclude>src/test/resources/archiva-mime-types.txt</exclude>
|
|
<exclude>src/test/resources/artifact.jar.sha1</exclude>
|
|
<exclude>src/test/resources/maven-metadata.xml</exclude>
|
|
<exclude>nbactions.xml</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
</project>
|