<?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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.maven.it.test-metadata-local-clover</groupId>
  <artifactId>parent</artifactId>
  <version>1.0.0-SNAPSHOT</version>
  <packaging>pom</packaging>
  <modules>
    <module>module1</module>
    <module>module2</module>
  </modules>
  <!-- Elements pour le deploiement dans les repositories Generali -->
  <distributionManagement>
    <repository>
      <id>remote-repo</id>
      <name>Releases Repositorys</name>
      <url>file://${user.dir}/remote-repo</url>
    </repository>
    <snapshotRepository>
      <id>remote-repo</id>
      <name>Snapshots Repository</name>
      <url>file://${user.dir}/remote-repo</url>
    </snapshotRepository>
  </distributionManagement>
  <repositories>
    <repository>
      <id>remote-repo</id>
      <name>Repository for everything</name>
      <url>file://${user.dir}/remote-repo</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </repository>
  </repositories>  
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>com.atlassian.maven.plugins</groupId>
          <artifactId>maven-clover2-plugin</artifactId>
          <version>2.4.3</version>
        </plugin>
      </plugins>
    </pluginManagement>
      <plugins>
        <plugin>
          <groupId>com.atlassian.maven.plugins</groupId>
          <artifactId>maven-clover2-plugin</artifactId>
          <!-- La configuration est heritee du rapport -->
          <executions>
            <execution>
              <phase>pre-site</phase>
              <goals>
                <goal>instrument</goal>
                <goal>aggregate</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
      </plugins>
  </build>
  <reporting>
    <plugins>
      <!-- Code coverage report : Clover sur le serveur -->
      <plugin>
        <groupId>com.atlassian.maven.plugins</groupId>
        <artifactId>maven-clover2-plugin</artifactId>
        <version>2.4.3</version>
      </plugin>
    </plugins>
  </reporting>
</project>