<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.edf.sdin.posteoperateur</groupId>
    <artifactId>consignation-applet</artifactId>
    <version>1.0</version>
    <name>Applet Consignation</name>
    <packaging>jar</packaging>
    <properties>
      <maven.compiler.source>1.5</maven.compiler.source>
      <maven.compiler.target>1.5</maven.compiler.target>
    </properties>
    
    <build>
    
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <version>2.3</version>
		<!-- BUG: exclusion du maven descriptor ne fonctionne pas avec le jar signe... -->
        <configuration>
    		<archive>
	           	<addMavenDescriptor>false</addMavenDescriptor>
	         </archive>
    	</configuration>
		<executions>
          <execution>
	            <goals>
	              <goal>sign</goal>
	            </goals>
	          <configuration>
		          <!--  signature configuration and copy to consignation-webapp -->
				  <keystore>signature/keystore</keystore>
		          <alias>sdin</alias>
		          <storepass>consignation</storepass>
		          <signedjar>../consignation-webapp/WebContent/applet/consignation-applet-signed.jar</signedjar>
				  <verbose>true</verbose>
		          <verify>true</verify>  
	          </configuration>
	      </execution>
        </executions>
      </plugin>
    </plugins>

    </build>
    
    
        
    <dependencies>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.14</version>
        </dependency>
      
	<dependency>
		<groupId>junit</groupId>
		<artifactId>junit</artifactId>
		<version>4.7</version>
		<scope>test</scope>
	</dependency>
    
    <dependency>
	    <groupId>org.apache.httpcomponents</groupId>
	    <artifactId>httpclient</artifactId>
	    <version>4.0.1</version>
	    <scope>compile</scope>
	</dependency>
    
    </dependencies>
    
    
</project>

