diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8414f50..9b60144 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,9 +38,9 @@ jobs: if [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then dev_version="DEV-$(date -u +%Y%m%d-%H%M)" fi - mvn -B --no-transfer-progress -P'!deploy-live' org.codehaus.mojo:versions-maven-plugin:2.22.0:set \ + mvn -B --no-transfer-progress org.codehaus.mojo:versions-maven-plugin:2.22.0:set \ -DnewVersion="$dev_version" -DgenerateBackupPoms=false - mvn -B --no-transfer-progress -P'!deploy-live' help:evaluate \ + mvn -B --no-transfer-progress help:evaluate \ -Dexpression=project.build.finalName -Doutput="$RUNNER_TEMP/final-name" final_name=$(cat "$RUNNER_TEMP/final-name") [[ "$final_name" =~ ^[A-Za-z0-9][A-Za-z0-9._-]*$ ]] || exit 1 @@ -49,7 +49,7 @@ jobs: echo "jar=target/$final_name.jar" >> "$GITHUB_OUTPUT" - name: Run unit tests and build - run: mvn -B --no-transfer-progress -P'!deploy-live' clean verify -DskipTests=false -Dmaven.test.skip=false + run: mvn -B --no-transfer-progress clean verify -DskipTests=false -Dmaven.test.skip=false - name: Verify runtime JAR env: diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index a8bbeb6..de7cb30 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -64,14 +64,14 @@ jobs: env: TAG: ${{ github.ref_name }} run: | - mvn -B --no-transfer-progress -P'!deploy-live' org.codehaus.mojo:versions-maven-plugin:2.22.0:set \ + mvn -B --no-transfer-progress org.codehaus.mojo:versions-maven-plugin:2.22.0:set \ -DnewVersion="${TAG#v}" -DgenerateBackupPoms=false - mvn -B --no-transfer-progress -P'!deploy-live' help:evaluate \ + mvn -B --no-transfer-progress help:evaluate \ -Dexpression=project.build.finalName -Doutput="$RUNNER_TEMP/final-name" final_name=$(cat "$RUNNER_TEMP/final-name") [[ "$final_name" =~ ^[A-Za-z0-9][A-Za-z0-9._-]*$ ]] || exit 1 echo "jar=target/$final_name.jar" >> "$GITHUB_OUTPUT" - mvn -B --no-transfer-progress -P'!deploy-live' clean verify -DskipTests=false -Dmaven.test.skip=false + mvn -B --no-transfer-progress clean verify -DskipTests=false -Dmaven.test.skip=false - name: Stage only the release JAR env: diff --git a/DEPENDENCIES.md b/DEPENDENCIES.md index 09179ae..7cc3c11 100644 --- a/DEPENDENCIES.md +++ b/DEPENDENCIES.md @@ -46,15 +46,14 @@ Preserve this file with build artifacts and release metadata. To select newer dependency versions locally, run the installer with `--mode latest`, then review and commit the resulting POM changes. CI continues -to use the committed versions. Active providers, including Cooking and -InteractibleFurniture, use stable production releases. +to use the committed versions. Providers use stable production releases. `--maven-repo /path/to/cache` selects an isolated Maven cache. Pass the same path to builds with `-Dmaven.repo.local=/path/to/cache`. ## TLibs source builds -TLibs 2.0.0 uses Maven coordinates `me.plugins:tlibs:2.0.0` and Java API package +TLibs uses Maven coordinates `me.plugins:tlibs` and Java API package `net.tfminecraft.tlibs`. Prepare its declared providers, then build and install: ```sh @@ -62,11 +61,11 @@ python3 tools/install-plugins.py --pom pom.xml --mode pinned mvn clean install ``` -The runtime artifact is `target/tlibs-2.0.0.jar`. Its plugin descriptor receives +The runtime artifact is `target/tlibs-.jar`. Its plugin descriptor receives the Maven version. Build and deploy consumers with matching provider versions. These commands build artifacts; they do not modify a running Minecraft server. Release JAR names use a lowercase alphanumeric plugin name followed by the version. The catalog prefers the canonical filename and accepts only explicitly listed legacy -filenames during migration. Maven coordinates and Bukkit plugin identifiers remain +filenames, for releases published before a rename. Maven coordinates and Bukkit plugin identifiers remain stable; a filename change does not rename a server data directory. diff --git a/RELEASE.md b/RELEASE.md index 220b8a8..47a067e 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -3,9 +3,10 @@ Build from `main` with Java 21 and the dependencies declared in `pom.xml`. See [dependency setup](DEPENDENCIES.md) for source builds and consumer setup. -The release version comes from the POM. A matching numeric `v*` tag runs Maven -verification and packages the runtime JAR, checksums and build metadata into a -draft release. Review those artifacts before publishing. +The release version comes from the `v*` tag. The release workflow sets the +Maven version from the tag without its leading `v`, runs Maven verification and +packages the runtime JAR, checksums and build metadata into a draft release. +Review those artifacts before publishing. Follow the [shared build and release guide](https://github.com/TF-Minecraft/Docs/blob/main/PIPELINES.md) for tagging, dependency access, provenance and validation. Release-specific logs