🏗 Add Kotlin plugin
[xudocci.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4                  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5         <modelVersion>4.0.0</modelVersion>
6
7         <groupId>net.pterodactylus</groupId>
8         <artifactId>xudocci</artifactId>
9         <version>0.1-SNAPSHOT</version>
10
11         <dependencies>
12                 <dependency>
13                         <groupId>com.google.guava</groupId>
14                         <artifactId>guava</artifactId>
15                         <version>14.0-rc1</version>
16                 </dependency>
17                 <dependency>
18                         <groupId>com.google.inject</groupId>
19                         <artifactId>guice</artifactId>
20                         <version>3.0</version>
21                 </dependency>
22                 <dependency>
23                         <groupId>org.hamcrest</groupId>
24                         <artifactId>hamcrest-all</artifactId>
25                         <version>1.3</version>
26                 </dependency>
27                 <dependency>
28                         <groupId>org.mockito</groupId>
29                         <artifactId>mockito-all</artifactId>
30                         <version>1.9.5</version>
31                         <scope>test</scope>
32                 </dependency>
33                 <dependency>
34                         <groupId>org.codehaus.jackson</groupId>
35                         <artifactId>jackson-mapper-asl</artifactId>
36                         <version>1.9.13</version>
37                 </dependency>
38                 <dependency>
39                         <groupId>org.codehaus.jackson</groupId>
40                         <artifactId>jackson-core-asl</artifactId>
41                         <version>1.9.13</version>
42                 </dependency>
43                 <dependency>
44                         <groupId>junit</groupId>
45                         <artifactId>junit</artifactId>
46                         <version>4.11</version>
47                         <scope>test</scope>
48                 </dependency>
49                 <dependency>
50                         <groupId>com.lexicalscope.jewelcli</groupId>
51                         <artifactId>jewelcli</artifactId>
52                         <version>0.8.3</version>
53                 </dependency>
54                 <dependency>
55                         <groupId>log4j</groupId>
56                         <artifactId>log4j</artifactId>
57                         <version>1.2.17</version>
58                 </dependency>
59                 <dependency>
60                         <groupId>org.jetbrains.kotlin</groupId>
61                         <artifactId>kotlin-stdlib-jdk8</artifactId>
62                         <version>${kotlin.version}</version>
63                 </dependency>
64                 <dependency>
65                         <groupId>org.jetbrains.kotlin</groupId>
66                         <artifactId>kotlin-test-junit</artifactId>
67                         <version>${kotlin.version}</version>
68                         <scope>test</scope>
69                 </dependency>
70         </dependencies>
71
72         <properties>
73                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
74                 <kotlin.version>1.3.72</kotlin.version>
75         </properties>
76
77         <build>
78                 <plugins>
79                         <plugin>
80                                 <groupId>org.jetbrains.kotlin</groupId>
81                                 <artifactId>kotlin-maven-plugin</artifactId>
82                                 <version>${kotlin.version}</version>
83                                 <executions>
84                                         <execution>
85                                                 <id>compile</id>
86                                                 <phase>process-sources</phase>
87                                                 <goals>
88                                                         <goal>compile</goal>
89                                                 </goals>
90                                         </execution>
91                                         <execution>
92                                                 <id>test-compile</id>
93                                                 <phase>test-compile</phase>
94                                                 <goals>
95                                                         <goal>test-compile</goal>
96                                                 </goals>
97                                         </execution>
98                                 </executions>
99                                 <configuration>
100                                         <jvmTarget>1.8</jvmTarget>
101                                 </configuration>
102                         </plugin>
103                         <plugin>
104                                 <groupId>org.apache.maven.plugins</groupId>
105                                 <artifactId>maven-compiler-plugin</artifactId>
106                                 <version>2.0.2</version>
107                                 <executions>
108                                         <execution>
109                                                 <id>compile</id>
110                                                 <phase>compile</phase>
111                                                 <goals>
112                                                         <goal>compile</goal>
113                                                 </goals>
114                                         </execution>
115                                         <execution>
116                                                 <id>testCompile</id>
117                                                 <phase>test-compile</phase>
118                                                 <goals>
119                                                         <goal>testCompile</goal>
120                                                 </goals>
121                                         </execution>
122                                 </executions>
123                                 <configuration>
124                                         <source>1.8</source>
125                                         <target>1.8</target>
126                                         <encoding>UTF-8</encoding>
127                                 </configuration>
128                         </plugin>
129                         <plugin>
130                                 <groupId>org.codehaus.mojo</groupId>
131                                 <artifactId>exec-maven-plugin</artifactId>
132                                 <version>1.2.1</version>
133                                 <configuration>
134                                         <mainClass>net.pterodactylus.xdcc.main.Main</mainClass>
135                                 </configuration>
136                         </plugin>
137                         <plugin>
138                                 <groupId>org.jacoco</groupId>
139                                 <artifactId>jacoco-maven-plugin</artifactId>
140                                 <version>0.7.0.201403182114</version>
141                                 <executions>
142                                         <execution>
143                                                 <id>default-prepare-agent</id>
144                                                 <goals>
145                                                         <goal>prepare-agent</goal>
146                                                 </goals>
147                                         </execution>
148                                         <execution>
149                                                 <id>default-report</id>
150                                                 <phase>prepare-package</phase>
151                                                 <goals>
152                                                         <goal>report</goal>
153                                                 </goals>
154                                         </execution>
155                                         <execution>
156                                                 <id>default-check</id>
157                                                 <goals>
158                                                         <goal>check</goal>
159                                                 </goals>
160                                         </execution>
161                                 </executions>
162                         </plugin>
163                         <plugin>
164                                 <groupId>org.apache.maven.plugins</groupId>
165                                 <artifactId>maven-assembly-plugin</artifactId>
166                                 <version>2.2-beta-5</version>
167                                 <configuration>
168                                         <descriptorRefs>
169                                                 <descriptorRef>jar-with-dependencies</descriptorRef>
170                                         </descriptorRefs>
171                                         <archiverConfig>
172                                                 <duplicateBehavior>skip</duplicateBehavior>
173                                         </archiverConfig>
174                                         <archive>
175                                                 <manifestEntries>
176                                                         <Main-Class>net.pterodactylus.xdcc.main.Main</Main-Class>
177                                                 </manifestEntries>
178                                         </archive>
179                                 </configuration>
180                                 <executions>
181                                         <execution>
182                                                 <id>make-assembly</id>
183                                                 <phase>package</phase>
184                                                 <goals>
185                                                         <goal>single</goal>
186                                                 </goals>
187                                         </execution>
188                                 </executions>
189                         </plugin>
190                 </plugins>
191         </build>
192
193 </project>