<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-global-pom</artifactId>
  <name>Lutece global pom</name>
  <url>http://dev.lutece.paris.fr/</url> 
  <packaging>pom</packaging>
  <version>1.5</version>
  <licenses>
	  <license>
	    <name>Lutece license</name>
	    <url>../LICENSE.TXT</url>
	    <distribution>repo</distribution>
	  </license>
  </licenses>

  <properties>
	  <serverUrl>dev.lutece.paris.fr</serverUrl>
	  <jiraBaseUrl>http://${serverUrl}/jira</jiraBaseUrl>
	  <organization.logo>http://fr.lutece.paris.fr/fr/images//local/skin/banner.gif</organization.logo>
  </properties>
  
  <organization>
    <name>Mairie de Paris</name>
    <url>http://lutece.paris.fr</url>
  </organization>
  
  <issueManagement>
    <system>jira</system>
    <url>${jiraBaseUrl}/browse/${jiraProjectName}</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>
  	<plugins>
        <plugin>
        <artifactId>maven-site-plugin</artifactId>
        <configuration>
          <inputEncoding>UTF-8</inputEncoding>
          <outputEncoding>UTF-8</outputEncoding>
          <locales>en,fr</locales>
        </configuration>
      </plugin>
  	</plugins>
  </build>    

  <repositories>
    <repository>
      <id>lutece</id>
      <name>luteceRepository</name>
      <url>http://${serverUrl}/maven_repository</url>
      <snapshots>
	      <enabled>false</enabled>
	  </snapshots>
    </repository>
    <repository>
      <id>luteceSnapshot</id>
      <name>luteceSnapshot</name>
      <url>http://${serverUrl}/snapshot_repository</url>
      <snapshots>
      	<enabled>true</enabled>
	  </snapshots>
    </repository>
  </repositories>
  
  <pluginRepositories>
    <pluginRepository>
      <id>lutece</id>
      <name>luteceRepository</name>
      <url>http://${serverUrl}/maven_repository</url>
    </pluginRepository>
  </pluginRepositories>
  
  <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>

  <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-changes-plugin</artifactId>
        <configuration>
          	<webPassword>${user.webPassword}</webPassword>
           	<webUser>${user.webUser}</webUser>
			<component>${jiraComponentId}</component>
        </configuration>
        <reportSets>
          <reportSet>
            <reports>
              <report>jira-report</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
      <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-project-info-reports-plugin</artifactId>
           <reportSets>
              <reportSet>
                 <reports>
                    <report>index</report>
                    <report>summary</report>
                    <report>dependencies</report>
                    <report>cim</report>
                    <report>issue-tracking</report>
                    <report>license</report>
                    <report>scm</report>
                 </reports>
              </reportSet>
           </reportSets>
       </plugin>
    </plugins>
  </reporting>
  
    <scm>
		<connection>scm:svn:http://dev.lutece.paris.fr/svn/lutece/tools/lutece-global-pom/tags/lutece-global-pom-1.5</connection>
		<developerConnection>scm:svn:http://dev.lutece.paris.fr/svn/lutece/tools/lutece-global-pom/tags/lutece-global-pom-1.5</developerConnection>
		<url>scm:svn:http://dev.lutece.paris.fr/viewvc/tools/lutece-global-pom/tags/lutece-global-pom-1.5</url>
	</scm>
  
</project>