1 <?xml version="1.0"?>
   2 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
   3          xmlns="http://maven.apache.org/POM/4.0.0"
   4          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   5     <modelVersion>4.0.0</modelVersion>
   6     <groupId>com.oracle.ios</groupId>
   7     <artifactId>ipack</artifactId>
   8     <version>1.0-SNAPSHOT</version>
   9     <name>ipack</name>
  10     <url>http://maven.apache.org</url>
  11     <properties>
  12         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13     </properties>
  14     <dependencies>
  15         <dependency>
  16             <groupId>org.bouncycastle</groupId>
  17             <artifactId>bcprov-jdk15on</artifactId>
  18             <version>1.49</version>
  19         </dependency>
  20         <dependency>
  21             <groupId>org.bouncycastle</groupId>
  22             <artifactId>bcpkix-jdk15on</artifactId>
  23             <version>1.49</version>
  24         </dependency>
  25     </dependencies>
  26     <build>
  27         <plugins>
  28             <plugin>
  29                 <groupId>org.apache.maven.plugins</groupId>
  30                 <artifactId>maven-jar-plugin</artifactId>
  31                 <version>2.4</version>
  32                 <configuration>
  33                     <archive>
  34                         <manifest>
  35                             <addClasspath>true</addClasspath>
  36                             <classpathPrefix>lib/</classpathPrefix>
  37                             <mainClass>com.oracle.ipack.main.Main</mainClass>
  38                         </manifest>
  39                     </archive>
  40                 </configuration>
  41             </plugin>
  42             <plugin>
  43                 <groupId>org.apache.maven.plugins</groupId>
  44                 <artifactId>maven-dependency-plugin</artifactId>
  45                 <version>2.8</version>
  46                 <executions>
  47                     <execution>
  48                         <id>copy-dependencies</id>
  49                         <phase>package</phase>
  50                         <goals>
  51                             <goal>copy-dependencies</goal>
  52                         </goals>
  53                         <configuration>
  54                             <outputDirectory>${project.build.directory}/lib</outputDirectory>
  55                         </configuration>                    
  56                     </execution>
  57                 </executions>
  58             </plugin>
  59         </plugins>
  60     </build>
  61 </project>