Pom cleanup and bumped to v0.5.9

This commit is contained in:
stijnb1234 2020-03-16 10:38:49 +01:00
parent 1f144220a6
commit 764787729b

36
pom.xml
View file

@ -4,8 +4,12 @@
<groupId>nl.SBDeveloper</groupId> <groupId>nl.SBDeveloper</groupId>
<artifactId>V10Lift2</artifactId> <artifactId>V10Lift2</artifactId>
<version>0.5.9</version>
<packaging>jar</packaging>
<name>V10Lift</name> <name>V10Lift</name>
<version>0.5.8</version> <description>Realistic lifts in Minecraft!</description>
<url>sbdplugins.nl</url>
<distributionManagement> <distributionManagement>
<repository> <repository>
@ -15,40 +19,19 @@
</distributionManagement> </distributionManagement>
<properties> <properties>
<maven.compiler.source>1.8</maven.compiler.source> <java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>1.8</maven.compiler.target>
</properties> </properties>
<build> <build>
<defaultGoal>clean package</defaultGoal>
<!-- Include yml files --> <!-- Include yml files -->
<resources> <resources>
<resource> <resource>
<targetPath>.</targetPath>
<filtering>true</filtering>
<directory>src/main/resources</directory> <directory>src/main/resources</directory>
<includes>
<include>plugin.yml</include>
</includes>
</resource>
<resource>
<targetPath>.</targetPath>
<filtering>true</filtering> <filtering>true</filtering>
<directory>src/main/resources</directory>
<includes>
<include>config.yml</include>
</includes>
</resource>
<resource>
<targetPath>.</targetPath>
<filtering>true</filtering>
<directory>src/main/resources</directory>
<includes>
<include>messages.yml</include>
</includes>
</resource> </resource>
</resources> </resources>
<directory>target</directory>
<finalName>V10Lift v${project.version}</finalName> <finalName>V10Lift v${project.version}</finalName>
<plugins> <plugins>
<!-- Clean --> <!-- Clean -->
@ -74,6 +57,9 @@
<goals> <goals>
<goal>shade</goal> <goal>shade</goal>
</goals> </goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
@ -82,6 +68,8 @@
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version> <version>3.8.1</version>
<configuration> <configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<compilerArgument>-parameters</compilerArgument> <compilerArgument>-parameters</compilerArgument>
</configuration> </configuration>
</plugin> </plugin>