aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects
diff options
context:
space:
mode:
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>