Modernize and clean up pom.xml and plugin.yml

This commit is contained in:
Christian Koop 2023-06-26 16:35:39 +02:00
parent 2627d28d8f
commit ec807b493a
No known key found for this signature in database
GPG Key ID: 89A8181384E010A3
2 changed files with 31 additions and 45 deletions

70
pom.xml
View File

@ -9,50 +9,37 @@
<version>4.9.7</version> <version>4.9.7</version>
<name>EpicFurnaces</name> <name>EpicFurnaces</name>
<description>EpicFurnaces</description> <description></description>
<url>https://songoda.com/marketplace/product/22</url> <url>https://craftaro.com/marketplace/product/22</url>
<properties> <properties>
<java.version>1.8</java.version> <maven.compiler.release>8</maven.compiler.release>
<java.release>8</java.release> <maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>
<issueManagement> <issueManagement>
<url>https://support.songoda.com/servicedesk/customer/portal/3</url> <url>https://discord.gg/craftaro</url>
<system>Jira Service Desk</system> <system>Discord server</system>
</issueManagement> </issueManagement>
<scm> <scm>
<url>https://github.com/songoda/EpicFurnaces</url> <url>https://github.com/craftaro/EpicFurnaces</url>
<connection>scm:git:git:github.com/songoda/EpicFurnaces.git</connection> <connection>scm:git:git://github.com/craftaro/EpicFurnaces.git</connection>
</scm> </scm>
<build> <build>
<plugins> <plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<release>${java.release}</release>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>3.3.0</version> <version>3.4.1</version>
<executions> <executions>
<execution> <execution>
<phase>package</phase> <phase>package</phase>
<goals> <goals>
<goal>shade</goal> <goal>shade</goal>
</goals> </goals>
@ -60,12 +47,13 @@
<configuration> <configuration>
<finalName>${project.name}-${project.version}</finalName> <finalName>${project.name}-${project.version}</finalName>
<createDependencyReducedPom>false</createDependencyReducedPom> <shadedArtifactAttached>false</shadedArtifactAttached>
<useDependencyReducedPomInJar>true</useDependencyReducedPomInJar>
<minimizeJar>true</minimizeJar> <minimizeJar>true</minimizeJar>
<relocations> <relocations>
<relocation> <relocation>
<pattern>com.songoda.core</pattern> <pattern>com.craftaro.core</pattern>
<shadedPattern>com.songoda.epicfurnaces.core</shadedPattern> <shadedPattern>com.songoda.epicfurnaces.core</shadedPattern>
</relocation> </relocation>
</relocations> </relocations>
@ -95,33 +83,24 @@
</resources> </resources>
</build> </build>
<pluginRepositories>
<pluginRepository>
<id>apache.snapshots</id>
<url>https://repository.apache.org/snapshots/</url>
</pluginRepository>
</pluginRepositories>
<repositories> <repositories>
<repository> <repository>
<id>spigotmc-repo</id> <id>craftaro-minecraft-plugins</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url> <url>https://repo.craftaro.com/repository/minecraft-plugins/</url>
</repository> </repository>
<repository> <repository>
<id>songoda-public</id> <id>public</id>
<url>https://repo.songoda.com/repository/public/</url> <url>https://repo.songoda.com/repository/public/</url>
</repository> </repository>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
</repositories> </repositories>
<dependencies> <dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.19.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency> <dependency>
<groupId>com.songoda</groupId> <groupId>com.songoda</groupId>
<artifactId>SongodaCore</artifactId> <artifactId>SongodaCore</artifactId>
@ -129,6 +108,13 @@
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.19.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency> <dependency>
<groupId>com.songoda</groupId> <groupId>com.songoda</groupId>
<artifactId>skyblock</artifactId> <artifactId>skyblock</artifactId>

View File

@ -7,6 +7,7 @@ main: com.songoda.epicfurnaces.EpicFurnaces
softdepend: softdepend:
- BentoBox - BentoBox
- DecentHolograms - DecentHolograms
- EpicHoppers
- FabledSkyBlock - FabledSkyBlock
- Factions - Factions
- GriefPrevention - GriefPrevention
@ -15,13 +16,12 @@ softdepend:
- PlotSquared - PlotSquared
- RedProtect - RedProtect
- SkyBlock - SkyBlock
- USkyBlock
- UltimateClaims - UltimateClaims
- USkyBlock
- Vault - Vault
- WorldGuard - WorldGuard
- EpicHoppers
author: Songoda author: Craftaro
website: ${project.url} website: ${project.url}
commands: commands: