Skip to content

Commit

Permalink
fix javadoc generation (#1120)
Browse files Browse the repository at this point in the history
* fix javadoc generation

Signed-off-by: Gregor Zeitlinger <[email protected]>

* use same javadoc command in pr as for gh pages

Signed-off-by: Gregor Zeitlinger <[email protected]>

* fix javadoc generation

Signed-off-by: Gregor Zeitlinger <[email protected]>

---------

Signed-off-by: Gregor Zeitlinger <[email protected]>
  • Loading branch information
zeitlinger authored Oct 8, 2024
1 parent 09cfddc commit 1fc3825
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
- name: Run the Maven verify phase
run: |
./mvnw clean install
./mvnw javadoc:jar
./mvnw javadoc:javadoc
2 changes: 1 addition & 1 deletion .github/workflows/github-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Make Javadoc
run: ./mvnw -B clean compile javadoc:javadoc javadoc:aggregate
- name: Move the Javadoc to docs/static/api/
run: mv ./target/site/apidocs ./docs/static/api && echo && echo 'ls ./docs/static/api' && ls ./docs/static/api
run: mv ./target/reports/apidocs ./docs/static/api && echo && echo 'ls ./docs/static/api' && ls ./docs/static/api
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@
<noqualifier>all</noqualifier>
<show>public</show>
<excludePackageNames>io.prometheus.metrics.expositionformats.generated.*</excludePackageNames>
<sourcepath>${project.build.sourceDirectory}</sourcepath>
<source>8</source>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 1fc3825

Please sign in to comment.