aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects
diff options
context:
space:
mode:
authorGodin <mandrikov@gmail.com>2010-09-29 18:31:33 +0000
committerGodin <mandrikov@gmail.com>2010-09-29 18:31:33 +0000
commitd9c81dc09f8ea7c879f667722c0073fe6b081f5b (patch)
treef4625c033e8f6215e1db390618caf1e486b34ed6 /subprojects
parent732e032a26c74077c454586c1f8fe3cbef989cee (diff)
downloadsonarqube-d9c81dc09f8ea7c879f667722c0073fe6b081f5b.tar.gz
sonarqube-d9c81dc09f8ea7c879f667722c0073fe6b081f5b.zip
SONAR-1788: sonar-dev-maven-plugin should execute ${maven.home}/bin/mvn instead of mvn
Diffstat (limited to 'subprojects')
-rw-r--r--subprojects/sonar-dev-maven-plugin/src/main/scripts/dev.build.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/subprojects/sonar-dev-maven-plugin/src/main/scripts/dev.build.xml b/subprojects/sonar-dev-maven-plugin/src/main/scripts/dev.build.xml
index 8b79d23a23c..9114df8bcff 100644
--- a/subprojects/sonar-dev-maven-plugin/src/main/scripts/dev.build.xml
+++ b/subprojects/sonar-dev-maven-plugin/src/main/scripts/dev.build.xml
@@ -392,11 +392,11 @@
<attribute name="args" default=""/>
<sequential>
- <exec failonerror="@{failonerror}" executable="mvn.bat" osfamily="Windows">
+ <exec failonerror="@{failonerror}" executable="${maven.home}/bin/mvn.bat" osfamily="Windows">
<arg line="-f @{pom}"/>
<arg line="@{args}"/>
</exec>
- <exec failonerror="@{failonerror}" executable="mvn" osfamily="unix">
+ <exec failonerror="@{failonerror}" executable="${maven.home}/bin/mvn" osfamily="unix">
<arg line="-f @{pom}"/>
<arg line="@{args} "/>
</exec>
@@ -438,11 +438,11 @@
<attribute name="file"/>
<sequential>
- <exec failonerror="@{failonerror}" executable="mvn.bat" osfamily="Windows">
+ <exec failonerror="@{failonerror}" executable="${maven.home}/bin/mvn.bat" osfamily="Windows">
<arg
line="install:install-file -DgroupId=@{groupId} -DartifactId=@{artifactId} -Dversion=@{version} -Dpackaging=@{packaging} -Dfile=@{file}"/>
</exec>
- <exec failonerror="@{failonerror}" executable="mvn" osfamily="unix">
+ <exec failonerror="@{failonerror}" executable="${maven.home}/bin/mvn" osfamily="unix">
<arg
line="install:install-file -DgroupId=@{groupId} -DartifactId=@{artifactId} -Dversion=@{version} -Dpackaging=@{packaging} -Dfile=@{file}"/>
</exec>