diff options
| author | nicuch <nicuch100@gmail.com> | 2020-01-11 00:30:35 +0200 |
|---|---|---|
| committer | nicuch <nicuch100@gmail.com> | 2020-01-11 00:31:25 +0200 |
| commit | cfb37b97e4c16ce2ce5319f21fa35bf17af746df (patch) | |
| tree | a1fcb1f5ebd66daaa11e73f429926d5a09c4e96c /pom.xml | |
| parent | 505c4b6c6500d233d80c7c58ac08ff8db3e98e5f (diff) | |
Everything
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> |
