This is an automated email from the ASF dual-hosted git repository. pkarwasz pushed a commit to branch main-site-pro in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit e3f7eb6329a21c1f3a4a30a980889d550a3c044a Author: Piotr P. Karwasz <[email protected]> AuthorDate: Wed Feb 19 07:49:29 2025 +0100 Activate `bom` profile in `log4j-bom` Adds a `.logging-parent-bom-activator` file to activate the `bom` profile. --- .logging-parent-bom-activator | 16 ++++++++++++++++ pom.xml | 39 --------------------------------------- 2 files changed, 16 insertions(+), 39 deletions(-) diff --git a/.logging-parent-bom-activator b/.logging-parent-bom-activator new file mode 100644 index 0000000000..e7980a6d13 --- /dev/null +++ b/.logging-parent-bom-activator @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +## +This file activates the `flatten-bom` profile. \ No newline at end of file diff --git a/pom.xml b/pom.xml index 14d5b63960..66b0d9e041 100644 --- a/pom.xml +++ b/pom.xml @@ -578,45 +578,6 @@ <plugins> - <!-- Enable BOM flattening --> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>flatten-maven-plugin</artifactId> - <version>${flatten-maven-plugin.version}</version> - <executions> - <execution> - <id>flatten-revision</id> - <configuration> - <!-- - ~ Flatten Maven Plugin removes the `child.project.url.inherit.append.path` attribute on this POM. - ~ - ~ This causes a difference between the effective model of children built on this POM - ~ and those built on the flattened version. - ~ - ~ Until https://github.com/mojohaus/flatten-maven-plugin/issues/412 we must expand <url> - --> - <pomElements> - <url>expand</url> - </pomElements> - </configuration> - </execution> - <execution> - <id>flatten-bom</id> - <goals> - <goal>flatten</goal> - </goals> - <phase>process-resources</phase> - <inherited>false</inherited> - <configuration> - <pomElements> - <!-- CycloneDX Maven Plugin uses this data --> - <distributionManagement>keep</distributionManagement> - </pomElements> - </configuration> - </execution> - </executions> - </plugin> - <!-- Apache RAT (Release Audit Tool) check to verify licenses. `apache-rat-plugin`: https://creadur.apache.org/rat/apache-rat-plugin/ Release Audit Tool: https://creadur.apache.org/rat/index.html -->
