From 5e9c283ba1316976da525ae3f9bcbe060f34f811 Mon Sep 17 00:00:00 2001 From: totemo Date: Mon, 31 Dec 2018 18:55:23 +1030 Subject: [PATCH] Fix the build to auto-version plugin.yml. --- pom.xml | 14 +++++++++++++- src/main/resources/plugin.yml | 4 ++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 8804a03..b737dcf 100755 --- a/pom.xml +++ b/pom.xml @@ -16,7 +16,19 @@ - BlockStore + clean package + BlockStore-${project.version} + + + . + true + ${basedir}/src/main/resources/ + + plugin.yml + config.yml + + + org.apache.maven.plugins diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 6ca44dc..a442958 100755 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,7 +1,7 @@ main: net.sothatsit.blockstore.BlockStore author: sothatsit name: BlockStore -version: 1.5.0 +version: ${project.version} soft-depend: [WorldEdit] commands: blockstore: @@ -12,4 +12,4 @@ permissions: blockstore.info: description: 'Info on the loaded chunk stores' blockstore.reload: - description: 'Reload the BlockStore config' \ No newline at end of file + description: 'Reload the BlockStore config'