All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nexus.plugins.nexus-repository-cpan-it.0.0.8.source-code.pom.xml Maven / Gradle / Ivy

There is a newer version: 0.0.10
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<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>
        <groupId>org.sonatype.nexus.plugins</groupId>
        <artifactId>cpan-parent</artifactId>
        <version>0.0.8</version>
    </parent>

    <artifactId>nexus-repository-cpan-it</artifactId>

    <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>
        <dependency>
            <groupId>org.sonatype.nexus</groupId>
            <artifactId>nexus-rest-client</artifactId>
        </dependency>
        <!--
        Pax-Exam test driver - end
        -->
        <!--
        only needed due to testsupport reference to: org.sonatype.nexus.repository.maven.VersionPolicy
        -->
        <dependency>
            <groupId>org.sonatype.nexus.plugins</groupId>
            <artifactId>nexus-repository-maven</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.sonatype.nexus.testsuite</groupId>
            <artifactId>nexus-repository-testsupport</artifactId>
            <version>${nxrm-version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.sonatype.nexus.testsuite</groupId>
            <artifactId>nexus-repository-testsupport</artifactId>
            <version>${nxrm-version}</version>
            <type>xml</type>
            <classifier>features</classifier>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.sonatype.nexus.testsuite</groupId>
            <artifactId>nexus-it-suite-data</artifactId>
            <version>${nxrm-version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.sonatype.nexus.assemblies</groupId>
            <artifactId>nexus-base-template</artifactId>
            <version>${nxrm-version}</version>
            <type>zip</type>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.sonatype.nexus.plugins</groupId>
            <artifactId>nexus-repository-cpan</artifactId>
            <version>${project.version}</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <!--
            ensure runtime dependencies required by ITs are in the local .m2/repository
            -->
            <plugin>
                <artifactId>maven-dependency-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>get</goal>
                        </goals>
                        <configuration>
                            <groupId>org.sonatype.nexus.buildsupport</groupId>
                            <artifactId>nexus-buildsupport-it-deps</artifactId>
                            <version>${nxrm-version}</version>
                            <packaging>pom</packaging>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <!--
            Allow use of 'versionAsInProject' in Pax-Exam configuration
            -->
            <plugin>
                <groupId>org.apache.servicemix.tooling</groupId>
                <artifactId>depends-maven-plugin</artifactId>
                <version>1.3</version>
                <executions>
                    <execution>
                        <id>generate-depends-file</id>
                        <goals>
                            <goal>generate-depends-file</goal>
                        </goals>
                    </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>
            <plugin>
                <artifactId>maven-failsafe-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy