<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>org.ferris</groupId>
  <artifactId>ferris-crypto</artifactId>
  <name>Ferris Crypto</name>
  <version>0.0.1</version>
  <description>
  	The purpose of this project is to provide 
  	fascades over the javax.crypto package.
  </description>
  <url>http://ferris.sourceforge.net/crypto</url>
  <inceptionYear>14-May-2007</inceptionYear>
  <parent>
  	<artifactId>ferris-parent-pom</artifactId>
  	<groupId>org.ferris</groupId>
  	<version>0.0.5</version>
  </parent>
  <build>
    <plugins>
            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
            </plugin>
            
			<plugin>
    			<artifactId>maven-antrun-plugin</artifactId>
    			<executions>
      				<execution>
        				<id>copy-jar-to-target</id>
        				<!-- The phase of the "site" lifecycle -->
        				<phase>site</phase>
        				<!-- The goal of the maven-antrun-plugin I want to run -->
        				<goals>
          					<goal>run</goal>
        				</goals>
        				<!-- The configuration of the goal -->
				        <configuration>
					          <tasks>
					          		<echo>Copy JAR file to site for Applet</echo>
						            <copy 
						            	file="target/${project.artifactId}-${project.version}-jar-with-dependencies.jar" 
						            	tofile="target/site/${project.artifactId}-${project.version}.jar" 
						            />					            
					          </tasks>
				        </configuration>
      				</execution>
    			</executions>    
  			</plugin>
  			
			<plugin>
				<artifactId>maven-assembly-plugin</artifactId>
				<!-- 
				  | This version is required to prevent duplicate 
				  | *.class files from appearing. 
				 -->
				<version>2.2-beta-3</version>
				<executions>
					<execution>
						<id>create-executable-jar</id>
						<phase>package</phase>
						<goals>
							<goal>single</goal>
						</goals>
						<configuration>
							<descriptorRefs>
								<descriptorRef>
								jar-with-dependencies
								</descriptorRef>
							</descriptorRefs>
						</configuration>
					</execution>
				</executions>
			</plugin>  			
  			
        </plugins>
  </build>  
  <dependencies>
  	<dependency>
  		<groupId>junit</groupId>
  		<artifactId>junit</artifactId>
  		<version>4.5</version>
  		<scope>test</scope>
  	</dependency>
  	<dependency>
  		<groupId>log4j</groupId>
  		<artifactId>log4j</artifactId>
  		<version>1.2.13</version>
  	</dependency>
  	<dependency>
  		<groupId>commons-codec</groupId>
  		<artifactId>commons-codec</artifactId>
  		<version>1.3</version>
  	</dependency>
  </dependencies>
</project>