<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>eu.m724</groupId> <artifactId>realweather</artifactId> <version>0.9-alpha.4-SNAPSHOT</version> <properties> <maven.compiler.source>21</maven.compiler.source> <maven.compiler.target>21</maven.compiler.target> <jarsigner.keystore>${project.basedir}/testkeystore</jarsigner.keystore> <jarsigner.alias>testkey</jarsigner.alias> <jarsigner.storepass>123456</jarsigner.storepass> </properties> <scm> <developerConnection>scm:git:git@git.724.rocks:Minecon724/realweather.git</developerConnection> <tag>HEAD</tag> </scm> <distributionManagement> <repository> <id>724rocks</id> <url>https://git.724.rocks/api/packages/Minecon724/maven</url> </repository> <snapshotRepository> <id>724rocks</id> <url>https://git.724.rocks/api/packages/Minecon724/maven</url> </snapshotRepository> </distributionManagement> <repositories> <repository> <id>spigot-repo</id> <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url> </repository> <repository> <id>724rocks</id> <url>https://git.724.rocks/api/packages/Minecon724/maven</url> </repository> </repositories> <dependencies> <dependency> <groupId>org.spigotmc</groupId> <artifactId>spigot-api</artifactId> <version>1.21-R0.1-SNAPSHOT</version> <scope>provided</scope> </dependency> <dependency> <groupId>eu.m724</groupId> <artifactId>wtapi</artifactId> <version>0.5</version> </dependency> </dependencies> <build> <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> </resource> </resources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>3.0.1</version> <configuration> <allowTimestampedSnapshots>true</allowTimestampedSnapshots> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.6.0</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <artifactSet> <includes> <include>eu.m724:wtapi</include> <!-- <include>org.java-websocket:Java-WebSocket</include> --> </includes> </artifactSet> <filters> <filter> <artifact>eu.m724:*</artifact> <excludes> <exclude>META-INF/MANIFEST.MF</exclude> </excludes> </filter> </filters> <minimizeJar>true</minimizeJar> <createDependencyReducedPom>false</createDependencyReducedPom> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jarsigner-plugin</artifactId> <version>3.0.0</version> <executions> <execution> <id>sign</id> <goals> <goal>sign</goal> </goals> </execution> <execution> <id>verify</id> <goals> <goal>verify</goal> </goals> </execution> </executions> <configuration> <keystore>${jarsigner.keystore}</keystore> <alias>${jarsigner.alias}</alias> <storepass>${jarsigner.storepass}</storepass> </configuration> </plugin> </plugins> </build> </project>