This is an automated email from the ASF dual-hosted git repository. pkarwasz pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/logging-log4j-samples.git
commit 11e2ef800aa186bf28d045780dbbcb8d374b2c43 Author: Piotr P. Karwasz <pkarwasz-git...@apache.org> AuthorDate: Tue Apr 1 16:55:01 2025 +0200 Temporarily override Error Prone configuration --- log4j-samples-graalvm/pom.xml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/log4j-samples-graalvm/pom.xml b/log4j-samples-graalvm/pom.xml index 71d1f5a..476db04 100644 --- a/log4j-samples-graalvm/pom.xml +++ b/log4j-samples-graalvm/pom.xml @@ -153,6 +153,40 @@ <build> <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <executions> + <execution> + <id>remove-obsolete-configuration</id> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <requireProperty> + <property>project.parent.version</property> + <regex>12.0.0</regex> + <message>Remove obsolete configurations, see `TODO` comments.</message> + </requireProperty> + </rules> + </configuration> + </execution> + </executions> + </plugin> + + <!-- TODO: Remove after `logging-parent` version `12.1.0` is out --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <compilerArgs combine.children="append"> + <!-- Workaround Error Prone breaking change --> + <arg>--should-stop=ifError=FLOW</arg> + </compilerArgs> + </configuration> + </plugin> + <!-- ~ Step 0: we add per-profile resource. -->