Skip to content

Commit 26fbf8c

Browse files
committed
OCP-DEMO Use the settings.xml when running maven
We need the Red Hat repository for some libraries and some users might not have it configured in the global settings.
1 parent c42e4df commit 26fbf8c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

openshift/message-board/script/binary-build-account.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -e
33
# Account MicroService
44

55
# Compile && Test
6-
mvn -f ../account-service/pom.xml clean install
6+
mvn -f ../account-service/pom.xml clean install -s ../settings.xml
77

88
# Update war
99
cp -f ../account-service/target/account-service.war ./account-service

openshift/message-board/script/binary-build-message.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -e
33
# Message MicroService
44

55
# Compile && Test
6-
mvn -f ../message-service/pom.xml clean install
6+
mvn -f ../message-service/pom.xml clean install -s ../settings.xml
77

88
# Update war
99
cp -f ../message-service/target/message-service.war ./message-service

0 commit comments

Comments
 (0)