build: make the POM standalone, remove dependency on org.metricshub:oss-parent#513
Merged
bertysentry merged 1 commit intoJul 15, 2026
Conversation
…ss-parent Inline everything jawk actually inherited from oss-parent:5 so that all plugin versions and configuration live in this repository and are managed by Dependabot here: - distributionManagement (Maven Central Portal repositories) - maven-artifact-plugin buildinfo execution (reproducible builds) - maven-source-plugin / maven-javadoc-plugin attach executions and the full javadoc configuration (doclint, sourcepath, etc.) - license-maven-plugin header configuration (copyrightOwners, process tags, section delimiter) merged with the local LGPL settings, plus the check-license execution - UTF-8 encoding properties - default-lifecycle plugin versions (compiler, resources, install, deploy) and explicit versions on surefire, failsafe, jar - reporting section: jxr, checkstyle, pmd, javadoc, project-info-reports (same reportSet as before) - maven-central profile (central-publishing-maven-plugin, activated by MAVEN_CENTRAL_TOKEN) and release profile (gpg signing, release plugin) Intentional differences from the inherited build: - checkstyle and pmd now use a shared version property for the build check and the site report, like spotbugs (see #509); this bumps the pmd site report from 3.26.0 to 3.28.0 so it matches the verify-phase check - the changelog report is gone entirely (it was only declared locally to skip the report inherited from the parent) - enforcer/jacoco pluginManagement entries were not carried over: the parent never bound executions for them, so they had no effect Verified with mvn clean verify site (BUILD SUCCESS, same artifacts: jar, sources, javadoc, standalone, buildinfo, full site) and by diffing help:effective-pom before/after, including with -Prelease and MAVEN_CENTRAL_TOKEN set. Closes #512 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #512
What
Removes the
<parent>onorg.metricshub:oss-parent:5and inlines everything jawk actually inherited, so every plugin version and configuration is explicit in this repository and managed by Dependabot here.Inlined from the parent:
distributionManagement, themaven-centralprofile (central-publishing-maven-plugin0.11.0, activated byMAVEN_CENTRAL_TOKEN, withmaven.deploy.skip=true) and thereleaseprofile (maven-gpg-plugin3.2.7 signing,maven-release-plugin3.1.1 withtagNameFormat)maven-source-plugin/maven-javadoc-pluginattach executions, plus the full javadoc configuration (doclint,sourcepath,failOnError, …)maven-artifact-pluginbuildinfo executionlicense-maven-pluginsettings (copyrightOwners, process tags, section delimiter,check-file-headerexecution) merged with the local LGPL configurationIntentional differences from the inherited build:
pluginManagemententries were not carried over — the parent never bound executions for them, so they contributed nothing to the effective build.Verification
mvn clean verify site→ BUILD SUCCESS with the same artifacts as before (jar, sources, javadoc, standalone shaded jar,.buildinfo) and the full site with all reports (checkstyle 3.6.0, pmd/cpd 3.28.0, spotbugs 4.10.3.0, surefire/failsafe, project-info).help:effective-pombefore/after: only the intended differences appear (no parent, pmd report version, dropped changelog/unused pluginManagement entries).-Preleaseand withMAVEN_CENTRAL_TOKENset: gpg signing, release-plugin config,maven.deploy.skip, and the injected central-publishing execution all match the parent-based build.Remaining validation (issue step 5)
The snapshot deploy to the Central Portal runs on push to
main(deploy.yml), so the publishing path gets exercised as soon as this merges — please check that run before cutting the next release.🤖 Generated with Claude Code