This is an automated email from the ASF dual-hosted git repository.

afs pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git


The following commit(s) were added to refs/heads/main by this push:
     new e1211dbd88 GH-4107: jena-bom altered to include jena artifacts using 
flatten-maven-plugin
e1211dbd88 is described below

commit e1211dbd88649a374fc46cb61efe161b4df1a9f7
Author: Claus Stadler <[email protected]>
AuthorDate: Sat Aug 1 19:04:30 2026 +0200

    GH-4107: jena-bom altered to include jena artifacts using 
flatten-maven-plugin
---
 jena-bom/pom.xml | 31 +++++++++++++++++++++++++++++++
 pom.xml          |  6 ++++++
 2 files changed, 37 insertions(+)

diff --git a/jena-bom/pom.xml b/jena-bom/pom.xml
index c631c3f94a..33c126b9ba 100644
--- a/jena-bom/pom.xml
+++ b/jena-bom/pom.xml
@@ -34,6 +34,37 @@
     <version>6.3.0-SNAPSHOT</version>
   </parent>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>flatten-maven-plugin</artifactId>
+        <configuration>
+          <flattenMode>bom</flattenMode>
+          <pomElements>
+            <properties>remove</properties>
+          </pomElements>
+        </configuration>
+        <executions>
+          <execution>
+            <id>flatten</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>flatten</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>flatten.clean</id>
+            <phase>clean</phase>
+            <goals>
+              <goal>clean</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
   <dependencyManagement>
     <dependencies>
 
diff --git a/pom.xml b/pom.xml
index 7179f8c292..7e0fd1fb29 100644
--- a/pom.xml
+++ b/pom.xml
@@ -138,6 +138,7 @@
     <ver.plugin.enforcer>3.6.3</ver.plugin.enforcer>
     <ver.plugin.cyclonedx>2.9.2</ver.plugin.cyclonedx>
     <ver.plugin.spdx>0.7.0</ver.plugin.spdx>
+    <ver.plugin.flatten>1.8.0</ver.plugin.flatten>
 
   </properties>
 
@@ -1081,6 +1082,11 @@
           <version>${ver.plugin.shade}</version>
         </plugin>
 
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>flatten-maven-plugin</artifactId>
+          <version>${ver.plugin.flatten}</version>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>

Reply via email to