<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>fr.paris.lutece.tools</groupId>
  <artifactId>lutece-parent-pom</artifactId>
  <name>Lutece default project</name>
  <url>http://84.37.50.50/</url> 
  <packaging>pom</packaging>
  <version>0.2</version>
  
  <properties>
	  <serverUrl>84.37.50.50</serverUrl>
	  <jiraBaseUrl>http://${serverUrl}/jira</jiraBaseUrl>
  </properties>
  
  <organization>
    <name>Mairie de Paris</name>
    <url>http://lutece.paris.fr</url>
  </organization>
  
  <issueManagement>
    <system>jira</system>
    <url>${jiraBaseUrl}/</url>
  </issueManagement>
  <ciManagement>
    <system>continuum</system>
    <url>http://${serverUrl}/continuum/</url>
    <notifiers>
    	<notifier>
    		<type>mail</type>
    		<configuration>
    			<address>lutece@paris.fr</address>
    		</configuration>
    	</notifier>
    </notifiers>
  </ciManagement>
    
  <build>
    <sourceDirectory>src/java</sourceDirectory>
	<resources>
		<resource>
			<directory>src/java</directory>
			<excludes>
				<exclude>**/*.java</exclude>
				<exclude>**/.svn/**</exclude>
			</excludes>
		</resource>
	</resources>
    <extensions>
      <extension>
        <groupId>org.apache.maven.wagon</groupId>
        <artifactId>wagon-ssh-external</artifactId>
        <version>1.0-alpha-5</version>
      </extension>
    </extensions>
    <plugins>
      <plugin>
        <groupId>fr.paris.lutece.tools</groupId>
        <artifactId>maven-lutece-plugin</artifactId>
        <extensions>true</extensions>
		<configuration>
        	<localConfDirectory>${localConfDirectory}</localConfDirectory>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-site-plugin</artifactId>
        <configuration>
          <inputEncoding>UTF-8</inputEncoding>
          <outputEncoding>UTF-8</outputEncoding>
          <locales>en,fr</locales>
        </configuration>
      </plugin>
      <plugin>
      	<artifactId>maven-assembly-plugin</artifactId>
      	<configuration>
      		<descriptorSourceDirectory>src/assembly</descriptorSourceDirectory>
      	</configuration>
      </plugin>
    </plugins>
  </build>
  
  <repositories>
    <repository>
      <id>lutece</id>
      <name>luteceRepository</name>
      <url>http://${serverUrl}/maven_repository</url>
    </repository>
  </repositories>
  
  <pluginRepositories>
    <pluginRepository>
      <id>lutece</id>
      <name>luteceRepository</name>
      <url>http://${serverUrl}/maven_repository</url>
    </pluginRepository>
  </pluginRepositories>
  
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
		<configuration>
			<minmemory>128m</minmemory>
			<maxmemory>512m</maxmemory>
		</configuration>
      </plugin>
	  <plugin>
		<groupId>org.apache.maven.plugins</groupId>
		<artifactId>maven-jxr-plugin</artifactId>
		<configuration>
			<outputEncoding>UTF-8</outputEncoding>
		</configuration>
	  </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
		<configuration>
			<minmemory>128m</minmemory>
			<maxmemory>728m</maxmemory>
	        <configLocation>http://fr.lutece.paris.fr/fr/download/lutece_checks.xml</configLocation>
		</configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-pmd-plugin</artifactId>
		<configuration>
			<minmemory>128m</minmemory>
			<maxmemory>512m</maxmemory>
			<targetJdk>1.5</targetJdk>
			<configLocation>http://fr.lutece.paris.fr/fr/download/lutece_PMD.xml</configLocation>
		</configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changes-plugin</artifactId>
        <configuration>
          	<webPassword>${user.webPassword}</webPassword>
           	<webUser>${user.webUser}</webUser>
        </configuration>
        <reportSets>
          <reportSet>
            <reports>
              <report>jira-report</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
    </plugins>
  </reporting>
  
  <distributionManagement>
	<repository>
	  <id>ssh-repository</id>
	  <url>scp://${serverUrl}/opt/lutece/maven_repository</url>
	</repository>
    <snapshotRepository>
      	<uniqueVersion>true</uniqueVersion>
		<id>ssh-repository</id>
		<url>scp://${serverUrl}/opt/lutece/snapshot_repository</url>
	</snapshotRepository>
  </distributionManagement>
</project>