diff options
Diffstat (limited to 'pom.xml')
| -rw-r--r-- | pom.xml | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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> |
