From 655e20e99ec0f511f045f537ef89682f436bfc9f Mon Sep 17 00:00:00 2001 From: Athou Date: Wed, 21 Jan 2015 14:20:19 +0100 Subject: [PATCH] use openshift nexus mirror --- .openshift/action_hooks/build | 2 +- .openshift/settings.xml | 40 ++++++++++++++++++++++++++++++++++- 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/.openshift/action_hooks/build b/.openshift/action_hooks/build index f472a7e5..465f7eff 100755 --- a/.openshift/action_hooks/build +++ b/.openshift/action_hooks/build @@ -28,4 +28,4 @@ export NPM_CONFIG_ARCH="x64" npm install npm export PATH="$OPENSHIFT_REPO_DIR/node_modules/.bin:$PATH" -mvn clean package -DskipTests -Dos.arch=x64 +mvn clean package -DskipTests -Dos.arch=x64 -s .openshift/settings.xml diff --git a/.openshift/settings.xml b/.openshift/settings.xml index 8cfcb0a7..397d208f 100644 --- a/.openshift/settings.xml +++ b/.openshift/settings.xml @@ -1,3 +1,41 @@ - $OPENSHIFT_DATA_DIR + + + nexus + central + http://mirror1.ops.rhcloud.com/nexus/content/groups/public + + + + + nexus + + + central + http://central + + true + + + true + + + + + + central + http://central + + true + + + true + + + + + + + nexus +