<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/3.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/3.0.0 http://maven.apache.org/maven-v3_0_0.xsd">
  <pomVersion>3</pomVersion>
  <groupId>commons-logging</groupId>
  <artifactId>commons-logging-api</artifactId>
  <currentVersion>1.1.1-SNAPSHOT</currentVersion>
  
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <url>http://www.junit.org/index.htm</url>
      <properties>
        <comment>Used for testing only.</comment>
        <scope>test</scope>
        <optional>true</optional>
      </properties>
    </dependency>
    
    <dependency>
      <groupId>maven</groupId>
      <artifactId>maven-test-plugin</artifactId>
      <version>1.6.2</version>
      <type>plugin</type>
    </dependency>
  </dependencies>
  <build>
    <sourceDirectory>src/java</sourceDirectory>
    <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
    <sourceModifications>
      <sourceModification>
        <className>FakeClass1</className>
        <includes>
          <include>org/apache/commons/logging/*.java</include>
          <include>org/apache/commons/logging/impl/LogFactoryImpl.java</include>
          <include>org/apache/commons/logging/impl/WeakHashtable.java</include>
          <include>org/apache/commons/logging/impl/SimpleLog.java</include>
          <include>org/apache/commons/logging/impl/NoOpLog.java</include>
          <include>org/apache/commons/logging/impl/Jdk14Logger.java</include>
        </includes>
      </sourceModification>
      <sourceModification>
        <className>FakeClass2</className>
        <includes>
          <include>test/org/apache/commons/logging/SimpleLogTestCase.java</include>
        </includes>
        <excludes>
          <exclude>test/org/apache/commons/logging/servlet/*TestCase.java</exclude>
        </excludes>
      </sourceModification>
<!-- If the comments are removed from the sourceModification below the build will fail -->
<!--
      <sourceModification>
        <className>java.util.logging.Logger</className>
        <excludes>
          <exclude>**/Jdk14Logger.java</exclude>
        </excludes>
      </sourceModification>
-->
    </sourceModifications>
    <unitTest>
      <includes>
        <include>org/apache/commons/logging/SimpleLogTestCase.java</include>
      </includes>
    </unitTest>
  </build>
  
</project>
