mirror of
https://github.com/songoda/EpicHoppers.git
synced 2024-09-27 15:22:38 +02:00
Modernize and clean up pom.xml
and plugin.yml
This commit is contained in:
parent
2a01777ff2
commit
1fc846a241
140
pom.xml
140
pom.xml
@ -1,104 +1,94 @@
|
|||||||
<project xmlns="http://maven.apache.org/POM/4.0.0">
|
<?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>com.songoda</groupId>
|
<groupId>com.songoda</groupId>
|
||||||
<artifactId>EpicHoppers</artifactId>
|
<artifactId>EpicHoppers</artifactId>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
<version>4.7.9</version>
|
<version>4.7.9</version>
|
||||||
<build>
|
|
||||||
<defaultGoal>clean install</defaultGoal>
|
|
||||||
<finalName>EpicHoppers-${project.version}</finalName>
|
|
||||||
|
|
||||||
|
<name>EpicHoppers</name>
|
||||||
|
<description>Connect hoppers over long distances, filter out unwanted items, auto break blocks, auto sell items and much more.</description>
|
||||||
|
<url>https://craftaro.com/marketplace/product/15</url>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<maven.compiler.release>8</maven.compiler.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>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<issueManagement>
|
||||||
|
<url>https://discord.gg/craftaro</url>
|
||||||
|
<system>Discord server</system>
|
||||||
|
</issueManagement>
|
||||||
|
|
||||||
|
<scm>
|
||||||
|
<url>https://github.com/craftaro/EpicHoppers</url>
|
||||||
|
<connection>scm:git:git://github.com/craftaro/EpicHoppers.git</connection>
|
||||||
|
</scm>
|
||||||
|
|
||||||
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
|
||||||
<version>3.8.0</version>
|
|
||||||
|
|
||||||
<configuration>
|
|
||||||
<source>1.8</source>
|
|
||||||
<target>1.8</target>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
|
|
||||||
<plugin>
|
|
||||||
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
|
||||||
<artifactId>replacer</artifactId>
|
|
||||||
<version>1.5.3</version>
|
|
||||||
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<phase>prepare-package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>replace</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
|
|
||||||
<configuration>
|
|
||||||
<file>${project.build.directory}/classes/plugin.yml</file>
|
|
||||||
<replacements>
|
|
||||||
<replacement>
|
|
||||||
<token>maven-version-number</token>
|
|
||||||
<value>${project.version}</value>
|
|
||||||
</replacement>
|
|
||||||
</replacements>
|
|
||||||
</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>
|
||||||
<id>shaded</id>
|
|
||||||
<phase>package</phase>
|
<phase>package</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>shade</goal>
|
<goal>shade</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<shadedArtifactAttached>false</shadedArtifactAttached>
|
<finalName>${project.name}-${project.version}</finalName>
|
||||||
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
||||||
|
|
||||||
<artifactSet>
|
<shadedArtifactAttached>false</shadedArtifactAttached>
|
||||||
<includes>
|
<useDependencyReducedPomInJar>true</useDependencyReducedPomInJar>
|
||||||
<include>com.songoda:SongodaCore</include>
|
<minimizeJar>true</minimizeJar>
|
||||||
</includes>
|
|
||||||
</artifactSet>
|
<relocations>
|
||||||
|
<relocation>
|
||||||
|
<pattern>com.craftaro.core</pattern>
|
||||||
|
<shadedPattern>com.songoda.epichoppers.core</shadedPattern>
|
||||||
|
</relocation>
|
||||||
|
</relocations>
|
||||||
|
|
||||||
<filters>
|
<filters>
|
||||||
<filter>
|
<filter>
|
||||||
<artifact>*:*</artifact>
|
<artifact>*:*</artifact>
|
||||||
|
|
||||||
<excludes>
|
<excludes>
|
||||||
<exclude>META-INF/*.SF</exclude>
|
<exclude>META-INF/**</exclude>
|
||||||
<exclude>META-INF/*.DSA</exclude>
|
<exclude>LICENSE</exclude>
|
||||||
<exclude>META-INF/*.RSA</exclude>
|
<exclude>LICENSE.**</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</filter>
|
</filter>
|
||||||
</filters>
|
</filters>
|
||||||
|
|
||||||
<relocations>
|
|
||||||
<relocation>
|
|
||||||
<pattern>com.songoda.core</pattern>
|
|
||||||
<shadedPattern>${project.groupId}.epichoppers.core</shadedPattern>
|
|
||||||
</relocation>
|
|
||||||
</relocations>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
<filtering>true</filtering>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<pluginRepositories>
|
|
||||||
<pluginRepository>
|
|
||||||
<id>apache.snapshots</id>
|
|
||||||
<url>https://repository.apache.org/snapshots/</url>
|
|
||||||
</pluginRepository>
|
|
||||||
</pluginRepositories>
|
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>craftaro-minecraft-plugins</id>
|
||||||
|
<url>https://repo.craftaro.com/repository/minecraft-plugins/</url>
|
||||||
|
</repository>
|
||||||
|
|
||||||
<repository>
|
<repository>
|
||||||
<id>public</id>
|
<id>public</id>
|
||||||
<url>https://repo.songoda.com/repository/public/</url>
|
<url>https://repo.songoda.com/repository/public/</url>
|
||||||
@ -110,12 +100,19 @@
|
|||||||
</repository>
|
</repository>
|
||||||
|
|
||||||
<repository>
|
<repository>
|
||||||
<id>spigotmc-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>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.songoda</groupId>
|
||||||
|
<artifactId>SongodaCore</artifactId>
|
||||||
|
<version>2.6.20</version>
|
||||||
|
<scope>compile</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.spigotmc</groupId>
|
<groupId>org.spigotmc</groupId>
|
||||||
<artifactId>spigot-api</artifactId>
|
<artifactId>spigot-api</artifactId>
|
||||||
@ -130,13 +127,6 @@
|
|||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.songoda</groupId>
|
|
||||||
<artifactId>SongodaCore</artifactId>
|
|
||||||
<version>2.6.20</version>
|
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.songoda</groupId>
|
<groupId>com.songoda</groupId>
|
||||||
<artifactId>EpicFarming</artifactId>
|
<artifactId>EpicFarming</artifactId>
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
name: EpicHoppers
|
name: ${project.name}
|
||||||
description: EpicHoppers
|
description: ${project.description}
|
||||||
|
version: ${project.version}
|
||||||
|
api-version: 1.13
|
||||||
|
|
||||||
main: com.songoda.epichoppers.EpicHoppers
|
main: com.songoda.epichoppers.EpicHoppers
|
||||||
softdepend:
|
softdepend:
|
||||||
- ASkyBlock
|
|
||||||
- AdvancedChests
|
- AdvancedChests
|
||||||
|
- ASkyBlock
|
||||||
- EconomyShopGUI
|
- EconomyShopGUI
|
||||||
- EconomyShopGUI-Premium
|
- EconomyShopGUI-Premium
|
||||||
- EpicFarming
|
- EpicFarming
|
||||||
@ -16,14 +19,15 @@ softdepend:
|
|||||||
- RedProtect
|
- RedProtect
|
||||||
- Reserve
|
- Reserve
|
||||||
- Towny
|
- Towny
|
||||||
- USkyBlock
|
|
||||||
- UltimateStacker
|
- UltimateStacker
|
||||||
|
- USkyBlock
|
||||||
- Vault
|
- Vault
|
||||||
- WildStacker
|
- WildStacker
|
||||||
- WorldGuard
|
- WorldGuard
|
||||||
version: maven-version-number
|
|
||||||
author: Songoda
|
author: Craftaro
|
||||||
api-version: 1.13
|
website: ${project.url}
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
eh:
|
eh:
|
||||||
description: View information on this plugin.
|
description: View information on this plugin.
|
||||||
|
Loading…
Reference in New Issue
Block a user