<?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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <groupId>org.apache.maven.its.mng3680</groupId>
  <artifactId>test</artifactId>
  <version>1</version>
  <packaging>jar</packaging>

  <name>Maven Integration Test :: MNG-3680</name>
  <description>Verify that dependencies with invalid POMs can still be used without failing the build.</description>

  <dependencies>
    <dependency>
      <!-- This has a broken POM, yet its dependencies should contribute to this build -->
      <groupId>org.apache.maven.its.mng3680</groupId>
      <artifactId>direct</artifactId>
      <version>0.1</version>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.its.plugins</groupId>
        <artifactId>maven-it-plugin-dependency-resolution</artifactId>
        <version>2.1-SNAPSHOT</version>
        <executions>
          <execution>
            <id>test</id>
            <goals>
              <goal>test</goal>
            </goals>
            <phase>validate</phase>
            <configuration>
              <testArtifacts>target/artifacts.txt</testArtifacts>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>
