<?xml version="1.0"?>
<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>proofframework</artifactId>
		<groupId>com.cedricom.preuves</groupId>
		<version>2.0.24</version>
	</parent>

	<organization>
		<name>Cedricom</name>
		<url>http://www.cedricom.fr</url>
	</organization>

	<artifactId>proofexploit</artifactId>
	<packaging>war</packaging>
	<name>proofexploit</name>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</properties>
	<dependencies>
		<dependency>
		  <groupId>com.sun.xml.ws</groupId>
		  <artifactId>jaxws-ri</artifactId>
		  <version>2.3.5</version>
		  <type>pom</type>
		</dependency>
		<dependency>
			<groupId>com.cedricom.preuves</groupId>
			<artifactId>proof</artifactId>
			<version>${project.version}</version>
		</dependency>
		<dependency>
			<groupId>com.cedricom.preuves</groupId>
			<artifactId>proofutils</artifactId>
			<version>${project.version}</version>
		</dependency>
		<dependency>
			<groupId>com.cedricom.preuves</groupId>
			<artifactId>proofclient</artifactId>
  			<version>${project.version}</version>
		</dependency>


			
		<!-- 20220304 BGI : Impossible à updater car il n'existe pas de version plus recentes et partir sur une autre implémentation ne semble pas direct  -->
		<!-- Sert à constituer les pages html -->
		<dependency>
    		<groupId>jstl</groupId>
    		<artifactId>jstl</artifactId>
    		<version>1.2</version>
		</dependency>
		
		<!-- 20220304 BGI : Impossible à updater car il n'existe pas de version plus récente -->
		
		<!-- BGI 2022/12/19 retiré mais les pages html ne sont plus générées correctement
		<dependency>
			<groupId>displaytag</groupId>
			<artifactId>displaytag-export-poi</artifactId>
			<version>1.2</version>
			<exclusions>
				<exclusion>
					<groupId>org.slf4j</groupId>
					<artifactId>jcl104-over-slf4j</artifactId>
				</exclusion>
				<exclusion>
					<groupId>log4j</groupId>
					<artifactId>log4j</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.slf4j</groupId>
					<artifactId>slf4j-log4j12</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		
		-->
		
		<!-- 20220304 BGI : Semble utilisé par org.displaytag.tags dans les pages html (JSP) -->
		<!-- BGI 2022/12/19 retiré en même temps que displaytag mais les pages html ne sont plus générées correctement
		<dependency>
			<groupId>org.apache.directory.studio</groupId>
			<artifactId>org.apache.commons.logging</artifactId>
			<version>1.1.3</version>
		</dependency>
		-->
		
		<!-- https://mvnrepository.com/artifact/commons-collections/commons-collections -->
		<!--  On force la version 3.2.2 car les versions antérieures ont des vulnérabilités -->
		<dependency>
		    <groupId>commons-collections</groupId>
		    <artifactId>commons-collections</artifactId>
		    <version>3.2.2</version>
		</dependency>	
		
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>servlet-api</artifactId>
			<version>2.5</version>
			<scope>provided</scope>
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<!--  Integration a Eclipse -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-eclipse-plugin</artifactId>
				<version>2.4</version>
				<configuration>
					<downloadSources>false</downloadSources>
					<wtpversion>1.5</wtpversion>
				</configuration>
			</plugin>	
			<plugin>
				<artifactId>maven-war-plugin</artifactId>
				<version>2.2</version>
			</plugin>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>${sourceJDK}</source>
					<target>${sourceJDK}</target>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>
