Read user and system config files in maven-script

This commit is contained in:
Mikolaj Izdebski 2013-12-23 10:40:37 +01:00
parent dbd13e666c
commit 0cc6979ba1
2 changed files with 15 additions and 1 deletions

View File

@ -1,4 +1,15 @@
#!/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
. /usr/share/java-utils/java-functions
set_jvm

View File

@ -1,6 +1,6 @@
Name: maven
Version: 3.1.1
Release: 14%{?dist}
Release: 15%{?dist}
Summary: Java project management and project comprehension tool
Group: Development/Tools
@ -268,6 +268,9 @@ ln -sf $(build-classpath plexus/classworlds) \
%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
- Update to Sisu 0.1.0 and Guice 3.1.6