nexus.testsuite.nexus-legacy-testsuite.3.0.0-b2015020701.source-code.pom.xml Maven / Gradle / Ivy
The newest version!
<!-- Sonatype Nexus (TM) Open Source Version Copyright (c) 2008-2015 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.0.0-b2015020701</version> </parent> <artifactId>nexus-legacy-testsuite</artifactId> <name>${project.groupId}:${project.artifactId}</name> <properties> <!-- Testsuite auto-sharding support. --> <testsuite.basedir>${project.basedir}/..</testsuite.basedir> <!-- Selects version of maven used to deploy, etc. in ITs --> <maven-version>2.2.1</maven-version> <!-- Location of unpacked Nexus distribution. --> <nexus.dir>${project.build.directory}/nexus/${it.nexus.bundle.artifactId}-${it.nexus.bundle.version}</nexus.dir> <!-- Additional features used in legacy tests. --> <nexus-test-features> nexus-it-helper-plugin,\ nexus-p2-bridge-plugin,\ nexus-p2-repository-plugin </nexus-test-features> </properties> <dependencies> <!-- The IT Launcher --> <dependency> <groupId>org.sonatype.nexus</groupId> <artifactId>nexus-test-harness-launcher</artifactId> <scope>test</scope> <exclusions> <exclusion> <groupId>junit</groupId> <artifactId>junit-dep</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.sonatype.nexus</groupId> <artifactId>nexus-test-common</artifactId> <scope>test</scope> </dependency> <!-- Deps needed by some ITs (they use classes from these below) --> <dependency> <groupId>org.sonatype.nexus</groupId> <artifactId>nexus-oss-edition</artifactId> </dependency> <!-- NEXUS-2810 references this --> <dependency> <groupId>org.sonatype.nexus.plugins</groupId> <artifactId>nexus-plugin-console-plugin</artifactId> </dependency> <!-- NEXUS-156 (RRB perms) --> <dependency> <groupId>org.sonatype.nexus.plugins</groupId> <artifactId>nexus-rrb-plugin</artifactId> </dependency> <!-- NEXUS-3947 ArchetypeCatalog --> <dependency> <groupId>org.sonatype.nexus.plugins</groupId> <artifactId>nexus-archetype-plugin</artifactId> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-archiver</artifactId> </dependency> <dependency> <groupId>org.sonatype.http-testing-harness</groupId> <artifactId>junit-runner</artifactId> </dependency> <dependency> <groupId>org.sonatype.nexus.plugins</groupId> <artifactId>nexus-ldap-plugin</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.sonatype.nexus</groupId> <artifactId>nexus-ldap-testsupport</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.sonatype.nexus.plugins</groupId> <artifactId>nexus-p2-repository-plugin</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.sonatype.nexus.plugins</groupId> <artifactId>nexus-capabilities-client</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.sonatype.nexus.plugins</groupId> <artifactId>nexus-ssl-client</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.sonatype.nexus.plugins</groupId> <artifactId>nexus-ldap-client</artifactId> <scope>test</scope> </dependency> <!-- Additional plugin/helper features --> <dependency> <groupId>org.sonatype.nexus</groupId> <artifactId>nexus-it-helper-plugin</artifactId> <version>${nexus.version}</version> <classifier>features</classifier> <type>xml</type> <scope>runtime</scope> </dependency> <dependency> <groupId>org.sonatype.nexus.plugins</groupId> <artifactId>nexus-p2-bridge-plugin</artifactId> <version>${nexus.version}</version> <classifier>features</classifier> <type>xml</type> <scope>runtime</scope> </dependency> <dependency> <groupId>org.sonatype.nexus.plugins</groupId> <artifactId>nexus-p2-repository-plugin</artifactId> <version>${nexus.version}</version> <classifier>features</classifier> <type>xml</type> <scope>runtime</scope> </dependency> </dependencies> <profiles> <profile> <id>testsuite-genshards</id> <build> <plugins> <plugin> <groupId>org.codehaus.gmaven</groupId> <artifactId>gmaven-plugin</artifactId> <executions> <execution> <id>default</id> <phase>process-test-sources</phase> <goals> <goal>execute</goal> </goals> <configuration> <properties> <autoshard.mode>normal</autoshard.mode> <autoshard.count>10</autoshard.count> </properties> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>it</id> <activation> <property> <name>it</name> <value>true</value> </property> </activation> <build> <resources> <resource> <directory>${basedir}/src/test/it-resources/default-config</directory> <targetPath>${project.build.directory}/resources/default-configs</targetPath> <filtering>true</filtering> </resource> </resources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> <configuration> <localRepositoryPath>${project.build.directory}/maven/fake-repo</localRepositoryPath> <extraArtifacts> <xml>org.apache.maven.plugins:maven-clean-plugin:2.2:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-compiler-plugin:2.0:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-compiler-plugin:2.0.2:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-compiler-plugin:2.3.2:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-dependency-plugin:2.0:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-deploy-plugin:2.3:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-deploy-plugin:2.4:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-deploy-plugin:2.5:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-install-plugin:2.0:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-install-plugin:2.2:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-install-plugin:2.3.1:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-jar-plugin:2.0:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-jar-plugin:2.2:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-jar-plugin:2.3.1:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-resources-plugin:2.0:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-resources-plugin:2.2:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-resources-plugin:2.3:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-resources-plugin:2.4:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-resources-plugin:2.4.3:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-surefire-plugin:2.0:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-surefire-plugin:2.4.2:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-surefire-plugin:2.4.3:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-surefire-plugin:2.5:maven-plugin</xml> <xml>org.apache.maven.plugins:maven-surefire-plugin:2.7.2:maven-plugin</xml> <xml>org.apache.maven.surefire:surefire-junit3:2.7.2</xml> <!-- nexus4218 --> <xml>org.apache.maven:apache-maven:3.0.3:tar.gz:bin</xml> <xml>org.apache.maven:apache-maven:2.0.6:tar.gz:bin</xml> <xml>org.apache.ivy:apache-ivy:2.2.0:tar.gz:bin</xml> <!-- p2 --> <xml>org.sonatype.maven.plugins:maven-p2-bridge-plugin:1.1.6</xml> <xml>org.sonatype.p2.bridge:org.sonatype.p2.bridge.impl:1.1.6</xml> </extraArtifacts> </configuration> <executions> <execution> <phase>pre-integration-test</phase> <goals> <goal>install</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>unpack-maven</id> <phase>pre-integration-test</phase> <goals> <goal>unpack</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/maven</outputDirectory> <artifactItems> <artifactItem> <groupId>org.apache.maven</groupId> <artifactId>apache-maven</artifactId> <version>${maven-version}</version> <classifier>bin</classifier> <type>tar.gz</type> </artifactItem> </artifactItems> </configuration> </execution> <execution> <id>unpack-nexus</id> <phase>pre-integration-test</phase> <goals> <goal>unpack</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/nexus</outputDirectory> <artifactItems> <artifactItem> <groupId>${it.nexus.bundle.groupId}</groupId> <artifactId>${it.nexus.bundle.artifactId}</artifactId> <version>${it.nexus.bundle.version}</version> <type>zip</type> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> <!-- Install additional features required by legacy ITs (test helper + P2) --> <plugin> <groupId>org.apache.karaf.tooling</groupId> <artifactId>karaf-maven-plugin</artifactId> <executions> <execution> <id>install-plugins</id> <phase>pre-integration-test</phase> <goals> <goal>install-kars</goal> </goals> <configuration> <featuresCfgFile>${nexus.dir}/etc/org.apache.karaf.features.cfg</featuresCfgFile> <startupPropertiesFile>${nexus.dir}/etc/startup.properties</startupPropertiesFile> <systemDirectory>${nexus.dir}/system</systemDirectory> <installedFeatures> <feature>nexus-it-helper-plugin</feature> <feature>nexus-p2-bridge-plugin</feature> <feature>nexus-p2-repository-plugin</feature> </installedFeatures> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>reserve-network-port</id> <goals> <goal>reserve-network-port</goal> </goals> <phase>process-resources</phase> <configuration> <portNames> <portName>proxy-repo-port</portName> <portName>proxy-repo-control-port</portName> <portName>nexus-application-port</portName> <portName>nexus-proxy-port</portName> <portName>nexus-control-port</portName> <portName>email-server-port</portName> <portName>webproxy-server-port</portName> </portNames> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>