GitHub user THausherr edited a comment on the discussion: 
java.lang.IllegalArgumentException: The `GraalVmProcessor` annotation processor 
is missing the required `log4j.graalvm.groupId` and `log4j.graalvm.artifactId` 
options

I tried the last change with default-compile and now the project that follows 
the problematic project claims that the previous package doesn't exist. I 
looked into the repository directory, the jar files are there, but much 
smaller. It turned out the class files are missing.

```
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <executions>
        <execution>
            <id>default-compile</id>
            <configuration>
                <proc>only</proc>
                <annotationProcessorPaths>
                    <path>
                        <groupId>org.apache.logging.log4j</groupId>
                        <artifactId>log4j-core</artifactId>
                        <version>${log4j2.version}</version>
                    </path>
                </annotationProcessorPaths>
                <annotationProcessors>
                    
<annotationProcessor>org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor</annotationProcessor>
                    
<annotationProcessor>org.apache.logging.log4j.core.config.plugins.processor.GraalVmProcessor</annotationProcessor>
                </annotationProcessors>
                <compilerArgs>
                    <arg>-Alog4j.graalvm.groupId=${project.groupId}</arg>
                    <arg>-Alog4j.graalvm.artifactId=${project.artifactId}</arg>
                </compilerArgs>
            </configuration>
        </execution>
    </executions>
</plugin>
```

GitHub link: 
https://github.com/apache/logging-log4j2/discussions/3755#discussioncomment-13512509

----
This is an automatically sent email for dev@logging.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@logging.apache.org

Reply via email to