Skip to content

Commit fc54b74

Browse files
committed
Fix Javadoc generation
1 parent 4ceea12 commit fc54b74

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ci/publish-documentation-to-github-pages.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ MESSAGE=$(git log -1 --pretty=%B)
1212

1313
./mvnw javadoc:javadoc -Dmaven.javadoc.skip=false --no-transfer-progress
1414

15-
if [ -e target/site/apidocs/element-list ]
16-
then cp target/site/apidocs/element-list target/site/apidocs/package-list
15+
if [ -e target/javadoc-bundle-options/element-list ]
16+
then cp target/javadoc-bundle-options/element-list target/reports/apidocs/package-list
1717
fi
1818

1919
RELEASE_VERSION=$(cat pom.xml | grep -oPm1 "(?<=<version>)[^<]+")
@@ -26,7 +26,7 @@ git checkout gh-pages
2626
mkdir -p $RELEASE_VERSION/htmlsingle
2727
cp target/generated-docs/index.html $RELEASE_VERSION/htmlsingle
2828
mkdir -p $RELEASE_VERSION/api
29-
cp -r target/site/apidocs/* $RELEASE_VERSION/api/
29+
cp -r target/reports/apidocs/* $RELEASE_VERSION/api/
3030
git add $RELEASE_VERSION/
3131

3232
if [[ $LATEST == "true" ]]
@@ -44,7 +44,7 @@ if [[ $LATEST == "true" ]]
4444
mkdir -p $DOC_DIR/htmlsingle
4545
cp target/generated-docs/index.html $DOC_DIR/htmlsingle
4646
mkdir -p $DOC_DIR/api
47-
cp -r target/site/apidocs/* $DOC_DIR/api/
47+
cp -r target/reports/apidocs/* $DOC_DIR/api/
4848
git add $DOC_DIR/
4949

5050
fi

0 commit comments

Comments
 (0)