Skip to content

Add enforceBytecodeVersion to rules index - #983

Merged
slawekjaranowski merged 1 commit into
apache:masterfrom
omribz156:codex/maven-enforcer-bytecode-index
Jul 15, 2026
Merged

slawekjaranowski merged 1 commit into
apache:masterfrom
omribz156:codex/maven-enforcer-bytecode-index

Conversation

@omribz156

@omribz156 omribz156 commented May 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

  • Add the enforceBytecodeVersion rule to the built-in rules index.
  • Link the existing rule page from enforcer-rules/src/site/apt/index.apt.

Fixes #981

Verification:

  • git diff --check (passes; local checkout reports the usual LF-to-CRLF warning)
  • Confirmed enforcer-rules/src/site/apt/enforceBytecodeVersion.apt.vm exists and the index now references enforceBytecodeVersion.html

Template notes:

  • This PR addresses one issue only.
  • No unit tests or integration tests were run because this is a docs-only index link update.
  • I hereby declare this contribution to be licenced under the Apache License Version 2.0, January 2004.

This was implemented with Codex assistance, with the final diff reviewed before posting.

@cstamas
cstamas requested a review from slawekjaranowski May 16, 2026 19:16
@slawekjaranowski

Copy link
Copy Markdown
Member

@omribz156 one sentence from template is important and should not be remove:

I hereby declare this contribution to be licenced under the Apache License Version 2.0, January 2004

you can also build site by: mvn site -P reporting and look at target/site to check generated output

@omribz156

Copy link
Copy Markdown
Contributor Author

Thanks, I updated the PR description to keep the Apache License declaration as the checked template line. I did not run the full site build for this one-line docs index update, but I did verify the referenced page exists and git diff --check passes locally.

@slawekjaranowski
slawekjaranowski merged commit f0a066c into apache:master Jul 15, 2026
17 checks passed
@github-actions

Copy link
Copy Markdown

@slawekjaranowski Please assign appropriate label to PR according to the type of change.

@github-actions github-actions Bot added this to the 3.6.4 milestone Jul 15, 2026
@slawekjaranowski slawekjaranowski added the documentation Improvements or additions to documentation label Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing rule reference from index page

3 participants