168 lines
5.1 KiB
XML
168 lines
5.1 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>it.cavallium</groupId>
|
||
|
<artifactId>language-block-bot</artifactId>
|
||
|
<version>1.0.0-SNAPSHOT</version>
|
||
|
|
||
|
<properties>
|
||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
|
||
|
<maven-compiler-plugin.version>3.12.1</maven-compiler-plugin.version>
|
||
|
<maven-shade-plugin.version>3.2.4</maven-shade-plugin.version>
|
||
|
<maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>
|
||
|
</properties>
|
||
|
|
||
|
<repositories>
|
||
|
<repository>
|
||
|
<id>central</id>
|
||
|
<url>https://repo.maven.apache.org/maven2/</url>
|
||
|
</repository>
|
||
|
</repositories>
|
||
|
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.jetbrains</groupId>
|
||
|
<artifactId>annotations</artifactId>
|
||
|
<version>24.1.0</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.slf4j</groupId>
|
||
|
<artifactId>slf4j-api</artifactId>
|
||
|
<version>2.0.12</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.telegram</groupId>
|
||
|
<artifactId>telegrambots-abilities</artifactId>
|
||
|
<version>7.2.1</version>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>org.jetbrains</groupId>
|
||
|
<artifactId>annotations</artifactId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<groupId>org.slf4j</groupId>
|
||
|
<artifactId>slf4j-api</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.telegram</groupId>
|
||
|
<artifactId>telegrambots-longpolling</artifactId>
|
||
|
<version>7.2.1</version>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>org.jetbrains.kotlin</groupId>
|
||
|
<artifactId>kotlin-stdlib-jdk8</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.telegram</groupId>
|
||
|
<artifactId>telegrambots-client</artifactId>
|
||
|
<version>7.2.1</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.github.pemistahl</groupId>
|
||
|
<artifactId>lingua</artifactId>
|
||
|
<version>1.2.2</version>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>com.squareup.okio</groupId>
|
||
|
<artifactId>okio</artifactId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<groupId>org.jetbrains.kotlin</groupId>
|
||
|
<artifactId>kotlin-stdlib</artifactId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<groupId>org.slf4j</groupId>
|
||
|
<artifactId>slf4j-api</artifactId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<groupId>org.jetbrains.kotlin</groupId>
|
||
|
<artifactId>kotlin-stdlib-jdk8</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.slf4j</groupId>
|
||
|
<artifactId>slf4j-jdk14</artifactId>
|
||
|
<version>2.0.12</version>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
<version>${maven-compiler-plugin.version}</version>
|
||
|
<configuration>
|
||
|
<release>21</release>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-shade-plugin</artifactId>
|
||
|
<version>${maven-shade-plugin.version}</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||
|
<version>${maven-surefire-plugin.version}</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||
|
<version>3.0.0-M3</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>enforce</id>
|
||
|
<configuration>
|
||
|
<rules>
|
||
|
<dependencyConvergence/>
|
||
|
</rules>
|
||
|
</configuration>
|
||
|
<goals>
|
||
|
<goal>enforce</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-shade-plugin</artifactId>
|
||
|
<version>3.5.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>
|
||
|
<transformers>
|
||
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
||
|
<mainClass>it.cavallium.languageblockbot.Main</mainClass>
|
||
|
</transformer>
|
||
|
</transformers>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
|
||
|
|
||
|
</project>
|