105 lines
3.6 KiB
XML
105 lines
3.6 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<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">
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
|
||
|
<groupId>eu.mikroskeem.bot</groupId>
|
||
|
<artifactId>maerahn</artifactId>
|
||
|
<version>0.0.1-SNAPSHOT</version>
|
||
|
|
||
|
<properties>
|
||
|
<jdk.version>1.8</jdk.version>
|
||
|
<jar.mainclass>eu.mikroskeem.bot.maerahn.Bootstrap</jar.mainclass>
|
||
|
</properties>
|
||
|
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
<version>2.3.2</version>
|
||
|
<configuration>
|
||
|
<source>${jdk.version}</source>
|
||
|
<target>${jdk.version}</target>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
|
||
|
<!-- It's uber jar! -->
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-shade-plugin</artifactId>
|
||
|
<version>2.4.3</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<phase>package</phase>
|
||
|
<goals>
|
||
|
<goal>shade</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<filters>
|
||
|
<filter>
|
||
|
<artifact>*:*</artifact>
|
||
|
<excludes>
|
||
|
<exclude>META-INF/*.SF</exclude>
|
||
|
<exclude>META-INF/*.DSA</exclude>
|
||
|
<exclude>META-INF/*.RSA</exclude>
|
||
|
</excludes>
|
||
|
</filter>
|
||
|
</filters>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
|
||
|
<!-- It's executable jar! -->
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-jar-plugin</artifactId>
|
||
|
<configuration>
|
||
|
<archive>
|
||
|
<manifest>
|
||
|
<mainClass>${jar.mainclass}</mainClass>
|
||
|
</manifest>
|
||
|
</archive>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
<defaultGoal>clean compile package</defaultGoal>
|
||
|
</build>
|
||
|
<repositories>
|
||
|
<repository>
|
||
|
<id>jitpack.io</id>
|
||
|
<url>https://jitpack.io</url>
|
||
|
</repository>
|
||
|
</repositories>
|
||
|
|
||
|
<dependencies>
|
||
|
<!-- Logging -->
|
||
|
<dependency>
|
||
|
<groupId>org.slf4j</groupId>
|
||
|
<artifactId>slf4j-api</artifactId>
|
||
|
<version>1.7.21</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>ch.qos.logback</groupId>
|
||
|
<artifactId>logback-classic</artifactId>
|
||
|
<version>1.1.7</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Lombok -->
|
||
|
<dependency>
|
||
|
<groupId>org.projectlombok</groupId>
|
||
|
<artifactId>lombok</artifactId>
|
||
|
<version>1.16.10</version>
|
||
|
<scope>provided</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Telegram Bot base -->
|
||
|
<dependency>
|
||
|
<groupId>com.github.rubenlagus</groupId>
|
||
|
<artifactId>TelegramBots</artifactId>
|
||
|
<version>v2.3.5</version>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
</project>
|