Skip to content

Commit 8207636

Browse files
authored
Docs: Generate and publish javadoc (#95)
1 parent e294c2a commit 8207636

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ jobs:
5555
MAVEN_OPTS: -Dhttps.protocols=TLSv1.2 -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.requestSentEnabled=true -Dmaven.wagon.http.retryHandler.count=10
5656
if: ${{ github.event.workflow_run.event=='push' && env.MAVEN_USERNAME!='' && env.MAVEN_PASSWORD!=''}}
5757
run: mvn --batch-mode --errors --update-snapshots -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} deploy --file pom.xml
58+
- name: Build Javadoc
59+
continue-on-error: true
60+
run: mvn javadoc:aggregate -pl '-:openidm-ui,-:openidm-ui-admin' \
61+
-pl '-:openidm-ui-api,-:openidm-ui-common,-:openidm-ui-enduser' \
62+
-pl '-:openidm-zip'
5863
- name: Upload artifacts
5964
uses: actions/upload-artifact@v4
6065
with:
@@ -102,6 +107,8 @@ jobs:
102107
cd doc.openidentityplatform.org
103108
rm -rf ${REPO_NAME_LC}/modules
104109
cp -R ../${SITE_DOC_FOLDER}/target/asciidoc/antora/modules ../doc.openidentityplatform.org/${REPO_NAME_LC}
110+
rm -rf ${REPO_NAME_LC}/apidocs
111+
cp -R ../target/reports/apidocs ../doc.openidentityplatform.org/${REPO_NAME_LC}
105112
git add -A
106113
if ! git diff-index --quiet HEAD; then
107114
echo "committing changes to the docs repository"

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -725,6 +725,7 @@
725725
<artifactId>maven-javadoc-plugin</artifactId>
726726
<configuration>
727727
<doclint>none</doclint>
728+
<notimestamp>true</notimestamp>
728729
</configuration>
729730
<executions>
730731
<execution>

0 commit comments

Comments
 (0)