Add assembly plugin to build JAR file with dependencies.
[rhynodge.git] / pom.xml
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         <groupId>net.pterodactylus</groupId>
5         <artifactId>rhynodge</artifactId>
6         <version>0.1</version>
7         <properties>
8                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
9         </properties>
10         <build>
11                 <plugins>
12                         <plugin>
13                                 <groupId>org.codehaus.mojo</groupId>
14                                 <artifactId>findbugs-maven-plugin</artifactId>
15                                 <version>2.5.2</version>
16                                 <configuration>
17                                         <timeout>${findbugs.timeout}</timeout>
18                                 </configuration>
19                         </plugin>
20                         <plugin>
21                                 <artifactId>maven-compiler-plugin</artifactId>
22                                 <version>2.3.2</version>
23                                 <configuration>
24                                         <source>1.6</source>
25                                         <target>1.6</target>
26                                 </configuration>
27                         </plugin>
28                         <plugin>
29                                 <groupId>org.apache.maven.plugins</groupId>
30                                 <artifactId>maven-assembly-plugin</artifactId>
31                                 <version>2.2-beta-5</version>
32                                 <configuration>
33                                         <descriptorRefs>
34                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
35                                         </descriptorRefs>
36                                         <archiverConfig>
37                                                 <duplicateBehavior>skip</duplicateBehavior>
38                                         </archiverConfig>
39                                         <archive>
40                                                 <manifest>
41                                                         <mainClass>net.pterodactylus.rhynodge.engine.Starter</mainClass>
42                                                 </manifest>
43                                         </archive>
44                                 </configuration>
45                                 <executions>
46                                         <execution>
47                                                 <id>make-assembly</id>
48                                                 <phase>package</phase>
49                                                 <goals>
50                                                         <goal>single</goal>
51                                                 </goals>
52                                         </execution>
53                                 </executions>
54                         </plugin>
55                         <plugin>
56                                 <groupId>org.codehaus.mojo</groupId>
57                                 <artifactId>exec-maven-plugin</artifactId>
58                                 <version>1.2.1</version>
59                                 <configuration>
60                                         <mainClass>net.pterodactylus.rhynodge.engine.Starter</mainClass>
61                                 </configuration>
62                         </plugin>
63                 </plugins>
64         </build>
65         <dependencies>
66                 <dependency>
67                         <groupId>com.google.guava</groupId>
68                         <artifactId>guava</artifactId>
69                         <version>14.0-rc1</version>
70                 </dependency>
71                 <dependency>
72                         <groupId>log4j</groupId>
73                         <artifactId>log4j</artifactId>
74                         <version>1.2.17</version>
75                 </dependency>
76                 <dependency>
77                         <groupId>org.apache.httpcomponents</groupId>
78                         <artifactId>httpclient</artifactId>
79                         <version>4.2.2</version>
80                 </dependency>
81                 <dependency>
82                         <groupId>org.jsoup</groupId>
83                         <artifactId>jsoup</artifactId>
84                         <version>1.7.1</version>
85                 </dependency>
86                 <dependency>
87                         <groupId>javax.mail</groupId>
88                         <artifactId>mail</artifactId>
89                         <version>1.4.6-rc1</version>
90                 </dependency>
91                 <dependency>
92                         <groupId>org.apache.commons</groupId>
93                         <artifactId>commons-lang3</artifactId>
94                         <version>3.1</version>
95                 </dependency>
96                 <dependency>
97                         <groupId>com.fasterxml.jackson.core</groupId>
98                         <artifactId>jackson-core</artifactId>
99                         <version>2.1.2</version>
100                 </dependency>
101                 <dependency>
102                         <groupId>com.fasterxml.jackson.core</groupId>
103                         <artifactId>jackson-annotations</artifactId>
104                         <version>2.1.2</version>
105                 </dependency>
106                 <dependency>
107                         <groupId>com.fasterxml.jackson.core</groupId>
108                         <artifactId>jackson-databind</artifactId>
109                         <version>2.1.2</version>
110                 </dependency>
111                 <dependency>
112                         <groupId>com.lexicalscope.jewelcli</groupId>
113                         <artifactId>jewelcli</artifactId>
114                         <version>0.8.3</version>
115                 </dependency>
116         </dependencies>
117 </project>