<?xml version="1.0" encoding="ISO-8859-1"?>
<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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <artifactId>mojo-parent</artifactId>
        <groupId>org.codehaus.mojo</groupId>
        <version>28</version>
    </parent>

    <artifactId>cobertura-maven-plugin</artifactId>
    <version>2.5</version>
    <packaging>maven-plugin</packaging>

    <name>Mojo's Maven plugin for Cobertura</name>
    <url>http://mojo.codehaus.org/cobertura-maven-plugin/</url>
    <description>This is the Mojo's Maven plugin for Cobertura. Cobertura is a free Java tool that calculates the percentage of code accessed by
    tests. It can be used to identify which parts of your Java program are lacking test coverage.
    </description>
    <inceptionYear>2005</inceptionYear>
    <licenses>
        <license>
            <name>The Apache Software License, Version 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <developers>
        <developer>
            <id>joakime</id>
            <name>Joakim Erdfelt</name>
            <email>joakim@erdfelt.net</email>
            <roles>
                <role>Java Developer</role>
            </roles>
            <timezone>-5</timezone>
        </developer>
        <developer>
            <id>wgwaltney</id>
            <name>Will Gwaltney</name>
            <email>will.gwaltney@sas.com</email>
            <roles>
                <role>Java Developer</role>
            </roles>
        </developer>
        <developer>
            <id>fgiust</id>
            <name>Fabrizio Giustina</name>
            <email>fgiust@apache.org</email>
            <roles>
                <role>Developer</role>
            </roles>
        </developer>
        <developer>
            <id>aheritier</id>
            <name>Arnaud Heritier</name>
            <email>aheritier@apache.org</email>
            <roles>
                <role>Developer</role>
                <role>Despot</role>
            </roles>
            <timezone>+1</timezone>
        </developer>
        <developer>
            <id>rfscholte</id>
            <name>Robert Scholte</name>
            <email>rfscholte@codehaus.org</email>
            <roles>
                <role>Developer</role>
            </roles>
            <timezone>+1</timezone>
        </developer>
        <developer>
            <id>bimargulies</id>
            <name>Benson Margulies</name>
            <email>bimargulies@gmail.com</email>
            <roles>
                <role>Developer</role>
            </roles>
            <timezone>-5</timezone>
        </developer>
    </developers>
    <contributors>
        <contributor>
            <name>James Carpenter</name>
            <email>jcarpenter621@yahoo.com</email>
            <roles>
                <role>Developer</role>
            </roles>
            <timezone>-6</timezone>
        </contributor>
    </contributors>

    <prerequisites>
        <maven>${mavenVersion}</maven>
    </prerequisites>
    
    <scm>
        <connection>scm:svn:http://svn.codehaus.org/mojo/tags/cobertura-maven-plugin-2.5</connection>
        <developerConnection>scm:svn:https://svn.codehaus.org/mojo/tags/cobertura-maven-plugin-2.5</developerConnection>
        <url>http://svn.codehaus.org/mojo/tags/cobertura-maven-plugin-2.5</url>
    </scm>
    <issueManagement>
        <system>JIRA</system>
        <url>http://jira.codehaus.org/browse/MCOBERTURA</url>
    </issueManagement>

    <properties>
      <mavenVersion>2.0.6</mavenVersion>
    </properties>
    <!-- from MSITE-459 -->
    <build>
      <extensions combine.self="override">
	<extension>
	  <groupId>org.apache.maven.wagon</groupId>
	  <artifactId>wagon-webdav-jackrabbit</artifactId>
	  <version>1.0-beta-7</version>
	</extension>
      </extensions>
    </build>
    
    <dependencies>
        <!-- cobertura plugin deps -->
        <dependency>
            <groupId>net.sourceforge.cobertura</groupId>
            <artifactId>cobertura</artifactId>
            <version>1.9.4.1</version>
        </dependency>
        <!--
      runtime has no 3rd party deps.  This allows us to
      pass this dependency into the project's classpath
      at runtime without risk of introducing dep version
      clashes e.g. projects which require an older version of
      asm (namely Hibernate).
    -->
        <dependency>
            <groupId>net.sourceforge.cobertura</groupId>
            <artifactId>cobertura-runtime</artifactId>
            <version>1.9.4.1</version>
            <type>pom</type>
        </dependency>
        <dependency>
            <groupId>urbanophile</groupId>
            <artifactId>java-getopt</artifactId>
            <version>1.0.9</version>
        </dependency>
        <!-- maven plugin deps -->
        <dependency>
            <groupId>org.apache.maven</groupId>
            <artifactId>maven-artifact</artifactId>
            <version>${mavenVersion}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.maven</groupId>
            <artifactId>maven-plugin-api</artifactId>
            <version>${mavenVersion}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.maven.reporting</groupId>
            <artifactId>maven-reporting-api</artifactId>
            <version>${mavenVersion}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.maven</groupId>
            <artifactId>maven-project</artifactId>
            <version>${mavenVersion}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.maven.reporting</groupId>
            <artifactId>maven-reporting-impl</artifactId>
            <version>2.0.4.2</version>
        </dependency>
        <dependency>
            <groupId>commons-lang</groupId>
            <artifactId>commons-lang</artifactId>
            <version>2.4</version>
        </dependency>
        <dependency>
            <groupId>org.codehaus.plexus</groupId>
            <artifactId>plexus-utils</artifactId>
            <version>2.0.2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.maven.shared</groupId>
            <artifactId>maven-invoker</artifactId>
            <version>2.0.11</version>
        </dependency>
        <!-- testing deps -->
        <dependency>
            <groupId>httpunit</groupId>
            <artifactId>httpunit</artifactId>
            <version>1.6.2</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.8.1</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.maven.shared</groupId>
            <artifactId>maven-plugin-testing-harness</artifactId>
            <version>1.1</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
    
    <reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-changes-plugin</artifactId>
                <version>2.4</version>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-project-info-reports-plugin</artifactId>
                <version>2.3.1</version>
            </plugin>
	    <plugin>
	      <artifactId>maven-javadoc-plugin</artifactId>
	      <version>2.7</version>
	      <configuration>
		<quiet>true</quiet>
		<links>
		  <link>http://download-llnw.oracle.com/javase/1.5.0/docs/api/</link>
		  <link>http://commons.apache.org/logging/apidocs/</link>
		  <link>http://commons.apache.org/pool/apidocs/</link>
		  <link>http://junit.sourceforge.net/javadoc/</link>
		  <link>http://velocity.apache.org/engine/releases/velocity-1.5/apidocs/</link>
		  <link>http://maven.apache.org/ref/2.0.6/maven-artifact/apidocs/</link>
		  <link>http://maven.apache.org/ref/2.0.6/maven-artifact-manager/apidocs/</link>
		  <link>http://maven.apache.org/ref/2.0.6/maven-model/apidocs/</link>
		  <link>http://maven.apache.org/ref/2.0.6/maven-plugin-api/apidocs/</link>
		  <link>http://maven.apache.org/ref/2.0.6/maven-project/apidocs/</link>
		  <link>http://maven.apache.org/ref/2.0.6/maven-reporting/maven-reporting-api/apidocs/</link>
		  <link>http://maven.apache.org/ref/2.0.6/maven-settings/apidocs/</link>
		</links>
		<tagletArtifacts>
		  <tagletArtifact>
		    <groupId>org.apache.maven.plugin-tools</groupId>
		    <artifactId>maven-plugin-tools-javadoc</artifactId>
		    <version>2.7</version>
		  </tagletArtifact>
		  <tagletArtifact>
		    <groupId>org.codehaus.plexus</groupId>
		    <artifactId>plexus-component-javadoc</artifactId>
		    <version>1.5.4</version>
		  </tagletArtifact>
		</tagletArtifacts>
	      </configuration>
	      <reportSets>
		<reportSet>
		  <reports>
		    <report>javadoc</report>
		    <report>test-javadoc</report>
		  </reports>
		</reportSet>
	      </reportSets>
	    </plugin>
        </plugins>
    </reporting>
    
    <profiles>
        <profile>
            <id>run-its</id>
            <activation>
                <property>
                    <name>skipTests</name>
                    <value>!true</value>
                </property>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-invoker-plugin</artifactId>
                        <version>1.5</version>
                        <configuration>
                            <debug>true</debug>
                            <projectsDirectory>src/it</projectsDirectory>
                            <postBuildHookScript>verify</postBuildHookScript>
                            <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
                            <goals>
                                <goal>clean</goal>
                                <goal>site</goal>
                            </goals>
                            <settingsFile>src/it/settings.xml</settingsFile>
                            <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
                        </configuration>
                        <executions>
                            <execution>
                                <id>integration-test</id>
                                <goals>
                                    <goal>install</goal>
                                    <goal>run</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>
</project>
