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


The following commit(s) were added to refs/heads/main by this push:
     new 1bedae2  Bump org.apache.logging:logging-parent from 12.0.0 to 12.1.0 
in /log4j-samples-graalvm (#308)
1bedae2 is described below

commit 1bedae2868af5e4a25ddf62bec768abb638db3b8
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Wed Apr 9 10:50:34 2025 +0200

    Bump org.apache.logging:logging-parent from 12.0.0 to 12.1.0 in 
/log4j-samples-graalvm (#308)
    
    * Bump org.apache.logging:logging-parent in /log4j-samples-graalvm
    
    Bumps 
[org.apache.logging:logging-parent](https://github.com/apache/logging-parent) 
from 12.0.0 to 12.1.0.
    - [Release notes](https://github.com/apache/logging-parent/releases)
    - 
[Commits](https://github.com/apache/logging-parent/compare/rel/12.0.0...rel/12.1.0)
    
    ---
    updated-dependencies:
    - dependency-name: org.apache.logging:logging-parent
      dependency-version: 12.1.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <supp...@github.com>
    
    * Add Apache Snapshots repository
    
    * Remove Error Prone workaround
    
    ---------
    
    Signed-off-by: dependabot[bot] <supp...@github.com>
    Co-authored-by: dependabot[bot] 
<49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Piotr P. Karwasz <pkarwasz-git...@apache.org>
---
 log4j-samples-graalvm/pom.xml | 57 +++++++++++++++----------------------------
 1 file changed, 20 insertions(+), 37 deletions(-)

diff --git a/log4j-samples-graalvm/pom.xml b/log4j-samples-graalvm/pom.xml
index 476db04..f8949c3 100644
--- a/log4j-samples-graalvm/pom.xml
+++ b/log4j-samples-graalvm/pom.xml
@@ -20,7 +20,7 @@
   <parent>
     <groupId>org.apache.logging</groupId>
     <artifactId>logging-parent</artifactId>
-    <version>12.0.0</version>
+    <version>12.1.0</version>
     <relativePath />
   </parent>
 
@@ -150,43 +150,27 @@
 
   </dependencies>
 
+  <repositories>
+    <!--
+      ~ The repository that contains the requested Log4j version.
+      ~
+      ~ By default, we use Apache Snapshots.
+      ~ An alternative repository is defined in the `staging-repo` profile.
+      -->
+    <!-- The repository that contains the requested Log4j version -->
+    <repository>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+      <id>log4j-repo</id>
+      <name>Apache Snapshot Repository</name>
+      <url>https://repository.apache.org/snapshots</url>
+    </repository>
+  </repositories>
+
   <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.
         -->
@@ -674,7 +658,6 @@
       <activation>
         <property>
           <name>log4j.repository.url</name>
-          <value>!</value>
         </property>
       </activation>
 
@@ -693,7 +676,7 @@
           <snapshots>
             <enabled>false</enabled>
           </snapshots>
-          <id>log4j-staging</id>
+          <id>log4j-repo</id>
           <name>Log4j Staging Repository</name>
           <url>${log4j.repository.url}</url>
         </repository>

Reply via email to