]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
Revert artifactId of sonar-runner-dist to not break ITs and Jenkins
authorJulien HENRY <julien.henry@sonarsource.com>
Fri, 26 Jun 2015 07:09:05 +0000 (09:09 +0200)
committerJulien HENRY <julien.henry@sonarsource.com>
Fri, 26 Jun 2015 07:09:05 +0000 (09:09 +0200)
sonar-runner-cli/pom.xml
sonar-runner-cli/src/main/assembly/bin/sonar-runner
sonar-runner-cli/src/main/assembly/bin/sonar-runner.bat

index 54f9eb6f961025172ea606dba167167f3ee3e460..2c3d0c110ee1e230fceeeac75b31ba75b41d6486 100644 (file)
@@ -6,7 +6,7 @@
     <version>2.5-SNAPSHOT</version>
   </parent>
 
-  <artifactId>sonar-runner-cli</artifactId>
+  <artifactId>sonar-runner-dist</artifactId>
   <packaging>jar</packaging>
   <name>SonarQube Runner - CLI - Distribution</name>
 
index 6ebfa4056f5ab4cb6c7f756f39ad38a1e008d7e1..b0506e509a8eaae0f1111504333ffa65b0f88f4d 100755 (executable)
@@ -80,13 +80,13 @@ if [ -z "$SONAR_RUNNER_HOME" ] ; then
 fi
 
 # check that the SONAR_RUNNER_HOME has been correctly set
-if [ ! -f "$SONAR_RUNNER_HOME/lib/sonar-runner-cli-${project.version}.jar" ] ; then
+if [ ! -f "$SONAR_RUNNER_HOME/lib/sonar-runner-dist-${project.version}.jar" ] ; then
   echo '$SONAR_RUNNER_HOME' does not point to a valid installation directory: $SONAR_RUNNER_HOME
   exit 1
 fi
 
 JAVA_CMD="`which java`"
-JAR_FILE="${SONAR_RUNNER_HOME}"/lib/sonar-runner-cli-${project.version}.jar
+JAR_FILE="${SONAR_RUNNER_HOME}"/lib/sonar-runner-dist-${project.version}.jar
 PROJECT_HOME=`pwd`
 
 #echo "Info: Using sonar-runner at $SONAR_RUNNER_HOME"
index bf5eb806574270cbcaafaa06d18f4c9316a32c84..2b2253ee992d4ae564329cdbf51f54fe037b06fe 100644 (file)
@@ -58,7 +58,7 @@ goto run
 if "%SONAR_RUNNER_HOME:~-1%"=="\" set SONAR_RUNNER_HOME=%SONAR_RUNNER_HOME:~0,-1%
 
 @REM Check if the provided SONAR_RUNNER_HOME is a valid install dir
-IF EXIST "%SONAR_RUNNER_HOME%\lib\sonar-runner-cli-${project.version}.jar" goto run
+IF EXIST "%SONAR_RUNNER_HOME%\lib\sonar-runner-dist-${project.version}.jar" goto run
 
 echo.
 echo ERROR: SONAR_RUNNER_HOME exists but does not point to a valid install
@@ -74,7 +74,7 @@ echo %SONAR_RUNNER_HOME%
 
 set PROJECT_HOME=%CD%
 
-%JAVA_EXEC% %SONAR_RUNNER_OPTS% -cp "%SONAR_RUNNER_HOME%\lib\sonar-runner-cli-${project.version}.jar" "-Drunner.home=%SONAR_RUNNER_HOME%" "-Dproject.home=%PROJECT_HOME%" org.sonar.runner.cli.Main %*
+%JAVA_EXEC% %SONAR_RUNNER_OPTS% -cp "%SONAR_RUNNER_HOME%\lib\sonar-runner-dist-${project.version}.jar" "-Drunner.home=%SONAR_RUNNER_HOME%" "-Dproject.home=%PROJECT_HOME%" org.sonar.runner.cli.Main %*
 if ERRORLEVEL 1 goto error
 goto end