Skip to content

Commit

Permalink
Fix the build to auto-version plugin.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
totemo committed Dec 31, 2018
1 parent a6ac19e commit 5e9c283
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
14 changes: 13 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,19 @@
</properties>

<build>
<finalName>BlockStore</finalName>
<defaultGoal>clean package</defaultGoal>
<finalName>BlockStore-${project.version}</finalName>
<resources>
<resource>
<targetPath>.</targetPath>
<filtering>true</filtering>
<directory>${basedir}/src/main/resources/</directory>
<includes>
<include>plugin.yml</include>
<include>config.yml</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -12,4 +12,4 @@ permissions:
blockstore.info:
description: 'Info on the loaded chunk stores'
blockstore.reload:
description: 'Reload the BlockStore config'
description: 'Reload the BlockStore config'

0 comments on commit 5e9c283

Please sign in to comment.