mirror of
https://github.com/songoda/UltimateModeration.git
synced 2024-11-22 02:08:47 +01:00
Modernize and clean up pom.xml
and plugin.yml
This commit is contained in:
parent
52319a1e19
commit
6953fab6c4
118
pom.xml
118
pom.xml
@ -1,94 +1,86 @@
|
||||
<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>
|
||||
<artifactId>UltimateModeration</artifactId>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<version>2.0.15</version>
|
||||
|
||||
<build>
|
||||
<defaultGoal>clean install</defaultGoal>
|
||||
<finalName>UltimateModeration-${project.version}</finalName>
|
||||
<name>UltimateModeration</name>
|
||||
<description>Take complete control over your server with punishment templates via a simplified yet powerful moderation system</description>
|
||||
<url>https://craftaro.com/marketplace/product/29</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/UltimateModeration</url>
|
||||
<connection>scm:git:git://github.com/craftaro/UltimateModeration.git</connection>
|
||||
</scm>
|
||||
|
||||
<build>
|
||||
<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>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>3.3.0</version>
|
||||
<version>3.4.1</version>
|
||||
|
||||
<executions>
|
||||
<execution>
|
||||
<id>shaded</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
|
||||
<configuration>
|
||||
<finalName>${project.name}-${project.version}</finalName>
|
||||
|
||||
<shadedArtifactAttached>false</shadedArtifactAttached>
|
||||
<createDependencyReducedPom>false</createDependencyReducedPom>
|
||||
|
||||
<artifactSet>
|
||||
<includes>
|
||||
<include>com.songoda:SongodaCore</include>
|
||||
</includes>
|
||||
</artifactSet>
|
||||
|
||||
<filters>
|
||||
<filter>
|
||||
<artifact>*:*</artifact>
|
||||
<excludes>
|
||||
<exclude>META-INF/*.SF</exclude>
|
||||
<exclude>META-INF/*.DSA</exclude>
|
||||
<exclude>META-INF/*.RSA</exclude>
|
||||
</excludes>
|
||||
</filter>
|
||||
</filters>
|
||||
<useDependencyReducedPomInJar>true</useDependencyReducedPomInJar>
|
||||
<minimizeJar>true</minimizeJar>
|
||||
|
||||
<relocations>
|
||||
<relocation>
|
||||
<pattern>com.songoda.core</pattern>
|
||||
<shadedPattern>${project.groupId}.ultimatemoderation.core</shadedPattern>
|
||||
<shadedPattern>com.songoda.ultimatemoderation.core</shadedPattern>
|
||||
</relocation>
|
||||
</relocations>
|
||||
|
||||
<filters>
|
||||
<filter>
|
||||
<artifact>*:*</artifact>
|
||||
|
||||
<excludes>
|
||||
<exclude>META-INF/**</exclude>
|
||||
<exclude>LICENSE</exclude>
|
||||
<exclude>LICENSE.**</exclude>
|
||||
</excludes>
|
||||
</filter>
|
||||
</filters>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
</build>
|
||||
|
||||
<repositories>
|
||||
@ -98,7 +90,7 @@
|
||||
</repository>
|
||||
|
||||
<repository>
|
||||
<id>spigotmc-repo</id>
|
||||
<id>SpigotMC</id>
|
||||
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
|
||||
</repository>
|
||||
|
||||
|
@ -1,94 +1,119 @@
|
||||
name: UltimateModeration
|
||||
description: UltimateModeration
|
||||
main: com.songoda.ultimatemoderation.UltimateModeration
|
||||
version: maven-version-number
|
||||
author: Songoda
|
||||
name: ${project.name}
|
||||
description: ${project.description}
|
||||
version: ${project.version}
|
||||
api-version: 1.13
|
||||
softdepend: [ Vault, FabledSkyBlock ]
|
||||
|
||||
main: com.songoda.ultimatemoderation.UltimateModeration
|
||||
softdepend:
|
||||
- Vault
|
||||
- FabledSkyBlock
|
||||
|
||||
author: Craftaro
|
||||
website: ${project.url}
|
||||
|
||||
commands:
|
||||
UltimateModeration:
|
||||
description: View information on this plugin.
|
||||
default: true
|
||||
aliases: [ um, p ]
|
||||
usage: /um
|
||||
|
||||
ClearChat:
|
||||
description: Clear the chat
|
||||
default: false
|
||||
aliases: [ cc ]
|
||||
usage: /cc
|
||||
|
||||
ToggleChat:
|
||||
description: Toggle chat
|
||||
default: false
|
||||
aliases: [ tc ]
|
||||
usage: /tc
|
||||
|
||||
RandomPlayer:
|
||||
description: Random Player
|
||||
default: false
|
||||
aliases: [ rp ]
|
||||
usage: /rp
|
||||
|
||||
Vanish:
|
||||
description: Vanish
|
||||
default: false
|
||||
aliases: [ v ]
|
||||
usage: /v
|
||||
|
||||
Spy:
|
||||
description: Spy
|
||||
default: false
|
||||
usage: /spy
|
||||
|
||||
Revive:
|
||||
description: Revive
|
||||
default: false
|
||||
usage: /revive
|
||||
|
||||
InvSee:
|
||||
description: InvSee
|
||||
default: false
|
||||
usage: /invsee
|
||||
|
||||
Freeze:
|
||||
description: Freeze
|
||||
default: false
|
||||
usage: /freeze
|
||||
|
||||
ViewEnderChest:
|
||||
description: ViewEnderChest
|
||||
default: false
|
||||
usage: /ViewEnderChest
|
||||
|
||||
Ban:
|
||||
description: Ban
|
||||
default: false
|
||||
usage: /ban
|
||||
|
||||
Unban:
|
||||
description: Unban
|
||||
default: false
|
||||
usage: /unban
|
||||
|
||||
Kick:
|
||||
description: Kick
|
||||
default: false
|
||||
usage: /kick
|
||||
|
||||
Mute:
|
||||
description: Mute
|
||||
default: false
|
||||
usage: /mute
|
||||
|
||||
Unmute:
|
||||
description: Unmute
|
||||
default: false
|
||||
usage: /unmute
|
||||
|
||||
Warn:
|
||||
description: Warn
|
||||
default: false
|
||||
usage: /warn
|
||||
|
||||
RunTemplate:
|
||||
description: RunTemplate
|
||||
default: false
|
||||
usage: /runtemplate
|
||||
|
||||
Ticket:
|
||||
description: Ticket
|
||||
default: false
|
||||
aliases: [ tickets ]
|
||||
usage: /ticket
|
||||
|
||||
StaffChat:
|
||||
description: StaffChat
|
||||
default: false
|
||||
aliases: [ sc ]
|
||||
usage: /staffchat
|
||||
|
||||
SlowMode:
|
||||
description: SlowMode
|
||||
default: false
|
||||
|
Loading…
Reference in New Issue
Block a user