diff --git a/.github/workflows/release-snapshots.yaml b/.github/workflows/release-snapshots.yaml
index 67fc4bf1e2d..6f7457a434c 100644
--- a/.github/workflows/release-snapshots.yaml
+++ b/.github/workflows/release-snapshots.yaml
@@ -29,6 +29,7 @@ on:
env:
MAVEN_ARGS: -B -C -V -ntp -Dhttp.keepAlive=false -e ${{ github.event.inputs.additional_args }}
RELEASE_MAVEN_ARGS: -Prelease -Denforcer.skip=true
+ ALT_DEPLOYMENT_REPOSITORY: -DaltDeploymentRepository=ossrh::default::https://oss.sonatype.org/content/repositories/snapshots/
OSSRHUSERNAME: ${{ secrets.OSSRHUSERNAME }}
OSSRHPASSWORD: ${{ secrets.OSSRHPASSWORD }}
SIGNINGPASSWORD: ${{ secrets.SIGNINGPASSWORD }}
@@ -90,3 +91,8 @@ jobs:
gpg-passphrase: SIGNINGPASSWORD
- name: Build and release Java 11 modules
run: ./mvnw ${MAVEN_ARGS} ${RELEASE_MAVEN_ARGS} -pl "httpclient-jdk" -pl "httpclient-jetty" clean deploy
+ - name: Build and release BOM
+ run: |
+ ./mvnw ${MAVEN_ARGS} ${RELEASE_MAVEN_ARGS} clean sundr:generate-bom &&
+ ./mvnw -f "target/classes/kubernetes-client-bom/pom.xml" clean deploy ${ALT_DEPLOYMENT_REPOSITORY} &&
+ ./mvnw -f "target/classes/kubernetes-client-bom-with-deps/pom.xml" clean deploy ${ALT_DEPLOYMENT_REPOSITORY}
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index fc563b40eb7..f8957615452 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -34,6 +34,7 @@ on:
env:
MAVEN_ARGS: -B -C -V -ntp -Dhttp.keepAlive=false -e ${{ github.event.inputs.additional_args }}
RELEASE_MAVEN_ARGS: -Prelease -DstagingProgressTimeoutMinutes=20
+ ALT_DEPLOYMENT_REPOSITORY: -DaltDeploymentRepository=ossrh::default::https://oss.sonatype.org/service/local/staging/deploy/maven2/
OSSRHUSERNAME: ${{ secrets.OSSRHUSERNAME }}
OSSRHPASSWORD: ${{ secrets.OSSRHPASSWORD }}
SIGNINGPASSWORD: ${{ secrets.SIGNINGPASSWORD }}
@@ -99,3 +100,8 @@ jobs:
gpg-passphrase: SIGNINGPASSWORD
- name: Build and release Java 11 modules
run: ./mvnw ${MAVEN_ARGS} ${RELEASE_MAVEN_ARGS} -pl "httpclient-jdk" -pl "httpclient-jetty" clean deploy
+ - name: Build and release BOM
+ run: |
+ ./mvnw ${MAVEN_ARGS} ${RELEASE_MAVEN_ARGS} clean sundr:generate-bom &&
+ ./mvnw -f "target/classes/kubernetes-client-bom/pom.xml" clean deploy ${ALT_DEPLOYMENT_REPOSITORY} &&
+ ./mvnw -f "target/classes/kubernetes-client-bom-with-deps/pom.xml" clean deploy ${ALT_DEPLOYMENT_REPOSITORY}
diff --git a/pom.xml b/pom.xml
index 57e564a8771..d3b5bae707b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1185,78 +1185,6 @@
-
- io.sundr
- sundr-maven-plugin
- ${sundrio.version}
-
-
-
-
- kubernetes-client-bom
- Fabric8 :: Kubernetes :: Bom
-
- true
- true
-
-
-
- kubernetes-client-bom-with-deps
- Fabric8 :: Kubernetes :: Bom with Dependencies
-
-
- com.squareup*:*
- com.fasterxml.jackson*:*
- io.fabric8:kubernetes-model-core*
- io.fabric8:kubernetes-model-rbac*
- io.fabric8:kubernetes-model-admissionregistration*
- io.fabric8:kubernetes-model-apiextensions*
- io.fabric8:kubernetes-model-apps*
- io.fabric8:kubernetes-model-autoscaling*
- io.fabric8:kubernetes-model-batch*
- io.fabric8:kubernetes-model-certificates*
- io.fabric8:kubernetes-model-coordination*
- io.fabric8:kubernetes-model-discovery*
- io.fabric8:kubernetes-model-events*
- io.fabric8:kubernetes-model-extensions*
- io.fabric8:kubernetes-model-gatewayapi*
- io.fabric8:kubernetes-model-networking*
- io.fabric8:kubernetes-model-node*
- io.fabric8:kubernetes-model-metrics*
- io.fabric8:kubernetes-model-policy*
- io.fabric8:kubernetes-model-scheduling*
- io.fabric8:kubernetes-model-storageclass*
- io.fabric8:kubernetes-model-resource*
- io.fabric8:openshift-model*
-
-
-
- true
- true
-
-
-
-
-
-
-
- generate-bom
-
-
-
-
org.codehaus.mojo
build-helper-maven-plugin
@@ -1477,6 +1405,69 @@
httpclient-jetty
httpclient-tests
+
+
+
+ io.sundr
+ sundr-maven-plugin
+ ${sundrio.version}
+
+
+
+ kubernetes-client-bom
+ Fabric8 :: Kubernetes :: Bom
+
+ true
+ true
+
+
+
+ kubernetes-client-bom-with-deps
+ Fabric8 :: Kubernetes :: Bom with Dependencies
+
+
+ com.squareup*:*
+ com.fasterxml.jackson*:*
+ io.fabric8:kubernetes-model-core*
+ io.fabric8:kubernetes-model-rbac*
+ io.fabric8:kubernetes-model-admissionregistration*
+ io.fabric8:kubernetes-model-apiextensions*
+ io.fabric8:kubernetes-model-apps*
+ io.fabric8:kubernetes-model-autoscaling*
+ io.fabric8:kubernetes-model-batch*
+ io.fabric8:kubernetes-model-certificates*
+ io.fabric8:kubernetes-model-coordination*
+ io.fabric8:kubernetes-model-discovery*
+ io.fabric8:kubernetes-model-events*
+ io.fabric8:kubernetes-model-extensions*
+ io.fabric8:kubernetes-model-gatewayapi*
+ io.fabric8:kubernetes-model-networking*
+ io.fabric8:kubernetes-model-node*
+ io.fabric8:kubernetes-model-metrics*
+ io.fabric8:kubernetes-model-policy*
+ io.fabric8:kubernetes-model-scheduling*
+ io.fabric8:kubernetes-model-storageclass*
+ io.fabric8:kubernetes-model-resource*
+ io.fabric8:openshift-model*
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+ generate-bom
+
+
+
+
+
+
javadoc-test