Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Writes a file to signal inject's presence #634

Merged
merged 5 commits into from
Jul 1, 2024

Conversation

SentryMan
Copy link
Collaborator

@SentryMan SentryMan commented Jun 29, 2024

Currently, the only way for annotation processors to directly communicate with each other and maven plugins is by writing files and reading them.

Using Elements or Class.forName to detect other running processors is also unreliable.

This PR enhances the generator to write a marker file in target/avaje-processors.txt that other processors and tools can pick up.

relies on avaje/avaje-prisms#69

@SentryMan SentryMan self-assigned this Jun 30, 2024
@SentryMan SentryMan added the enhancement New feature or request label Jun 30, 2024
@SentryMan SentryMan added this to the 10.0 milestone Jun 30, 2024
@rob-bygrave rob-bygrave merged commit 835acff into avaje:master Jul 1, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants