mirror of
https://github.com/YouHaveTrouble/YardWatch.git
synced 2026-05-11 22:16:58 +00:00
Refactor plugin.yml and pom.xml to use Maven variables
The plugin.yml and pom.xml files were refactored to utilize Maven variables for elements including project name, version, description, and URL. This simplifies the process of updating these values, as they now only need to be modified in one location. This change enhances maintainability and code readability.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: YardWatch
|
||||
name: '${project.artifactId}'
|
||||
version: '${project.version}'
|
||||
main: me.youhavetrouble.yardwatch.YardWatch
|
||||
api-version: '1.13'
|
||||
@@ -8,5 +8,5 @@ softdepend:
|
||||
- "Towny"
|
||||
authors:
|
||||
- "YouHaveTrouble"
|
||||
description: "Implementation of YardWatchAPI for common protection plugins"
|
||||
website: "https://youhavetrouble.me"
|
||||
description: '${project.description}'
|
||||
website: '${project.url}'
|
||||
|
||||
Reference in New Issue
Block a user