Advertisement
Darker666

POM.xml

Mar 16th, 2015
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.13 KB | None | 0 0
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2.  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3.   <modelVersion>4.0.0</modelVersion>
  4.  
  5.  
  6.   <groupId>cz.autoclient</groupId>
  7.   <artifactId>autoclient</artifactId>
  8.   <version>1.0-SNAPSHOT</version>
  9.   <packaging>jar</packaging>
  10.  
  11.   <properties>
  12.     <src.dir>src/</src.dir>
  13.     <test.dir>test/</test.dir>
  14.     <resource.dir>resources/</resource.dir>
  15.     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16.   </properties>
  17.   <build>
  18.     <testSourceDirectory>${test.dir}</testSourceDirectory>
  19.     <sourceDirectory>${src.dir}</sourceDirectory>
  20.     <resources>
  21.       <resource>
  22.         <directory>${resource.dir}</directory>
  23.       </resource>
  24.     </resources>
  25.     <plugins>
  26.       <plugin>
  27.         <groupId>org.apache.maven.plugins</groupId>
  28.         <artifactId>maven-compiler-plugin</artifactId>
  29.         <version>3.2</version>
  30.         <configuration>
  31.           <source>1.8</source>
  32.           <target>1.8</target>
  33.         </configuration>
  34.       </plugin>
  35.       <plugin>
  36.         <groupId>org.apache.maven.plugins</groupId>
  37.         <artifactId>maven-assembly-plugin</artifactId>
  38.         <version>2.2-beta-4</version>
  39.         <configuration>
  40.           <descriptorRefs>
  41.             <descriptorRef>jar-with-dependencies</descriptorRef>
  42.           </descriptorRefs>
  43.           <archive>
  44.             <manifest>
  45.               <mainClass>cz.autoclient.Main</mainClass>
  46.             </manifest>
  47.           </archive>
  48.         </configuration>
  49.         <executions>
  50.           <execution>
  51.             <phase>package</phase>
  52.             <goals>
  53.               <goal>single</goal>
  54.             </goals>
  55.           </execution>
  56.         </executions>
  57.       </plugin>
  58.       <plugin>
  59.         <groupId>org.apache.maven.plugins</groupId>
  60.         <artifactId>maven-jar-plugin</artifactId>
  61.         <version>2.5</version>
  62.         <configuration>
  63.           <archive>
  64.             <manifest>
  65.               <addClasspath>true</addClasspath>
  66.               <classpathPrefix>src/</classpathPrefix>
  67.               <mainClass>cz.autoclient.Main</mainClass>
  68.             </manifest>
  69.           </archive>
  70.           <outputDirectory>${project.build.directory}/</outputDirectory>
  71.         </configuration>
  72.       </plugin>
  73.     </plugins>
  74.  
  75.   </build>
  76.   <name>Auto Client</name>
  77.   <url>http://maven.apache.org</url>
  78.  
  79.  
  80.   <dependencies>
  81.     <dependency>
  82.       <groupId>junit</groupId>
  83.       <artifactId>junit</artifactId>
  84.       <version>3.8.1</version>
  85.       <scope>test</scope>
  86.     </dependency>
  87.     <dependency>
  88.       <groupId>net.java.dev.jna</groupId>
  89.       <artifactId>jna-platform</artifactId>
  90.       <version>4.1.0</version>
  91.     </dependency>
  92.     <dependency>
  93.       <groupId>org.apache.commons</groupId>
  94.       <artifactId>commons-lang3</artifactId>
  95.       <version>3.1</version>
  96.       <type>jar</type>
  97.     </dependency>
  98.     <dependency>
  99.       <groupId>net.sf.opencsv</groupId>
  100.       <artifactId>opencsv</artifactId>
  101.       <version>2.3</version>
  102.     </dependency>
  103.   </dependencies>
  104. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement