aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2016-01-11 16:14:39 +0100
committerJulien HENRY <julien.henry@sonarsource.com>2016-01-11 16:14:39 +0100
commit5e187f8dc1099ce63c00b9185b9a8a8d9ce92f92 (patch)
treec976e3ce1b391dd4d74ce2c2c6522ae1a0e16e2e /src/main
parentef4271a905f1a14f0f87c555e685e0744dec7d32 (diff)
downloadsonar-scanner-cli-5e187f8dc1099ce63c00b9185b9a8a8d9ce92f92.tar.gz
sonar-scanner-cli-5e187f8dc1099ce63c00b9185b9a8a8d9ce92f92.zip
Update groupId, artifactId and packages
Diffstat (limited to 'src/main')
-rwxr-xr-xsrc/main/assembly/bin/sonar-runner6
-rw-r--r--src/main/assembly/bin/sonar-runner.bat4
-rw-r--r--src/main/java/org/sonarsource/scanner/cli/Cli.java (renamed from src/main/java/org/sonar/runner/cli/Cli.java)2
-rw-r--r--src/main/java/org/sonarsource/scanner/cli/Conf.java (renamed from src/main/java/org/sonar/runner/cli/Conf.java)2
-rw-r--r--src/main/java/org/sonarsource/scanner/cli/Exit.java (renamed from src/main/java/org/sonar/runner/cli/Exit.java)2
-rw-r--r--src/main/java/org/sonarsource/scanner/cli/Logs.java (renamed from src/main/java/org/sonar/runner/cli/Logs.java)2
-rw-r--r--src/main/java/org/sonarsource/scanner/cli/Main.java (renamed from src/main/java/org/sonar/runner/cli/Main.java)2
-rw-r--r--src/main/java/org/sonarsource/scanner/cli/RunnerFactory.java (renamed from src/main/java/org/sonar/runner/cli/RunnerFactory.java)2
-rw-r--r--src/main/java/org/sonarsource/scanner/cli/Shutdown.java (renamed from src/main/java/org/sonar/runner/cli/Shutdown.java)2
-rw-r--r--src/main/java/org/sonarsource/scanner/cli/Stats.java (renamed from src/main/java/org/sonar/runner/cli/Stats.java)2
-rw-r--r--src/main/java/org/sonarsource/scanner/cli/SystemInfo.java (renamed from src/main/java/org/sonar/runner/cli/SystemInfo.java)2
-rw-r--r--src/main/java/org/sonarsource/scanner/cli/package-info.java (renamed from src/main/java/org/sonar/runner/cli/package-info.java)2
12 files changed, 15 insertions, 15 deletions
diff --git a/src/main/assembly/bin/sonar-runner b/src/main/assembly/bin/sonar-runner
index ec2f426..3d2b092 100755
--- a/src/main/assembly/bin/sonar-runner
+++ b/src/main/assembly/bin/sonar-runner
@@ -80,7 +80,7 @@ if [ -z "$SONAR_RUNNER_HOME" ] ; then
fi
# check that the SONAR_RUNNER_HOME has been correctly set
-if [ ! -f "$SONAR_RUNNER_HOME/lib/sonar-scanner-${project.version}.jar" ] ; then
+if [ ! -f "$SONAR_RUNNER_HOME/lib/sonar-scanner-cli-${project.version}.jar" ] ; then
echo '$SONAR_RUNNER_HOME' does not point to a valid installation directory: $SONAR_RUNNER_HOME
exit 1
fi
@@ -92,7 +92,7 @@ else
JAVA_CMD="`which java`"
fi
-JAR_FILE="${SONAR_RUNNER_HOME}"/lib/sonar-scanner-${project.version}.jar
+JAR_FILE="${SONAR_RUNNER_HOME}"/lib/sonar-scanner-cli-${project.version}.jar
PROJECT_HOME=`pwd`
#echo "Info: Using sonar-runner at $SONAR_RUNNER_HOME"
@@ -106,5 +106,5 @@ exec "$JAVA_CMD" \
-classpath $JAR_FILE \
"-Drunner.home=\${SONAR_RUNNER_HOME}" \
"-Dproject.home=\${PROJECT_HOME}" \
- org.sonar.runner.cli.Main "$@"
+ org.sonarsource.scanner.cli.Main "$@"
diff --git a/src/main/assembly/bin/sonar-runner.bat b/src/main/assembly/bin/sonar-runner.bat
index 72d054b..32b3e83 100644
--- a/src/main/assembly/bin/sonar-runner.bat
+++ b/src/main/assembly/bin/sonar-runner.bat
@@ -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-scanner-${project.version}.jar" goto run
+IF EXIST "%SONAR_RUNNER_HOME%\lib\sonar-scanner-cli-${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% -Djava.awt.headless=true %SONAR_RUNNER_OPTS% -cp "%SONAR_RUNNER_HOME%\lib\sonar-scanner-${project.version}.jar" "-Drunner.home=%SONAR_RUNNER_HOME%" "-Dproject.home=%PROJECT_HOME%" org.sonar.runner.cli.Main %*
+%JAVA_EXEC% -Djava.awt.headless=true %SONAR_RUNNER_OPTS% -cp "%SONAR_RUNNER_HOME%\lib\sonar-scanner-cli-${project.version}.jar" "-Drunner.home=%SONAR_RUNNER_HOME%" "-Dproject.home=%PROJECT_HOME%" org.sonarsource.scanner.cli.Main %*
if ERRORLEVEL 1 goto error
goto end
diff --git a/src/main/java/org/sonar/runner/cli/Cli.java b/src/main/java/org/sonarsource/scanner/cli/Cli.java
index f95302d..54b55bd 100644
--- a/src/main/java/org/sonar/runner/cli/Cli.java
+++ b/src/main/java/org/sonarsource/scanner/cli/Cli.java
@@ -17,7 +17,7 @@
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
*/
-package org.sonar.runner.cli;
+package org.sonarsource.scanner.cli;
import java.util.Properties;
import org.sonar.runner.api.RunnerProperties;
diff --git a/src/main/java/org/sonar/runner/cli/Conf.java b/src/main/java/org/sonarsource/scanner/cli/Conf.java
index 150e573..7d8cd15 100644
--- a/src/main/java/org/sonar/runner/cli/Conf.java
+++ b/src/main/java/org/sonarsource/scanner/cli/Conf.java
@@ -17,7 +17,7 @@
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
*/
-package org.sonar.runner.cli;
+package org.sonarsource.scanner.cli;
import java.io.File;
import java.io.FileInputStream;
diff --git a/src/main/java/org/sonar/runner/cli/Exit.java b/src/main/java/org/sonarsource/scanner/cli/Exit.java
index 9c92b6b..809d863 100644
--- a/src/main/java/org/sonar/runner/cli/Exit.java
+++ b/src/main/java/org/sonarsource/scanner/cli/Exit.java
@@ -17,7 +17,7 @@
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
*/
-package org.sonar.runner.cli;
+package org.sonarsource.scanner.cli;
class Exit {
static final int SUCCESS = 0;
diff --git a/src/main/java/org/sonar/runner/cli/Logs.java b/src/main/java/org/sonarsource/scanner/cli/Logs.java
index 8df9b9b..ab9b255 100644
--- a/src/main/java/org/sonar/runner/cli/Logs.java
+++ b/src/main/java/org/sonarsource/scanner/cli/Logs.java
@@ -17,7 +17,7 @@
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
*/
-package org.sonar.runner.cli;
+package org.sonarsource.scanner.cli;
import java.io.PrintStream;
diff --git a/src/main/java/org/sonar/runner/cli/Main.java b/src/main/java/org/sonarsource/scanner/cli/Main.java
index 848b64e..06cdc44 100644
--- a/src/main/java/org/sonar/runner/cli/Main.java
+++ b/src/main/java/org/sonarsource/scanner/cli/Main.java
@@ -17,7 +17,7 @@
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
*/
-package org.sonar.runner.cli;
+package org.sonarsource.scanner.cli;
import java.io.BufferedReader;
import java.io.IOException;
diff --git a/src/main/java/org/sonar/runner/cli/RunnerFactory.java b/src/main/java/org/sonarsource/scanner/cli/RunnerFactory.java
index fcd0b65..fbfa831 100644
--- a/src/main/java/org/sonar/runner/cli/RunnerFactory.java
+++ b/src/main/java/org/sonarsource/scanner/cli/RunnerFactory.java
@@ -17,7 +17,7 @@
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
*/
-package org.sonar.runner.cli;
+package org.sonarsource.scanner.cli;
import java.util.Properties;
import org.sonar.runner.api.EmbeddedRunner;
diff --git a/src/main/java/org/sonar/runner/cli/Shutdown.java b/src/main/java/org/sonarsource/scanner/cli/Shutdown.java
index c598486..ed81ae1 100644
--- a/src/main/java/org/sonar/runner/cli/Shutdown.java
+++ b/src/main/java/org/sonarsource/scanner/cli/Shutdown.java
@@ -17,7 +17,7 @@
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
*/
-package org.sonar.runner.cli;
+package org.sonarsource.scanner.cli;
class Shutdown {
static final int SUCCESS = 0;
diff --git a/src/main/java/org/sonar/runner/cli/Stats.java b/src/main/java/org/sonarsource/scanner/cli/Stats.java
index 6b3ca60..0cfb333 100644
--- a/src/main/java/org/sonar/runner/cli/Stats.java
+++ b/src/main/java/org/sonarsource/scanner/cli/Stats.java
@@ -17,7 +17,7 @@
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
*/
-package org.sonar.runner.cli;
+package org.sonarsource.scanner.cli;
class Stats {
private final Logs logger;
diff --git a/src/main/java/org/sonar/runner/cli/SystemInfo.java b/src/main/java/org/sonarsource/scanner/cli/SystemInfo.java
index de3c82f..35075e0 100644
--- a/src/main/java/org/sonar/runner/cli/SystemInfo.java
+++ b/src/main/java/org/sonarsource/scanner/cli/SystemInfo.java
@@ -17,7 +17,7 @@
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
*/
-package org.sonar.runner.cli;
+package org.sonarsource.scanner.cli;
import org.sonar.runner.api.RunnerVersion;
diff --git a/src/main/java/org/sonar/runner/cli/package-info.java b/src/main/java/org/sonarsource/scanner/cli/package-info.java
index 55dfaf6..09df639 100644
--- a/src/main/java/org/sonar/runner/cli/package-info.java
+++ b/src/main/java/org/sonarsource/scanner/cli/package-info.java
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
*/
@ParametersAreNonnullByDefault
-package org.sonar.runner.cli;
+package org.sonarsource.scanner.cli;
import javax.annotation.ParametersAreNonnullByDefault;