This is an automated email from the ASF dual-hosted git repository.

cstamas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/master by this push:
     new 68693a826f [MNG-8684] Add types for processor annotation path. (#2239)
68693a826f is described below

commit 68693a826fc26d6ace91edc7f3865479620c4cae
Author: Martin Desruisseaux <martin.desruisse...@geomatys.com>
AuthorDate: Fri Apr 11 11:08:20 2025 +0200

    [MNG-8684] Add types for processor annotation path. (#2239)
    
    Fix https://github.com/apache/maven-compiler-plugin/issues/323
    
    ---
    
    https://issues.apache.org/jira/browse/MNG-8684
---
 .../impl/resolver/type/DefaultTypeProvider.java    | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git 
a/impl/maven-impl/src/main/java/org/apache/maven/impl/resolver/type/DefaultTypeProvider.java
 
b/impl/maven-impl/src/main/java/org/apache/maven/impl/resolver/type/DefaultTypeProvider.java
index 2a08b5fa89..9140c0bb79 100644
--- 
a/impl/maven-impl/src/main/java/org/apache/maven/impl/resolver/type/DefaultTypeProvider.java
+++ 
b/impl/maven-impl/src/main/java/org/apache/maven/impl/resolver/type/DefaultTypeProvider.java
@@ -57,6 +57,28 @@ public Collection<DefaultType> types() {
                 new DefaultType(Type.TEST_JAVA_SOURCE, Language.JAVA_FAMILY, 
"jar", "test-sources", false),
                 new DefaultType(Type.MODULAR_JAR, Language.JAVA_FAMILY, "jar", 
null, false, JavaPathType.MODULES),
                 new DefaultType(Type.CLASSPATH_JAR, Language.JAVA_FAMILY, 
"jar", null, false, JavaPathType.CLASSES),
+                new DefaultType(
+                        Type.PROCESSOR,
+                        Language.JAVA_FAMILY,
+                        "jar",
+                        null,
+                        false,
+                        JavaPathType.PROCESSOR_CLASSES,
+                        JavaPathType.PROCESSOR_MODULES),
+                new DefaultType(
+                        Type.CLASSPATH_PROCESSOR,
+                        Language.JAVA_FAMILY,
+                        "jar",
+                        null,
+                        false,
+                        JavaPathType.PROCESSOR_CLASSES),
+                new DefaultType(
+                        Type.MODULAR_PROCESSOR,
+                        Language.JAVA_FAMILY,
+                        "jar",
+                        null,
+                        false,
+                        JavaPathType.PROCESSOR_MODULES),
                 // j2ee types
                 new DefaultType("ejb", Language.JAVA_FAMILY, "jar", null, 
false, JavaPathType.CLASSES),
                 new DefaultType("ejb-client", Language.JAVA_FAMILY, "jar", 
"client", false, JavaPathType.CLASSES),

Reply via email to