Skip to content

Commit 11e2ef8

Browse files
committed
Temporarily override Error Prone configuration
1 parent aa5f3ef commit 11e2ef8

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

log4j-samples-graalvm/pom.xml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,40 @@
153153
<build>
154154
<plugins>
155155

156+
<plugin>
157+
<groupId>org.apache.maven.plugins</groupId>
158+
<artifactId>maven-enforcer-plugin</artifactId>
159+
<executions>
160+
<execution>
161+
<id>remove-obsolete-configuration</id>
162+
<goals>
163+
<goal>enforce</goal>
164+
</goals>
165+
<configuration>
166+
<rules>
167+
<requireProperty>
168+
<property>project.parent.version</property>
169+
<regex>12.0.0</regex>
170+
<message>Remove obsolete configurations, see `TODO` comments.</message>
171+
</requireProperty>
172+
</rules>
173+
</configuration>
174+
</execution>
175+
</executions>
176+
</plugin>
177+
178+
<!-- TODO: Remove after `logging-parent` version `12.1.0` is out -->
179+
<plugin>
180+
<groupId>org.apache.maven.plugins</groupId>
181+
<artifactId>maven-compiler-plugin</artifactId>
182+
<configuration>
183+
<compilerArgs combine.children="append">
184+
<!-- Workaround Error Prone breaking change -->
185+
<arg>--should-stop=ifError=FLOW</arg>
186+
</compilerArgs>
187+
</configuration>
188+
</plugin>
189+
156190
<!--
157191
~ Step 0: we add per-profile resource.
158192
-->

0 commit comments

Comments
 (0)