mirror of
https://github.com/aikar/commands.git
synced 2026-05-31 06:11:55 +00:00
e41d4e507c
This likely wouldn't of broke anyones code, only if they used the Timings method in ACFUtil, but bumping just to be 'good' since it is an API break. If you did not use the Timings in ACFUtil, then you can just bump the version without breakages. Timings is now handled over at https://github.com/aikar/minecraft-timings
118 lines
4.5 KiB
XML
118 lines
4.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ Copyright (c) 2016-2017 Daniel Ennis (Aikar) - MIT License
|
|
~
|
|
~ Permission is hereby granted, free of charge, to any person obtaining
|
|
~ a copy of this software and associated documentation files (the
|
|
~ "Software"), to deal in the Software without restriction, including
|
|
~ without limitation the rights to use, copy, modify, merge, publish,
|
|
~ distribute, sublicense, and/or sell copies of the Software, and to
|
|
~ permit persons to whom the Software is furnished to do so, subject to
|
|
~ the following conditions:
|
|
~
|
|
~ The above copyright notice and this permission notice shall be
|
|
~ included in all copies or substantial portions of the Software.
|
|
~
|
|
~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
~ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
~ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
~ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
~ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
~ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
~ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
-->
|
|
|
|
<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>co.aikar.commands</groupId>
|
|
<artifactId>example-plugin</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>ACFExample</name>
|
|
|
|
<description>Example / Test for ACF</description>
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
<url>https://github.com/aikar/commands</url>
|
|
|
|
<build>
|
|
<finalName>${project.artifactId}</finalName>
|
|
<defaultGoal>clean package</defaultGoal>
|
|
<plugins>
|
|
<plugin>
|
|
<version>3.1</version>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
<compilerArgs>
|
|
<arg>-parameters</arg>
|
|
</compilerArgs>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>2.4.1</version>
|
|
<configuration>
|
|
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>co.aikar.commands</pattern>
|
|
<shadedPattern>com.exampleplugin.acf</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<minimizeJar>true</minimizeJar>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>destroystokyo-repo</id>
|
|
<url>https://repo.destroystokyo.com/repository/maven-public/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>sonatype</id>
|
|
<url>https://oss.sonatype.org/content/groups/public/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.destroystokyo.paper</groupId>
|
|
<artifactId>paper-api</artifactId>
|
|
<version>1.11.2-R0.1-SNAPSHOT</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>co.aikar</groupId>
|
|
<artifactId>acf-core</artifactId>
|
|
<version>0.5.0-SNAPSHOT</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|