Skip to content

Rewrite README with usage, status and version guidance - #491

Merged
slachiewicz merged 1 commit into
masterfrom
docs/readme
Aug 8, 2026
Merged

Rewrite README with usage, status and version guidance#491
slachiewicz merged 1 commit into
masterfrom
docs/readme

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Part of codehaus-plexus/.github#58. Same skeleton as the merged pilots.

This repo publishes seven artifacts and the README listed none of them, so a reader had no way to work out which one to depend on. It now has a module table:

Artifact What it is
plexus-compiler-api The Compiler interface — depend on this to write against the API
plexus-compiler-manager Looks up an implementation by id
plexus-compiler-javac The JDK compiler, the default
plexus-compiler-eclipse ECJ
plexus-compiler-javac-errorprone javac with Error Prone
plexus-compiler-aspectj AspectJ
plexus-compiler-csharp C#

It also makes a distinction the old README did not: most people should not depend on these directly. To use a non-default compiler you set <compilerId> on maven-compiler-plugin and add the implementation to that plugin's dependencies. Linked to the Maven page that explains it.

The existing Error Prone pointer and the link to the integration test are kept — both still resolve.

While writing this I first linked …/examples/non-javac-compilers.html, which 404s; the correct URL has no examples/ segment. Both links in the final version are checked.

Ran mvn spotless:apply.

The README was badges, one sentence, and a pointer to the Error Prone
docs. It did not list the modules, so a reader had no way to know which
of the seven artifacts to depend on.

Adds a module table, a dependency snippet for the API, the Java
baseline and documentation links, and explains that consumers normally
select a compiler through maven-compiler-plugin's compilerId rather
than depending on these artifacts directly.

Part of codehaus-plexus/.github#58
@slachiewicz slachiewicz added the maintenance Cleanup, refactoring, internal change label Aug 8, 2026
@slachiewicz
slachiewicz merged commit 9429c82 into master Aug 8, 2026
36 checks passed
@slachiewicz
slachiewicz deleted the docs/readme branch August 8, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Cleanup, refactoring, internal change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant