Read user and system config files in maven-script
This commit is contained in:
parent
dbd13e666c
commit
0cc6979ba1
11
maven-script
11
maven-script
@ -1,4 +1,15 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Source system prefs
|
||||||
|
if [ -f /etc/java/maven.conf ] ; then
|
||||||
|
. /etc/java/maven.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Source user prefs
|
||||||
|
if [ -f $HOME/.mavenrc ] ; then
|
||||||
|
. $HOME/.mavenrc
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -f /usr/share/java-utils/java-functions ] ; then
|
if [ -f /usr/share/java-utils/java-functions ] ; then
|
||||||
. /usr/share/java-utils/java-functions
|
. /usr/share/java-utils/java-functions
|
||||||
set_jvm
|
set_jvm
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Name: maven
|
Name: maven
|
||||||
Version: 3.1.1
|
Version: 3.1.1
|
||||||
Release: 14%{?dist}
|
Release: 15%{?dist}
|
||||||
Summary: Java project management and project comprehension tool
|
Summary: Java project management and project comprehension tool
|
||||||
|
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -268,6 +268,9 @@ ln -sf $(build-classpath plexus/classworlds) \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 23 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1.1-15
|
||||||
|
- Read user and system config files in maven-script
|
||||||
|
|
||||||
* Wed Nov 13 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1.1-14
|
* Wed Nov 13 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1.1-14
|
||||||
- Update to Sisu 0.1.0 and Guice 3.1.6
|
- Update to Sisu 0.1.0 and Guice 3.1.6
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user