Skip to content

Commit

Permalink
Move javadoc generation to compile phase
Browse files Browse the repository at this point in the history
  • Loading branch information
spoonman01 committed Nov 8, 2024
1 parent ba9dd95 commit 8d3c0e9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ jobs:
- name: Build with Maven
run: mvn -DskipTests package

- name: Generate Javadoc
run: mvn -DskipTests site

- name: Set up Apache Maven Central
uses: actions/setup-java@v3
with: # running setup-java again overwrites the settings.xml
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,3 @@ jobs:
- name: Try to create package
run: |
mvn package -DskipTests
- name: Generate Javadoc
run: mvn -DskipTests site
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
<version>1.9.20</version>
<executions>
<execution>
<phase>pre-site</phase>
<phase>compile</phase>
<goals>
<goal>javadocJar</goal>
</goals>
Expand Down

0 comments on commit 8d3c0e9

Please sign in to comment.