Upload pom.xml via GUI
This commit is contained in:
175
pom.xml
175
pom.xml
@@ -1,74 +1,101 @@
|
|||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
|
||||||
http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>dev.viper</groupId>
|
<groupId>dev.viper</groupId>
|
||||||
<artifactId>TelegramChatBridge</artifactId>
|
<artifactId>TelegramChatBridge</artifactId>
|
||||||
<version>1.1</version>
|
<version>1.1</version>
|
||||||
|
|
||||||
<name>TelegramChatBridge</name>
|
<name>TelegramChatBridge</name>
|
||||||
<description>Bridge between Minecraft and Telegram chat</description>
|
<description>Bridge between Minecraft and Telegram chat</description>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<java.version>17</java.version>
|
<java.version>17</java.version>
|
||||||
<telegrambots.version>6.5.0</telegrambots.version>
|
<telegrambots.version>6.5.0</telegrambots.version>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<maven.compiler.source>17</maven.compiler.source>
|
<maven.compiler.source>17</maven.compiler.source>
|
||||||
<maven.compiler.target>17</maven.compiler.target>
|
<maven.compiler.target>17</maven.compiler.target>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<repositories>
|
||||||
<!-- Telegram Bots -->
|
<!-- Spigot Repository -->
|
||||||
<dependency>
|
<repository>
|
||||||
<groupId>org.telegram</groupId>
|
<id>spigot-repo</id>
|
||||||
<artifactId>telegrambots</artifactId>
|
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
||||||
<version>${telegrambots.version}</version>
|
</repository>
|
||||||
</dependency>
|
|
||||||
|
<!-- Opencollab Repository (Für GeyserMC / Floodgate) -->
|
||||||
<!-- Bukkit/Spigot API -->
|
<repository>
|
||||||
<dependency>
|
<id>opencollab-snapshot</id>
|
||||||
<groupId>org.spigotmc</groupId>
|
<url>https://repo.opencollab.dev/maven-snapshots/</url>
|
||||||
<artifactId>spigot-api</artifactId>
|
</repository>
|
||||||
<version>1.21.5-R0.1-SNAPSHOT</version>
|
<repository>
|
||||||
<scope>provided</scope>
|
<id>opencollab-releases</id>
|
||||||
</dependency>
|
<url>https://repo.opencollab.dev/maven-releases/</url>
|
||||||
</dependencies>
|
</repository>
|
||||||
|
</repositories>
|
||||||
<build>
|
|
||||||
<plugins>
|
<dependencies>
|
||||||
<!-- Compiler Plugin -->
|
<!-- Telegram Bots API -->
|
||||||
<plugin>
|
<dependency>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.telegram</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>telegrambots</artifactId>
|
||||||
<version>3.10.1</version>
|
<version>${telegrambots.version}</version>
|
||||||
<configuration>
|
</dependency>
|
||||||
<release>17</release>
|
|
||||||
</configuration>
|
<!-- Bukkit/Spigot API -->
|
||||||
</plugin>
|
<dependency>
|
||||||
|
<groupId>org.spigotmc</groupId>
|
||||||
<!-- Shade Plugin: packt Telegram-Bibliothek in die JAR -->
|
<artifactId>spigot-api</artifactId>
|
||||||
<plugin>
|
<version>1.21.1-R0.1-SNAPSHOT</version>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<scope>provided</scope>
|
||||||
<artifactId>maven-shade-plugin</artifactId>
|
</dependency>
|
||||||
<version>3.4.1</version>
|
|
||||||
<executions>
|
<!-- Floodgate API für Bedrock-Support -->
|
||||||
<execution>
|
<dependency>
|
||||||
<phase>package</phase>
|
<groupId>org.geysermc.floodgate</groupId>
|
||||||
<goals><goal>shade</goal></goals>
|
<artifactId>api</artifactId>
|
||||||
<configuration>
|
<version>2.2.2-SNAPSHOT</version>
|
||||||
<minimizeJar>true</minimizeJar>
|
<scope>provided</scope>
|
||||||
<relocations>
|
</dependency>
|
||||||
<relocation>
|
</dependencies>
|
||||||
<pattern>org.telegram</pattern>
|
|
||||||
<shadedPattern>dev.viper.shaded.telegram</shadedPattern>
|
<build>
|
||||||
</relocation>
|
<plugins>
|
||||||
</relocations>
|
<!-- Compiler Plugin -->
|
||||||
</configuration>
|
<plugin>
|
||||||
</execution>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
</executions>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
</plugin>
|
<version>3.10.1</version>
|
||||||
</plugins>
|
<configuration>
|
||||||
</build>
|
<release>17</release>
|
||||||
</project>
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
|
<!-- Shade Plugin: Packt externe Bibliotheken in die JAR -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-shade-plugin</artifactId>
|
||||||
|
<version>3.4.1</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals><goal>shade</goal></goals>
|
||||||
|
<configuration>
|
||||||
|
<minimizeJar>true</minimizeJar>
|
||||||
|
<relocations>
|
||||||
|
<!-- Verschiebt die Telegram-Lib, damit es keine Konflikte gibt -->
|
||||||
|
<relocation>
|
||||||
|
<pattern>org.telegram</pattern>
|
||||||
|
<shadedPattern>dev.viper.shaded.telegram</shadedPattern>
|
||||||
|
</relocation>
|
||||||
|
</relocations>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</project>
|
||||||
Reference in New Issue
Block a user