org.codehaus.plexus:plexus-velocity provides a ready-configured Apache Velocity engine as an
injectable component, so a Maven plugin can render a template without setting up Velocity itself. It
is a thin wrapper whose changes are mostly Velocity upgrades. User docs are in README.md and
src/site/markdown/index.md.
- CI calls the shared
codehaus-plexus/.githubmaven.yml@masterworkflow, which runsmvn verify javadoc:javadocon JDK 8, 21 and 25 and on Linux, Windows and macOS. - Main code must use the Java 8 API (
javaVersion8 from theplexusparent). - Unit tests use JUnit 5 and live in
src/test/java. - Keep the injectable component working when upgrading Velocity: consumers obtain the engine through
injection (
@Inject), as the README's example shows. The defaults set inDefaultVelocityComponentare documented in the README and on the site page; keep all three in step. - The JAR sets
Automatic-Module-Name: org.codehaus.plexus.velocity; keep that name stable. - Run
mvn spotless:applyon JDK 17 to 21 before pushing; it also formats Markdown, exceptsrc/site/markdown.
A change that users or contributors can notice ships with the documentation it affects, in the same pull request. A refactor with no visible effect needs none.
- A changed default engine property in
DefaultVelocityComponent, or a change toVelocityComponentorVelocityComponentConfigurator: their Javadoc, the "Typical Configuration" section ofsrc/site/markdown/index.mdand the matching section ofREADME.md. src/site/markdown/index.mdis the only site page, listed as Introduction insrc/site/site.xmltogether with the Javadoc; add a menu item there when adding a page.- The Java requirement, or how to build and release:
README.md. - A new convention, build gate or test fixture: this file.