🚧 Parse token from DCC SEND
[xudocci.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 4945394..735bee5 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                        <version>4.11</version>
                        <scope>test</scope>
                </dependency>
+               <dependency>
+                       <groupId>com.lexicalscope.jewelcli</groupId>
+                       <artifactId>jewelcli</artifactId>
+                       <version>0.8.3</version>
+               </dependency>
+               <dependency>
+                       <groupId>log4j</groupId>
+                       <artifactId>log4j</artifactId>
+                       <version>1.2.17</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.jetbrains.kotlin</groupId>
+                       <artifactId>kotlin-stdlib-jdk8</artifactId>
+                       <version>${kotlin.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.jetbrains.kotlin</groupId>
+                       <artifactId>kotlin-test-junit</artifactId>
+                       <version>${kotlin.version}</version>
+                       <scope>test</scope>
+               </dependency>
        </dependencies>
 
        <properties>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+               <kotlin.version>1.3.72</kotlin.version>
        </properties>
 
        <build>
                <plugins>
                        <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-compiler-plugin</artifactId>
-                               <version>2.0.2</version>
+                               <groupId>org.jetbrains.kotlin</groupId>
+                               <artifactId>kotlin-maven-plugin</artifactId>
+                               <version>${kotlin.version}</version>
+                               <executions>
+                                       <execution>
+                                               <id>compile</id>
+                                               <phase>process-sources</phase>
+                                               <goals>
+                                                       <goal>compile</goal>
+                                               </goals>
+                                       </execution>
+                                       <execution>
+                                               <id>test-compile</id>
+                                               <phase>test-compile</phase>
+                                               <goals>
+                                                       <goal>test-compile</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
                                <configuration>
-                                       <source>1.6</source>
-                                       <target>1.6</target>
+                                       <jvmTarget>1.8</jvmTarget>
                                </configuration>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-jar-plugin</artifactId>
-                               <version>2.2</version>
+                               <artifactId>maven-compiler-plugin</artifactId>
+                               <version>2.0.2</version>
+                               <executions>
+                                       <execution>
+                                               <id>compile</id>
+                                               <phase>compile</phase>
+                                               <goals>
+                                                       <goal>compile</goal>
+                                               </goals>
+                                       </execution>
+                                       <execution>
+                                               <id>testCompile</id>
+                                               <phase>test-compile</phase>
+                                               <goals>
+                                                       <goal>testCompile</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
                                <configuration>
-                                       <archive>
-                                               <manifestEntries>
-                                                       <Plugin-Main-Class>net.pterodactylus.xdcc.main.Main</Plugin-Main-Class>
-                                               </manifestEntries>
-                                       </archive>
+                                       <source>1.8</source>
+                                       <target>1.8</target>
+                                       <encoding>UTF-8</encoding>
                                </configuration>
                        </plugin>
                        <plugin>
                                        <mainClass>net.pterodactylus.xdcc.main.Main</mainClass>
                                </configuration>
                        </plugin>
+                       <plugin>
+                               <groupId>org.jacoco</groupId>
+                               <artifactId>jacoco-maven-plugin</artifactId>
+                               <version>0.8.5</version>
+                               <executions>
+                                       <execution>
+                                               <id>default-prepare-agent</id>
+                                               <goals>
+                                                       <goal>prepare-agent</goal>
+                                               </goals>
+                                       </execution>
+                                       <execution>
+                                               <id>default-report</id>
+                                               <phase>prepare-package</phase>
+                                               <goals>
+                                                       <goal>report</goal>
+                                               </goals>
+                                       </execution>
+                                       <execution>
+                                               <id>default-check</id>
+                                               <goals>
+                                                       <goal>check</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-assembly-plugin</artifactId>
+                               <version>2.2-beta-5</version>
+                               <configuration>
+                                       <descriptorRefs>
+                                               <descriptorRef>jar-with-dependencies</descriptorRef>
+                                       </descriptorRefs>
+                                       <archiverConfig>
+                                               <duplicateBehavior>skip</duplicateBehavior>
+                                       </archiverConfig>
+                                       <archive>
+                                               <manifestEntries>
+                                                       <Main-Class>net.pterodactylus.xdcc.main.Main</Main-Class>
+                                               </manifestEntries>
+                                       </archive>
+                               </configuration>
+                               <executions>
+                                       <execution>
+                                               <id>make-assembly</id>
+                                               <phase>package</phase>
+                                               <goals>
+                                                       <goal>single</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
                </plugins>
        </build>