Repository navigation
Conversation
…sibling module Adds MavenITgh13911ReactorAnnotationProcessorTest (sequential builder only, as Maven 3.x has no concurrent builder) with a two-module reactor: - processor/ — jar with @Gh13911Generated annotation and processor that writes META-INF/generated-by-gh13911.txt to the class output directory - client/ — jar that declares processor as provided dep and configures it via <annotationProcessorPaths> Companion to apache/maven#13914. Fixes apache/maven#13911 Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
gnodet
force-pushed
the
feat/reactor-ap-it
branch
from
November 9, 2026 12:18
96bd7c0 to
de9115f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add
MavenITgh13911ReactorAnnotationProcessorTestto verify that an annotation processor built from source in the same Maven reactor can be used by a sibling module'scompilephase on Maven 3.10.x.Background
See apache/maven#13914 for the full context. This is the 3.10.x companion to that PR.
Motivated by a report that this scenario didn't work with Maven 3.8.x. This test confirms it works from Maven 3.9.x onwards (3.10.x included), using a
providedPOM dependency for reactor ordering and<annotationProcessorPaths>in maven-compiler-plugin.Test design
Two-module reactor:
processor/— jar with aGh13911Processorthat writesMETA-INF/generated-by-gh13911.txtfor any@Gh13911Generated-annotated typeclient/— jar withprocessoras aprovideddep and<annotationProcessorPaths>config; verifies the marker file exists aftercompileFixes apache/maven#13911
Hermès Agent (Claude Sonnet 4.6) on behalf of Guillaume Nodet