File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 9797 </resource >
9898 </resources >
9999 <plugins >
100+ <!-- https://logging.apache.org/log4j/2.x/manual/plugins.html#plugin-registry -->
101+ <!-- needed since log4j 2.25.0 because of DebugLogAppender.java plugin -->
102+ <plugin >
103+ <groupId >org.apache.maven.plugins</groupId >
104+ <artifactId >maven-compiler-plugin</artifactId >
105+ <executions >
106+ <execution >
107+ <id >generate-log4j-plugin-descriptor</id >
108+ <goals >
109+ <goal >compile</goal >
110+ </goals >
111+ <phase >process-classes</phase >
112+ <configuration >
113+ <proc >only</proc >
114+ <annotationProcessorPaths >
115+ <path >
116+ <groupId >org.apache.logging.log4j</groupId >
117+ <artifactId >log4j-core</artifactId >
118+ <version >${log4j2.version} </version >
119+ </path >
120+ </annotationProcessorPaths >
121+ <annotationProcessors >
122+ <processor >org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor</processor >
123+ <processor >org.apache.logging.log4j.core.config.plugins.processor.GraalVmProcessor</processor >
124+ </annotationProcessors >
125+ <compilerArgs >
126+ <arg >-Alog4j.graalvm.groupId=${project.groupId} </arg >
127+ <arg >-Alog4j.graalvm.artifactId=${project.artifactId} </arg >
128+ </compilerArgs >
129+ </configuration >
130+ </execution >
131+ </executions >
132+ </plugin >
100133 <plugin >
101134 <groupId >org.apache.maven.plugins</groupId >
102135 <artifactId >maven-jar-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments