Skip to content

Commit 7a10feb

Browse files
committed
fix: javadoc issue in ci
Signed-off-by: Todd Baert <[email protected]>
1 parent bcfc65a commit 7a10feb

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,11 @@ jobs:
1616
uses: actions/checkout@v3
1717

1818
- name: Set up JDK 18
19-
if: ${{ steps.release.outputs.releases_created }}
2019
uses: actions/setup-java@v3
2120
with:
2221
java-version: "18"
2322
distribution: "temurin"
2423
cache: maven
25-
server-id: ossrh
26-
server-username: OSSRH_USERNAME
27-
server-password: OSSRH_PASSWORD
2824

2925
- name: Cache local Maven repository
3026
uses: actions/cache@v2
@@ -35,7 +31,4 @@ jobs:
3531
${{ runner.os }}-maven-
3632
3733
- name: Maven Verify
38-
run: mvn --batch-mode --settings release/m2-settings.xml verify
39-
env:
40-
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
41-
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
34+
run: mvn --batch-mode clean verify

pom.xml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
<maven.compiler.source>1.8</maven.compiler.source>
4343
<maven.compiler.target>${maven.compiler.source}</maven.compiler.target>
4444
<junit.jupiter.version>5.8.1</junit.jupiter.version>
45+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
46+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
4547
</properties>
4648

4749
<dependencies>
@@ -169,6 +171,7 @@
169171
<plugin>
170172
<groupId>org.apache.maven.plugins</groupId>
171173
<artifactId>maven-pmd-plugin</artifactId>
174+
<version>3.19.0</version>
172175
<configuration>
173176
<excludeRoots>${basedir}/target/generated-sources/</excludeRoots>
174177
</configuration>
@@ -253,14 +256,18 @@
253256
<plugin>
254257
<groupId>org.apache.maven.plugins</groupId>
255258
<artifactId>maven-javadoc-plugin</artifactId>
256-
<version>3.4.0</version>
259+
<version>3.4.1</version>
257260
<configuration>
258261
<failOnWarnings>true</failOnWarnings>
259-
<excludePackageNames>dev.openfeature.flagd.grpc</excludePackageNames>
262+
<sourceFileExcludes>
263+
<sourceFileExclude>**/GoFeatureFlagProviderOptions.java</sourceFileExclude>
264+
</sourceFileExcludes>
265+
<excludePackageNames>dev.openfeature.flagd.grpc,dev.openfeature.contrib.providers.gofeatureflag.exception,dev.openfeature.contrib.providers.gofeatureflag.bean</excludePackageNames>
260266
</configuration>
261267
<executions>
262268
<execution>
263269
<id>attach-javadocs</id>
270+
<phase>verify</phase>
264271
<goals>
265272
<goal>jar</goal>
266273
</goals>

0 commit comments

Comments
 (0)