Skip to content

Commit e546d9a

Browse files
authored
Merge pull request #65 from marko-bekhta/build/render-javadocs-for-publishing-to-docs-site
Render HTML javadocs for publishing to docs.hibernate.org
2 parents e82fe86 + 21cbb9d commit e546d9a

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

ci/release/Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ pipeline {
6363
string(credentialsId: 'Hibernate-CI.github.com', variable: 'JRELEASER_GITHUB_TOKEN'),
6464
file(credentialsId: 'release.gpg.private-key', variable: 'RELEASE_GPG_PRIVATE_KEY_PATH'),
6565
string(credentialsId: 'release.gpg.passphrase', variable: 'JRELEASER_GPG_PASSPHRASE')]) {
66-
sshagent(['ed25519.Hibernate-CI.github.com']) {
66+
sshagent(['ed25519.Hibernate-CI.github.com', 'hibernate.filemgmt.jboss.org', 'jenkins.in.relation.to']) {
6767
sh 'mvn -v'
6868
sh 'cat $HOME/.ssh/config'
6969
dir('.release/scripts') {

pom.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1212
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1313

14+
<local.staging.root.directory>${maven.multiModuleProjectDirectory}/target/staging-deploy</local.staging.root.directory>
15+
1416
<develocity-maven-extension.version>2.2</develocity-maven-extension.version>
1517
<!--
1618
When updating maven version:
@@ -213,7 +215,7 @@
213215
</property>
214216
</activation>
215217
<properties>
216-
<altDeploymentRepository>local::file:${maven.multiModuleProjectDirectory}/target/staging-deploy/maven</altDeploymentRepository>
218+
<altDeploymentRepository>local::file:${local.staging.root.directory}/maven</altDeploymentRepository>
217219
</properties>
218220
<build>
219221
<plugins>
@@ -245,7 +247,11 @@
245247
<id>attach-javadocs</id>
246248
<goals>
247249
<goal>jar</goal>
250+
<goal>javadoc</goal>
248251
</goals>
252+
<configuration>
253+
<outputDirectory>${local.staging.root.directory}/documentation/</outputDirectory>
254+
</configuration>
249255
</execution>
250256
</executions>
251257
</plugin>

0 commit comments

Comments
 (0)