[java-oidfed-common] branch main updated: Some cleaning of POMs and inclusion of a BOM module

Codeberg noreply at shibboleth.net
Tue Sep 1 13:37:29 UTC 2026


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch main
in repository java-oidfed-common.

View the commit online:
https://codeberg.org/Shibboleth/java-oidfed-common/commit/94cfdbe9b284350e4880b973e6fe521427abdaf1

The following commit(s) were added to refs/heads/main by this push:
     new 94cfdbe  Some cleaning of POMs and inclusion of a BOM module
94cfdbe is described below

commit 94cfdbe9b284350e4880b973e6fe521427abdaf1
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Tue Sep 1 16:33:45 2026 +0300

    Some cleaning of POMs and inclusion of a BOM module
    
    - The enforcer 'listJarSources' was set to 'false' (similarly to oidc-common, to avoid "orphaned" warnings about own artifacts)
---
 oidfed-common-bom/pom.xml       | 36 ++++++++++++++++++++++++++++++++++++
 oidfed-common-conf-impl/pom.xml | 27 ---------------------------
 oidfed-common-dist/pom.xml      |  2 +-
 pom.xml                         | 16 +++++++++++++---
 4 files changed, 50 insertions(+), 31 deletions(-)

diff --git a/oidfed-common-bom/pom.xml b/oidfed-common-bom/pom.xml
new file mode 100644
index 0000000..baf18db
--- /dev/null
+++ b/oidfed-common-bom/pom.xml
@@ -0,0 +1,36 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>net.shibboleth.oidfed</groupId>
+        <artifactId>oidfed-common-parent</artifactId>
+        <version>1.0.0-SNAPSHOT</version>
+    </parent>
+    <packaging>pom</packaging>
+
+    <artifactId>oidfed-common-bom</artifactId>
+    <name>Shibboleth IdP :: Plugins :: OpenID Federation Common Library :: BOM</name>
+    <description>Bill of Materials</description>
+
+
+    <dependencyManagement>
+        <dependencies>
+             <dependency>
+                <groupId>${project.groupId}</groupId>
+                <artifactId>oidfed-common-api</artifactId>
+                <version>${project.version}</version>
+             </dependency>
+             <dependency>
+                <groupId>${project.groupId}</groupId>
+                <artifactId>oidfed-common-conf-impl</artifactId>
+                <version>${project.version}</version>
+            </dependency>
+             <dependency>
+                <groupId>${project.groupId}</groupId>
+                <artifactId>oidfed-common-impl</artifactId>
+                <version>${project.version}</version>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+</project>
diff --git a/oidfed-common-conf-impl/pom.xml b/oidfed-common-conf-impl/pom.xml
index 51a3c76..8f7eb07 100644
--- a/oidfed-common-conf-impl/pom.xml
+++ b/oidfed-common-conf-impl/pom.xml
@@ -23,13 +23,11 @@
 	    <dependency>
 	        <groupId>${project.groupId}</groupId>
 	        <artifactId>oidfed-common-api</artifactId>
-	        <version>${project.version}</version>
 	        <scope>provided</scope>
 	    </dependency>
         <dependency>
             <groupId>${project.groupId}</groupId>
             <artifactId>oidfed-common-impl</artifactId>
-            <version>${project.version}</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
@@ -443,31 +441,6 @@
             <artifactId>janino</artifactId>
             <scope>test</scope>
         </dependency>
-        <!-- Spring webflow tests require Junit4, runs in TestNG bridge -->
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>4.13.2</version>
-            <scope>test</scope>
-        </dependency>
-        <!--
-        <dependency>
-            <groupId>com.squareup.okhttp3</groupId>
-            <artifactId>mockwebserver</artifactId>
-            <scope>test</scope>
-            <exclusions>
-                <exclusion>
-                    <groupId>junit</groupId>
-                    <artifactId>junit</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
-            <groupId>com.squareup.okhttp3</groupId>
-            <artifactId>okhttp-tls</artifactId>
-            <scope>test</scope>
-        </dependency>
-        -->
         <dependency>
             <groupId>org.openjdk.nashorn</groupId>
             <artifactId>nashorn-core</artifactId>
diff --git a/oidfed-common-dist/pom.xml b/oidfed-common-dist/pom.xml
index f590506..5fc18dd 100644
--- a/oidfed-common-dist/pom.xml
+++ b/oidfed-common-dist/pom.xml
@@ -72,7 +72,7 @@
                                     <tgzFiles>${project.build.directory}/${dist.plugin.finalName}.tar.gz</tgzFiles>
                                     <checkSignatures>true</checkSignatures>
                                     <checkDependencies>true</checkDependencies>
-                                    <listJarSources>true</listJarSources>
+                                    <listJarSources>false</listJarSources>
                                     <checkM2>${net.shibboleth.maven.enforcer.rules.checkM2}</checkM2>
                                 </jarEnforcer>
                             </rules>
diff --git a/pom.xml b/pom.xml
index 07b43b3..68ee53f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,6 @@
         <oidc-common.groupId>net.shibboleth.oidc</oidc-common.groupId>
         <oidc-common.version>3.4.0-SNAPSHOT</oidc-common.version>
         <oidfed-common.groupId>net.shibboleth.oidfed</oidfed-common.groupId>
-        <oidfed-common.version>1.0.0-SNAPSHOT</oidfed-common.version>
         <shib-shared.groupId>net.shibboleth</shib-shared.groupId>
         <shib-shared.version>9.0.0</shib-shared.version>
         <shib-profile.groupId>net.shibboleth</shib-profile.groupId>
@@ -45,6 +44,7 @@
         <module>oidfed-common-api</module>
         <module>oidfed-common-impl</module>
         <module>oidfed-common-conf-impl</module>
+        <module>oidfed-common-bom</module>
         <module>oidfed-common-dist</module>
     </modules>
 
@@ -75,9 +75,19 @@
         <!-- java-oidfed-common project dependencies -->
         <dependencies>
              <dependency>
-                <groupId>${oidfed-common.groupId}</groupId>
+                <groupId>${project.groupId}</groupId>
                 <artifactId>oidfed-common-api</artifactId>
-                <version>${oidfed-common.version}</version>
+                <version>${project.version}</version>
+             </dependency>
+             <dependency>
+                <groupId>${project.groupId}</groupId>
+                <artifactId>oidfed-common-conf-impl</artifactId>
+                <version>${project.version}</version>
+            </dependency>
+             <dependency>
+                <groupId>${project.groupId}</groupId>
+                <artifactId>oidfed-common-impl</artifactId>
+                <version>${project.version}</version>
             </dependency>
             <!-- OIDC Shared config, which is a runtime dependency to the whole project -->
              <dependency>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list