Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
BUG 1176970: Delete all dependencies except settings.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
jhadvig committed Jan 7, 2015
1 parent 55b1939 commit 70ed801
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cartridges/openshift-origin-cartridge-jbossas/bin/control
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ function build() {
if force_clean_build_enabled_for_latest_deployment
then
echo "Force-clean build is enabled. Removing Maven dependencies." 1>&2
rm -rf ${OPENSHIFT_HOMEDIR}.m2/* ${OPENSHIFT_HOMEDIR}.m2/.[^.]*
find ${OPENSHIFT_HOMEDIR}.m2/* -maxdepth 0 -name 'settings.xml' -prune -o -exec rm -rf '{}' ';'
fi

if [ -f ${OPENSHIFT_REPO_DIR}pom.xml ] && ! marker_present skip_maven_build
Expand Down
2 changes: 1 addition & 1 deletion cartridges/openshift-origin-cartridge-jbosseap/bin/control
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ function build() {
if force_clean_build_enabled_for_latest_deployment
then
echo "Force-clean build is enabled. Removing Maven dependencies." 1>&2
rm -rf ${OPENSHIFT_HOMEDIR}.m2/* ${OPENSHIFT_HOMEDIR}.m2/.[^.]*
find ${OPENSHIFT_HOMEDIR}.m2/* -maxdepth 0 -name 'settings.xml' -prune -o -exec rm -rf '{}' ';'
fi

if [ -f ${OPENSHIFT_REPO_DIR}pom.xml ] && ! marker_present skip_maven_build
Expand Down
2 changes: 1 addition & 1 deletion cartridges/openshift-origin-cartridge-jbossews/bin/build
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fi

if force_clean_build_enabled_for_latest_deployment; then
echo "force_clean_build marker found; removing Maven dependencies."
rm -rf ${OPENSHIFT_HOMEDIR}.m2/* ${OPENSHIFT_HOMEDIR}.m2/.[^.]*
find ${OPENSHIFT_HOMEDIR}.m2/* -maxdepth 0 -name 'settings.xml' -prune -o -exec rm -rf '{}' ';'
fi

# Calculate build heap size
Expand Down

0 comments on commit 70ed801

Please sign in to comment.