summaryrefslogtreecommitdiff
path: root/jh-mvn-localrepo.sh
blob: 14ea778748068469166886d7f64ef8ede2ce1c08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
. jh

if [[ $# > 0 ]]; then
    usage
    exit 1
fi

if [ -e /etc/maven/settings.xml ]; then
    xml sel -T -t -v "//*[local-name()='localRepository']" -n /etc/maven/settings.xml
else
    echo /usr/share/maven/repository
fi