Store dependencies in resulting JAR file.
[Sone.git] / pom.xml
1 <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/xsd/maven-4.0.0.xsd">
2         <modelVersion>4.0.0</modelVersion>
3         <groupId>net.pterodactylus</groupId>
4         <artifactId>sone</artifactId>
5         <version>0.0.1-SNAPSHOT</version>
6         <dependencies>
7                 <dependency>
8                         <groupId>net.pterodactylus</groupId>
9                         <artifactId>utils</artifactId>
10                         <version>0.6.2-SNAPSHOT</version>
11                 </dependency>
12                 <dependency>
13                         <groupId>junit</groupId>
14                         <artifactId>junit</artifactId>
15                         <version>3.8.2</version>
16                         <scope>test</scope>
17                 </dependency>
18         </dependencies>
19         <build>
20                 <plugins>
21                         <plugin>
22                                 <groupId>org.apache.maven.plugins</groupId>
23                                 <artifactId>maven-compiler-plugin</artifactId>
24                                 <configuration>
25                                         <source>1.6</source>
26                                         <target>1.6</target>
27                                 </configuration>
28                         </plugin>
29                         <plugin>
30                                 <groupId>org.apache.maven.plugins</groupId>
31                                 <artifactId>maven-jar-plugin</artifactId>
32                                 <configuration>
33                                         <archive>
34                                                 <manifestEntries>
35                                                         <Plugin-Main-Class>net.pterodactylus.sone.main.SonePlugin</Plugin-Main-Class>
36                                                 </manifestEntries>
37                                         </archive>
38                                 </configuration>
39                         </plugin>
40                         <plugin>
41                                 <groupId>org.apache.maven.plugins</groupId>
42                                 <artifactId>maven-assembly-plugin</artifactId>
43                                 <configuration>
44                                         <descriptorRefs>
45                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
46                                         </descriptorRefs>
47                                         <archive>
48                                                 <manifestEntries>
49                                                         <Plugin-Main-Class>net.pterodactylus.sone.main.SonePlugin</Plugin-Main-Class>
50                                                 </manifestEntries>
51                                         </archive>
52                                 </configuration>
53                                 <executions>
54                                         <execution>
55                                                 <id>make-assembly</id>
56                                                 <phase>package</phase>
57                                                 <goals>
58                                                         <goal>single</goal>
59                                                 </goals>
60                                         </execution>
61                                 </executions>
62                         </plugin>
63                 </plugins>
64         </build>
65 </project>