From 22254aa7f0c7f2d4ec435282e0d2cd09386c8f20 Mon Sep 17 00:00:00 2001 From: marko-bekhta Date: Thu, 25 Sep 2025 12:08:18 +0200 Subject: [PATCH 1/2] HSEARCH-5486 Stage documentation and javadocs to projectroot/target/staging-deploy/documentation --- distribution/pom.xml | 35 +++++++++++++++++++++++++ distribution/src/main/assembly/docs.xml | 28 ++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 distribution/src/main/assembly/docs.xml diff --git a/distribution/pom.xml b/distribution/pom.xml index 4e59a39226a..03bccece8eb 100644 --- a/distribution/pom.xml +++ b/distribution/pom.xml @@ -206,4 +206,39 @@ + + + + release + + ${rootProject.directory}/target/staging-deploy/ + + + + + org.apache.maven.plugins + maven-assembly-plugin + + + ${basedir}/src/main/assembly/docs.xml + + false + documentation + posix + ${documentation.staging.dir} + + + + stage-documentation + install + + single + + + + + + + + diff --git a/distribution/src/main/assembly/docs.xml b/distribution/src/main/assembly/docs.xml new file mode 100644 index 00000000000..665e19e55a4 --- /dev/null +++ b/distribution/src/main/assembly/docs.xml @@ -0,0 +1,28 @@ + + + + + docs + + dir + + + . + + + + + target/site/apidocs + api + + + ../documentation/target/dist + . + + + + + From 8f01be23bae7b2146052968c0715d64339206206 Mon Sep 17 00:00:00 2001 From: marko-bekhta Date: Thu, 25 Sep 2025 12:09:42 +0200 Subject: [PATCH 2/2] HSEARCH-5486 Include the in.relation.to keys for publishing --- ci/release/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/release/Jenkinsfile b/ci/release/Jenkinsfile index b9cef215b8c..b1cb311201a 100644 --- a/ci/release/Jenkinsfile +++ b/ci/release/Jenkinsfile @@ -74,7 +74,7 @@ pipeline { string(credentialsId: 'release.gpg.passphrase', variable: 'JRELEASER_GPG_PASSPHRASE'), usernamePassword(credentialsId: 'central.sonatype.com', passwordVariable: 'JRELEASER_MAVENCENTRAL_TOKEN', usernameVariable: 'JRELEASER_MAVENCENTRAL_USERNAME'), string(credentialsId: 'Hibernate-CI.github.com', variable: 'JRELEASER_GITHUB_TOKEN')]) { - sshagent(['ed25519.Hibernate-CI.github.com', 'hibernate.filemgmt.jboss.org', 'hibernate-ci.frs.sourceforge.net']) { + sshagent(['ed25519.Hibernate-CI.github.com', 'hibernate.filemgmt.jboss.org', 'jenkins.in.relation.to', 'hibernate-ci.frs.sourceforge.net']) { sh 'cat $HOME/.ssh/config' dir('.release/scripts') { sh 'git clone https://github.com/hibernate/hibernate-release-scripts.git .'