In maven-script don't override M2_HOME if already set
This commit is contained in:
parent
a88154f287
commit
62a5dbea06
@ -5,5 +5,5 @@ if [ -f /usr/share/java-utils/java-functions ] ; then
|
|||||||
set_javacmd
|
set_javacmd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export M2_HOME=/usr/share/maven
|
export M2_HOME="${M2_HOME:-/usr/share/maven}"
|
||||||
export JAVA_HOME; $M2_HOME/bin/mvn "$@"
|
export JAVA_HOME; $M2_HOME/bin/mvn "$@"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: maven
|
Name: maven
|
||||||
Version: 3.0.5
|
Version: 3.0.5
|
||||||
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
|
||||||
@ -192,6 +192,9 @@ ln -sf $(build-classpath plexus/classworlds) \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 12 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.0.5-2
|
||||||
|
- In maven-script don't override M2_HOME if already set
|
||||||
|
|
||||||
* Fri Mar 1 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.0.5-1
|
* Fri Mar 1 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.0.5-1
|
||||||
- Update to upstream version 3.0.5
|
- Update to upstream version 3.0.5
|
||||||
- Move settings.xml to /etc
|
- Move settings.xml to /etc
|
||||||
|
Loading…
Reference in New Issue
Block a user