<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>${groupId}</groupId>
  <artifactId>mywar</artifactId>
  <version>${version}</version>
  <packaging>war</packaging>
  <dependencies>
    <dependency>
      <groupId>group4</groupId>
      <artifactId>providedRuntime</artifactId>
      <version>1.0</version>
      <type>zip</type>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>group4</groupId>
      <artifactId>providedRuntime-util</artifactId>
      <version>1.0</version>
      <type>war</type>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>group6</groupId>
      <artifactId>testRuntime</artifactId>
      <version>1.0</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>group2</groupId>
      <artifactId>providedCompile</artifactId>
      <version>1.0</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>group1</groupId>
      <artifactId>compile</artifactId>
      <version>1.0</version>
      <scope>compile</scope>
      <exclusions>
        <exclusion>
          <artifactId>excludeArtifact</artifactId>
          <groupId>excludeGroup</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>group3</groupId>
      <artifactId>runtime</artifactId>
      <version>1.0</version>
      <scope>runtime</scope>
      <exclusions>
        <exclusion>
          <artifactId>excludeArtifact2</artifactId>
          <groupId>excludeGroup2</groupId>
        </exclusion>
      </exclusions>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>group5</groupId>
      <artifactId>testCompile</artifactId>
      <version>1.0</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>