Skip to content

Commit

Permalink
- fixes javadoc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Reef3rm4n committed Jul 3, 2023
1 parent 6b8dfcc commit 94e26c0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,7 @@ jobs:
java-version: '17'

- name: Build with Maven
run: mvn -B package -Dmaven.javadoc.skip=true --file pom.xml -DskipTests

# - name: Publish to GitHub Packages Apache Maven
# run: mvn deploy -DskipTests
# env:
# GITHUB_TOKEN: ${{ github.token }} # GITHUB_TOKEN is the default env for the password
run: mvn -B package --file pom.xml -DskipTests

- name: Set up Apache Maven Central
uses: actions/setup-java@v3
Expand All @@ -40,3 +35,7 @@ jobs:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
# - name: Publish to GitHub Packages Apache Maven
# run: mvn deploy -DskipTests
# env:
# GITHUB_TOKEN: ${{ github.token }} # GITHUB_TOKEN is the default env for the password
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@
</goals>
</execution>
</executions>
<configuration>
<excludePackageNames>io.es4j.core.objects</excludePackageNames>
<excludePackageNames>io.es4j.infrastructure.models</excludePackageNames>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down

0 comments on commit 94e26c0

Please sign in to comment.