<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>junit-dep-problem</groupId>
  <artifactId>surefirebug</artifactId>
  <packaging>jar</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>surefirebug</name>
  <url>http://maven.apache.org</url>
  
  <build>
      <plugins>
          
          <plugin>
              <artifactId>maven-compiler-plugin</artifactId>
              <configuration>
                  <source>1.5</source>
                  <target>1.5</target>
              </configuration>
          </plugin>
          
          <plugin>
              <artifactId>maven-surefire-plugin</artifactId>
              <!--
              Versions 2.4 and 2.3.1 are no better
              -->
              <version>2.4.3</version>
          </plugin>
          
      </plugins>
  </build>
  
  <dependencies>
    
    <!--
    WORKAROUND 1:
    JMock has a dependency to JUnit-3.8.1 - Remove this dependency
    -->
    <dependency>
        <groupId>jmock</groupId>
        <artifactId>jmock</artifactId>
        <version>1.2.0</version>
        <scope>test</scope>
    </dependency>
    
    <!--
    WORKAROUND 2:
    Change dependency-artifactId to "junit"
    -->
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit-dep</artifactId>
      <version>4.5</version>
      <scope>test</scope>
    </dependency>
    
  </dependencies>
  
</project>

