aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gradle.properties5
-rw-r--r--runners/maven-plugin/build.gradle4
2 files changed, 6 insertions, 3 deletions
diff --git a/gradle.properties b/gradle.properties
index 12256f0b..fd253363 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -11,4 +11,7 @@ maven_version=3.0.5
maven_archiver_version=2.5
plexus_utils_version=3.0.22
plexus_archiver_version=3.4
-maven_plugin_tools_version=3.4 \ No newline at end of file
+maven_plugin_tools_version=3.4
+
+#For CI
+mvn=mvn \ No newline at end of file
diff --git a/runners/maven-plugin/build.gradle b/runners/maven-plugin/build.gradle
index c0b9df2e..e69d1eb1 100644
--- a/runners/maven-plugin/build.gradle
+++ b/runners/maven-plugin/build.gradle
@@ -33,12 +33,12 @@ task generatePom << {
task pluginDescriptor(type: Exec) {
workingDir buildDir
- commandLine 'mvn', '-e', '-B', 'org.apache.maven.plugins:maven-plugin-plugin:descriptor'
+ commandLine mvn, '-e', '-B', 'org.apache.maven.plugins:maven-plugin-plugin:descriptor'
}
task helpMojo(type: Exec) {
workingDir buildDir
- commandLine 'mvn', '-e', '-B', 'org.apache.maven.plugins:maven-plugin-plugin:helpmojo'
+ commandLine mvn, '-e', '-B', 'org.apache.maven.plugins:maven-plugin-plugin:helpmojo'
}