Upload pom.xml via GUI

This commit is contained in:
2026-01-28 16:34:08 +00:00
parent 26d1f27f79
commit e2b3abb65d

269
pom.xml
View File

@@ -1,132 +1,137 @@
<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>RealTimeWeather</artifactId> <artifactId>RealTimeWeather</artifactId>
<version>1.2</version> <version>1.4</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>RealTimeWeather</name> <name>RealTimeWeather</name>
<description>MC Plugin: Echtzeit &amp; Wetter synchronisieren</description> <description>MC Plugin: Echtzeit &amp; Wetter synchronisieren</description>
<properties> <properties>
<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>21</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target> <maven.compiler.target>21</maven.compiler.target>
</properties> </properties>
<repositories> <repositories>
<repository> <repository>
<id>spigot-repo</id> <id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url> <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository> </repository>
<repository> <repository>
<id>sonatype</id> <id>sonatype</id>
<url>https://oss.sonatype.org/content/groups/public/</url> <url>https://oss.sonatype.org/content/groups/public/</url>
</repository> </repository>
</repositories> </repositories>
<dependencies> <dependencies>
<!-- Spigot API --> <!-- Spigot API -->
<dependency> <dependency>
<groupId>org.spigotmc</groupId> <groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId> <artifactId>spigot-api</artifactId>
<version>1.21.1-R0.1-SNAPSHOT</version> <version>1.21.1-R0.1-SNAPSHOT</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<!-- JSON library --> <!-- JSON library -->
<dependency> <dependency>
<groupId>org.json</groupId> <groupId>org.json</groupId>
<artifactId>json</artifactId> <artifactId>json</artifactId>
<version>20231013</version> <version>20231013</version>
</dependency> </dependency>
<!-- Adventure API --> <!-- Adventure API (nur für Chat-Nachrichten, NICHT für ActionBar) -->
<dependency> <dependency>
<groupId>net.kyori</groupId> <groupId>net.kyori</groupId>
<artifactId>adventure-api</artifactId> <artifactId>adventure-api</artifactId>
<version>4.17.0</version> <version>4.17.0</version>
</dependency> <scope>compile</scope>
</dependency>
<!-- Adventure Platform Bukkit -->
<dependency> <!-- Adventure Platform Bukkit -->
<groupId>net.kyori</groupId> <dependency>
<artifactId>adventure-platform-bukkit</artifactId> <groupId>net.kyori</groupId>
<version>4.3.3</version> <artifactId>adventure-platform-bukkit</artifactId>
</dependency> <version>4.3.4</version>
<scope>compile</scope>
<!-- bStats Bukkit Library --> </dependency>
<dependency>
<groupId>org.bstats</groupId> <!-- Adventure Text Serializer Legacy -->
<artifactId>bstats-bukkit</artifactId> <dependency>
<version>3.1.0</version> <groupId>net.kyori</groupId>
<scope>compile</scope> <artifactId>adventure-text-serializer-legacy</artifactId>
</dependency> <version>4.17.0</version>
</dependencies> <scope>compile</scope>
</dependency>
<build>
<plugins> <!-- bStats Bukkit Library -->
<plugin> <dependency>
<artifactId>maven-compiler-plugin</artifactId> <groupId>org.bstats</groupId>
<version>3.10.1</version> <artifactId>bstats-bukkit</artifactId>
<configuration> <version>3.1.0</version>
<source>${maven.compiler.source}</source> <scope>compile</scope>
<target>${maven.compiler.target}</target> </dependency>
</configuration> </dependencies>
</plugin>
<build>
<plugin> <plugins>
<groupId>org.apache.maven.plugins</groupId> <plugin>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.4.1</version> <version>3.13.0</version>
<executions> <configuration>
<execution> <source>${maven.compiler.source}</source>
<phase>package</phase> <target>${maven.compiler.target}</target>
<goals><goal>shade</goal></goals> </configuration>
<configuration> </plugin>
<relocations>
<!-- Shade org.json --> <plugin>
<relocation> <groupId>org.apache.maven.plugins</groupId>
<pattern>org.json</pattern> <artifactId>maven-shade-plugin</artifactId>
<shadedPattern>dev.viper.shaded.org.json</shadedPattern> <version>3.5.1</version>
</relocation> <executions>
<!-- Shade Adventure API --> <execution>
<relocation> <phase>package</phase>
<pattern>net.kyori.adventure</pattern> <goals><goal>shade</goal></goals>
<shadedPattern>dev.viper.shaded.net.kyori.adventure</shadedPattern> <configuration>
</relocation> <relocations>
<!-- Shade Adventure Platform Bukkit --> <!-- Shade org.json -->
<relocation> <relocation>
<pattern>net.kyori.platform.bukkit</pattern> <pattern>org.json</pattern>
<shadedPattern>dev.viper.shaded.net.kyori.platform.bukkit</shadedPattern> <shadedPattern>dev.viper.shaded.org.json</shadedPattern>
</relocation> </relocation>
<!-- Shade bStats --> <!-- Shade ALLE Adventure/Kyori Packages zusammen -->
<relocation> <relocation>
<pattern>org.bstats</pattern> <pattern>net.kyori</pattern>
<shadedPattern>dev.viper.shaded.org.bstats</shadedPattern> <shadedPattern>dev.viper.shaded.net.kyori</shadedPattern>
</relocation> </relocation>
</relocations> <!-- Shade bStats -->
<createDependencyReducedPom>false</createDependencyReducedPom> <relocation>
<minimizeJar>true</minimizeJar> <pattern>org.bstats</pattern>
<filters> <shadedPattern>dev.viper.shaded.org.bstats</shadedPattern>
<filter> </relocation>
<artifact>*:*</artifact> </relocations>
<excludes> <createDependencyReducedPom>false</createDependencyReducedPom>
<exclude>META-INF/*.SF</exclude> <minimizeJar>false</minimizeJar>
<exclude>META-INF/*.DSA</exclude> <filters>
<exclude>META-INF/*.RSA</exclude> <filter>
</excludes> <artifact>*:*</artifact>
</filter> <excludes>
</filters> <exclude>META-INF/*.SF</exclude>
</configuration> <exclude>META-INF/*.DSA</exclude>
</execution> <exclude>META-INF/*.RSA</exclude>
</executions> </excludes>
</plugin> </filter>
</plugins> </filters>
</build> </configuration>
</project> </execution>
</executions>
</plugin>
</plugins>
</build>
</project>