From fec3baf2834693e27666391aadc70e3e2e472b8c Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 25 Dec 2012 09:49:11 +0100 Subject: Maven: Stoe generated/temp *.pom files in output/ --- maven/make-copy-poms.sh | 2 +- maven/make-poms.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/maven/make-copy-poms.sh b/maven/make-copy-poms.sh index 67b64cd..b74d77b 100755 --- a/maven/make-copy-poms.sh +++ b/maven/make-copy-poms.sh @@ -29,7 +29,7 @@ PROJECTS=`cat make-projects.txt | awk -F: '{print $1}'` || exit 1 for PROJECT in ${PROJECTS} do - SOURCE="${PROJECT}.pom" + SOURCE="output/${PROJECT}.pom" TARGET="output/${PROJECT}/${VERSION}/${PROJECT}-${VERSION}.pom" copy "${SOURCE}" "${TARGET}" TARGET="output/${PROJECT}/${VERSION}/pom.xml" diff --git a/maven/make-poms.sh b/maven/make-poms.sh index 25b29cd..233b01c 100755 --- a/maven/make-poms.sh +++ b/maven/make-poms.sh @@ -14,7 +14,7 @@ PROJECTS=`cat make-projects.txt | awk -F: '{print $1}'` || exit 1 for PROJECT in ${PROJECTS} do echo "make-poms: info: generating pom for ${PROJECT}" 1>&2 - "./${PROJECT}.pom.sh" "${VERSION}" > "${PROJECT}.pom.tmp" || exit 1 - mv "${PROJECT}.pom.tmp" "${PROJECT}.pom" || exit 1 + "./${PROJECT}.pom.sh" "${VERSION}" > "output/${PROJECT}.pom.tmp" || exit 1 + mv "output/${PROJECT}.pom.tmp" "output/${PROJECT}.pom" || exit 1 done -- cgit v1.2.3