aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index 007660d8..5c6b2a71 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,8 @@
<name>Quests</name>
<properties>
- <release.version>${version}</release.version>
+ <release.version>${project.version}</release.version>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
@@ -109,6 +110,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
+ <version>3.8.1</version>
<configuration>
<source>8</source>
<target>8</target>
@@ -118,17 +120,18 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
+ <version>1.8</version>
<executions>
<execution>
<id>replace</id>
<phase>prepare-package</phase>
<configuration>
- <tasks>
+ <target>
<echo message="Bukkit plugin.yml version is: ${release.version}"/>
<replace token="%PLUGIN_VERSION%" value="${release.version}" dir="target/classes">
<include name="**/*.yml"/>
</replace>
- </tasks>
+ </target>
</configuration>
<goals>
<goal>run</goal>