<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"
>
  <parent>
	  <artifactId>lutece-global-pom</artifactId>
	  <groupId>fr.paris.lutece.tools</groupId>
	  <version>0.7</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>fr.paris.lutece.tools</groupId>
  <artifactId>lutece-parent-pom</artifactId>
  <name>Lutece default project</name>
  <url>http://dev.lutece.paris.fr/</url> 
  <packaging>pom</packaging>
  <version>0.9</version>
  
  <properties>
	  <serverUrl>dev.lutece.paris.fr</serverUrl>
	  <jiraBaseUrl>http://${serverUrl}/jira</jiraBaseUrl>
  </properties>
  
  <organization>
    <name>Mairie de Paris</name>
    <url>http://lutece.paris.fr</url>
  </organization>

  <licenses>
	  <license>
	    <name>Lutece license</name>
	    <url>http://dev.lutece.paris.fr/svn/lutece/tools/lutece-global-pom/tags/0.6/LICENSE.TXT</url>
	    <distribution>repo</distribution>
	  </license>
  </licenses>
  
    <pluginRepositories>
        <pluginRepository>
            <id>apache.snapshots</id>
			<url>http://people.apache.org/maven-snapshot-repository/</url>
        </pluginRepository>
	</pluginRepositories>
	
	<dependencies>
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>servlet-api</artifactId>
			<version>2.4</version>
			<scope>provided</scope>
	    </dependency>
	    <dependency>
	      <groupId>javax.servlet</groupId>
	      <artifactId>jsp-api</artifactId>
	      <version>2.0</version>
				<scope>provided</scope>
	    </dependency>	
	</dependencies>
	
	<build>
		<sourceDirectory>src/java</sourceDirectory>
		<resources>
			<resource>
				<directory>src/java</directory>
				<excludes>
					<exclude>**/*.java</exclude>
					<exclude>**/.svn/**</exclude>
				</excludes>
			</resource>
		</resources>
		<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>
		</plugins>
		<extensions>
			<extension>
				<groupId>fr.paris.lutece.tools</groupId>
				<artifactId>build-tools</artifactId>
				<version>0.1</version>
			</extension>
		</extensions>
	</build>

	<reporting>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-checkstyle-plugin</artifactId>
				<configuration>
					<minmemory>128m</minmemory>
					<maxmemory>728m</maxmemory>
					<configLocation>lutece-parent-pom/lutece_checks.xml</configLocation>
					<headerLocation>lutece-parent-pom/checkstyle-header.txt</headerLocation>
				</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.codehaus.mojo</groupId>
				  <artifactId>jdepend-maven-plugin</artifactId>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-changelog-plugin</artifactId>
				<reportSets>
				  <reportSet>
					<id>dual-report</id>
					<configuration>
					  <type>range</type>
					  <range>30</range>
					</configuration>
					<reports>
					  <report>changelog</report>
					  <report>file-activity</report>			 
					</reports>
				  </reportSet>
				</reportSets>
			</plugin>	    
		</plugins>
  </reporting>
  
  <modules>
	<module>build-tools</module>
  </modules>
  
</project>