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 the generator's presence #254

Merged
merged 6 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 in target/avaje-processors.txt that other processors and tools can pick up.

relies on avaje/avaje-prisms#69

@SentryMan SentryMan added the enhancement New feature or request label Jun 29, 2024
@SentryMan SentryMan added this to the 2.0 milestone Jun 29, 2024
@SentryMan SentryMan requested a review from rbygrave June 29, 2024 14:56
@rob-bygrave rob-bygrave merged commit 9124a96 into avaje:main Jul 1, 2024
5 checks passed
@SentryMan SentryMan deleted the read-file branch July 2, 2024 00:55
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