Merge "Fail main maven build if java maven build fails"
This commit is contained in:
commit
d8a96c1e9c
@ -14,9 +14,11 @@ shift
|
|||||||
|
|
||||||
# Invoke the maven 3 on the real pom.xml
|
# Invoke the maven 3 on the real pom.xml
|
||||||
( cd java; ${MVN} $* )
|
( cd java; ${MVN} $* )
|
||||||
|
RC=$?
|
||||||
|
|
||||||
# Copy the jars where the publisher will find them
|
# Copy the jars where the publisher will find them
|
||||||
mkdir -p target
|
mkdir -p target
|
||||||
cp java/*/target/*.jar target
|
cp java/*/target/*.jar target
|
||||||
|
|
||||||
rm -fr apache-maven-3.2.1*
|
rm -fr apache-maven-3.2.1*
|
||||||
|
exit $RC
|
||||||
|
Loading…
x
Reference in New Issue
Block a user