Skip to content

Commit 4bcaed9

Browse files
authored
Fix javadoc build (#529)
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
1 parent 9d3ee79 commit 4bcaed9

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

.github/workflows/branch.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ jobs:
2020
with:
2121
java-version: ${{ matrix.java }}
2222
- run: |
23-
mvn clean install -DskipTests -B
24-
mvn verify -B
23+
./mvnw clean install -DskipTests -B
24+
./mvnw verify -B
25+
2526
deploy:
2627
runs-on: ubuntu-latest
2728
name: Deploy
@@ -38,7 +39,7 @@ jobs:
3839
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
3940
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
4041
- name: Publish to Apache Maven Central
41-
run: mvn clean deploy -Drelease -DskipTests -B
42+
run: ./mvnw clean deploy -Drelease -DskipTests -B
4243
env:
4344
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
4445
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}

.github/workflows/bump.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
java-version: 8
2121
- name: Bump version using Maven
22-
run: 'mvn versions:set -DnewVersion=$NEW_VERSION -DgenerateBackupPoms=false -B'
22+
run: './mvnw versions:set -DnewVersion=$NEW_VERSION -DgenerateBackupPoms=false -B'
2323
- name: Bump version in docs
2424
if: ${{ !endsWith(github.event.inputs.version, 'SNAPSHOT') }}
2525
run: 'find . -type f -name "*.md" -exec sed -i -e "s+<version>[a-zA-Z0-9.-]*<\/version>+<version>$NEW_VERSION</version>+g" {} +'

.github/workflows/pr.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@ jobs:
2222
java-version: ${{ matrix.java }}
2323
distribution: 'temurin'
2424
- run: |
25-
mvn clean install -DskipTests -B
26-
mvn verify -B
25+
./mvnw clean install -DskipTests -B
26+
./mvnw verify -B
27+
./mvnw javadoc:javadoc

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@
168168
<link>https://qpid.apache.org/releases/qpid-proton-j-0.33.7/api/</link>
169169
<link>https://fasterxml.github.io/jackson-databind/javadoc/2.10/</link>
170170
</links>
171+
<source>8</source>
171172
</configuration>
172173
<executions>
173174
<execution>

0 commit comments

Comments
 (0)