Enable MAVEN_OPTS override in scripts
This commit is contained in:
parent
49f4ff0cb6
commit
abf9b4a49a
@ -10,7 +10,7 @@ echo $JAVA_HOME
|
|||||||
export JAVA_HOME
|
export JAVA_HOME
|
||||||
# can't put it on command line due to
|
# can't put it on command line due to
|
||||||
# http://jira.codehaus.org/browse/SUREFIRE-121
|
# http://jira.codehaus.org/browse/SUREFIRE-121
|
||||||
export MAVEN_OPTS="-Dmaven.local.mode ${local_add}"
|
export MAVEN_OPTS="$MAVEN_OPTS -Dmaven.local.mode ${local_add}"
|
||||||
echo "Running mvn in local mode. Please report bugs to http://bugzilla.redhat.com"
|
echo "Running mvn in local mode. Please report bugs to http://bugzilla.redhat.com"
|
||||||
|
|
||||||
$M2_HOME/bin/mvn "$@"
|
$M2_HOME/bin/mvn "$@"
|
||||||
|
@ -42,6 +42,6 @@ echo $JAVA_HOME
|
|||||||
export JAVA_HOME
|
export JAVA_HOME
|
||||||
# can't put it on command line due to
|
# can't put it on command line due to
|
||||||
# http://jira.codehaus.org/browse/SUREFIRE-121
|
# http://jira.codehaus.org/browse/SUREFIRE-121
|
||||||
export MAVEN_OPTS="-Dmaven.local.mode ${local_add}"
|
export MAVEN_OPTS="$MAVEN_OPTS -Dmaven.local.mode ${local_add}"
|
||||||
|
|
||||||
$M2_HOME/bin/mvn -o "$@"
|
$M2_HOME/bin/mvn -o "$@"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
Name: maven
|
Name: maven
|
||||||
Version: 3.0.3
|
Version: 3.0.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Java project management and project comprehension tool
|
Summary: Java project management and project comprehension tool
|
||||||
|
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -308,6 +308,9 @@ cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 18 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.0.3-2
|
||||||
|
- Enable MAVEN_OPTS override in scripts
|
||||||
|
|
||||||
* Fri Mar 4 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.0.3-1
|
* Fri Mar 4 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.0.3-1
|
||||||
- Update to 3.0.3
|
- Update to 3.0.3
|
||||||
- Add ext subdirectory to lib
|
- Add ext subdirectory to lib
|
||||||
|
Loading…
Reference in New Issue
Block a user