Skip to content

Commit f075ea6

Browse files
committed
Use mvn batch-mode in automated scripts
1 parent ea25656 commit f075ea6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/do-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
NEXT_VERSION=${{ github.event.inputs.next-snapshot-version }}-SNAPSHOT
5959
TAG=JSignPdf_${VERSION//\./_}
6060
set -x
61-
mvn clean install
61+
mvn --batch-mode clean install
6262
mvn -P release --batch-mode "-Dtag=${TAG}" release:prepare \
6363
"-DreleaseVersion=${VERSION}" \
6464
"-DdevelopmentVersion=${NEXT_VERSION}"

distribution/linux/flatpak/generate-dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ echo "==> Running Maven to download dependencies"
6262
cd "\$BUILD_DIR"
6363
rm -rf "\$M2_DIR"
6464
mkdir -p "\$M2_DIR"
65-
mvn clean install \
65+
mvn --batch-mode clean install \
6666
-Dmaven.repo.local="\$M2_DIR" \
6767
-DskipTests \
6868
-Dmaven.javadoc.skip=true \

0 commit comments

Comments
 (0)