nexus.testsuite.nexus-it-suite.3.65.0-02.source-code.pom.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- Sonatype Nexus (TM) Open Source Version Copyright (c) 2008-present Sonatype, Inc. All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions. This program and the accompanying materials are made available under the terms of the Eclipse Public License Version 1.0, which accompanies this distribution and is available at http://www.eclipse.org/legal/epl-v10.html. Sonatype Nexus (TM) Professional Version is available from Sonatype, Inc. "Sonatype" and "Sonatype Nexus" are trademarks of Sonatype, Inc. Apache Maven is a trademark of the Apache Software Foundation. M2eclipse is a trademark of the Eclipse Foundation. All other trademarks are the property of their respective owners. --> <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.sonatype.nexus.testsuite</groupId> <artifactId>nexus-testsuite</artifactId> <version>3.65.0-02</version> </parent> <artifactId>nexus-it-suite</artifactId> <name>${project.groupId}:${project.artifactId}</name> <dependencies> <!-- Pax-Exam test driver --> <dependency> <groupId>org.sonatype.nexus</groupId> <artifactId>nexus-pax-exam</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.ops4j.pax.exam</groupId> <artifactId>pax-exam-features</artifactId> <type>xml</type> </dependency> <!-- Allow tests access to these APIs/helpers --> <dependency> <groupId>org.sonatype.nexus</groupId> <artifactId>nexus-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.sonatype.nexus</groupId> <artifactId>nexus-repository</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.sonatype.nexus.testsuite</groupId> <artifactId>nexus-repository-testsupport</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.sonatype.nexus</groupId> <artifactId>nexus-bootstrap</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.sonatype.nexus</groupId> <artifactId>nexus-rapture</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.sonatype.nexus</groupId> <artifactId>nexus-rest</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.sonatype.nexus</groupId> <artifactId>nexus-rest-client</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.sonatype.nexus</groupId> <artifactId>nexus-rest-jackson2</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.sonatype.nexus</groupId> <artifactId>nexus-script</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.sonatype.nexus</groupId> <artifactId>nexus-extdirect</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.sonatype.nexus</groupId> <artifactId>nexus-test-common</artifactId> </dependency> <dependency> <groupId>org.awaitility</groupId> <artifactId>awaitility</artifactId> <scope>test</scope> </dependency> <!-- Allow tests access to these plugins --> <dependency> <groupId>org.sonatype.nexus.plugins</groupId> <artifactId>nexus-repository-maven</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.sonatype.nexus.plugins</groupId> <artifactId>nexus-repository-raw</artifactId> <scope>test</scope> </dependency> <!-- Distributions to be tested --> <dependency> <groupId>org.sonatype.nexus.assemblies</groupId> <artifactId>nexus-base-template</artifactId> <type>zip</type> <scope>test</scope> <exclusions> <exclusion> <groupId>*</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.sonatype.nexus.plugins</groupId> <artifactId>nexus-blobstore-tasks</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <!-- Allow use of 'versionAsInProject' in Pax-Exam configuration --> <plugin> <groupId>org.apache.servicemix.tooling</groupId> <artifactId>depends-maven-plugin</artifactId> </plugin> </plugins> </build> <profiles> <profile> <id>it</id> <activation> <property> <name>it</name> <value>true</value> </property> </activation> <dependencies> <dependency> <groupId>org.sonatype.nexus.testsuite</groupId> <artifactId>nexus-it-suite-data</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <!-- Pre-fetch all the bundles listed in pax-exam-features --> <plugin> <groupId>org.apache.karaf.tooling</groupId> <artifactId>karaf-maven-plugin</artifactId> <executions> <execution> <id>fetch-pax-exam-features</id> <phase>generate-resources</phase> <goals> <goal>features-add-to-repository</goal> </goals> <configuration> <descriptors> <descriptor>file:${project.artifactMap(org.ops4j.pax.exam:pax-exam-features).file}</descriptor> </descriptors> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>unpack-testsuite-data</id> <phase>process-test-resources</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <unzip src="${org.sonatype.nexus.testsuite:nexus-it-suite-data:jar}" dest="${project.build.directory}/it-resources"> <patternset> <exclude name="META-INF/**"/> </patternset> </unzip> </target> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>idea</id> <dependencies> <dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch</artifactId> <scope>test</scope> </dependency> </dependencies> </profile> </profiles> </project>