maven project are only calculated if there is xmllint
This commit is contained in:
parent
190f739b4a
commit
3f86fb964e
2
.zshrc
2
.zshrc
@ -420,7 +420,7 @@ alias mvn='mvn-color'
|
|||||||
maven_read_project() {
|
maven_read_project() {
|
||||||
local location parts
|
local location parts
|
||||||
location=$(find_up pom.xml)
|
location=$(find_up pom.xml)
|
||||||
if [[ ! -r "$location" ]]; then
|
if [[ ! -r "$location" || -z $commands[xmllint] ]]; then
|
||||||
MAVEN_PROJECT_ARTIFACT=""
|
MAVEN_PROJECT_ARTIFACT=""
|
||||||
MAVEN_PROJECT_VERSION=""
|
MAVEN_PROJECT_VERSION=""
|
||||||
return 1;
|
return 1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user