Skip to content

Commit 2ffab8d

Browse files
committed
run mvn verify in CI instead of package
Signed-off-by: Hervé Boutemy <[email protected]>
1 parent 072dcd7 commit 2ffab8d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
distribution: 'adopt'
1616
java-version: '8'
1717
- name: Build with Maven
18-
run: mvn --no-transfer-progress package site
18+
run: mvn --no-transfer-progress verify site
1919
- name: Deploy documentation
2020
if: ${{ github.ref == 'refs/heads/master' }}
2121
uses: JamesIves/github-pages-deploy-action@releases/v3

src/it/makeBom/verify.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ assert bomFileXml.text.contains('<reference type="website">\n' +
1010

1111
assert !bomFileXml.text.contains('<property name="maven.optional.unused">')
1212

13-
assert bomFileJson.text.contains('"specVersion" : "1.5"')
13+
assert bomFileJson.text.contains('"specVersion" : "1.6"')
1414

1515
// Reproducible Builds
1616
assert !bomFileJson.text.contains('"timestamp"')

0 commit comments

Comments
 (0)