slachiewicz opened a new pull request, #1644:
URL: https://github.com/apache/maven-site/pull/1644
The two mojo samples here declared their parameters with the Maven 2 javadoc
annotations
`@parameter` and `@parameter default-value="…"`. Those stopped being read
when the Maven 2 mojo
extractor was dropped, so a reader copying either sample gets a mojo with no
parameters at all —
on a page whose whole subject is bugs that are hard to spot.
Both are now `@Parameter` / `@Parameter(defaultValue = "…")`. Brace and
paren style in the same three
blocks is brought to what the Maven codebase actually looks like today, so
the samples do not read as
half-modernised. No prose changes, and the two FIXME comments that carry the
point of each section
are untouched.
`${project.reporting.outputDirectory}` is left as it is — this page is a
plain `.md`, not `.md.vm`,
and the published page already shows that literal.
*This change was created with AI assistance.*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]