<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.tapestry</groupId>
  <artifactId>tapestry-ioc</artifactId>
  <packaging>jar</packaging>
  <version>5.0.4</version>
  <!-- This should change to tapestry-project -->
  <parent>
    <groupId>org.apache.tapestry</groupId>
    <artifactId>tapestry-project</artifactId>
    <version>5.0.4</version>
    <relativePath>../tapestry-project/pom.xml</relativePath>
  </parent>
  <name>Tapestry Inversion of Control Container</name>
  <inceptionYear>2006</inceptionYear>

  <dependencies>
    <dependency>
      <groupId>jboss</groupId>
      <artifactId>javassist</artifactId>
      <!-- Override parent pom -->
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
    </dependency>
    <!-- Override parent pom: needed at compile time. -->
    <dependency>
      <groupId>org.easymock</groupId>
      <artifactId>easymock</artifactId>
      <scope>provided</scope>
    </dependency>
    <!-- Override parent pom: needed at compile time. -->
    <dependency>
      <groupId>org.testng</groupId>
      <artifactId>testng</artifactId>
      <!-- Looks like if you override scope, you have to provide version (and classifier) as well.
                Or perhaps this has something to do with classifier. -->
      <version>5.1</version>
      <classifier>jdk15</classifier>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-assembly-plugin</artifactId>
      </plugin>
      <!-- This gets the plugin to clean up the cobertura.ser file left
                in the root directory. -->
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>cobertura-maven-plugin</artifactId>
        <version>${cobertura-plugin-version}</version>
        <executions>
          <execution>
            <id>clean</id>
            <goals>
              <goal>clean</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <!-- Had a classloader problem with version 2.0.3 -->
        <!--        <version>2.0</version> -->
        <configuration>
          <!--
                    <tags>
                        <tag>
                            <name>todo</name>
                            <!- - Should be a combinaison of the letters Xaoptcmf - ->
                            <placement>a</placement>
                            <head>To do something:</head>
                        </tag>
                    </tags> -->
          <linksource>true</linksource>
          <links>
            <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
            <link>http://java.sun.com/j2ee/1.4/docs/api/</link>
            <link>http://jakarta.apache.org/commons/logging/apidocs/</link>
          </links>
          <stylesheetfile>${basedir}/src/site/resources/css/jdstyle.css</stylesheetfile>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>cobertura-maven-plugin</artifactId>
        <!-- Version 2.1 is broken. -->
        <version>${cobertura-plugin-version}</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-report-plugin</artifactId>
      </plugin>
    </plugins>
  </reporting>
</project>
