diff --git a/plugins/storage/volume/storpool/pom.xml b/plugins/storage/volume/storpool/pom.xml index ee4c5cfb6f0..058f3e678ed 100644 --- a/plugins/storage/volume/storpool/pom.xml +++ b/plugins/storage/volume/storpool/pom.xml @@ -69,6 +69,31 @@ + + org.codehaus.gmaven + gmaven-plugin + 1.5 + + + set-properties + validate + + execute + + + 1.7 + + File git = new File("./.git") + if (!git.exists()) { + pom.properties['storpool.skip.git.properties'] = 'true' + } else { + pom.properties['storpool.skip.git.properties'] = 'false' + } + + + + + maven-surefire-plugin @@ -96,6 +121,7 @@ + ${storpool.skip.git.properties} ${project.basedir}/.git git false