aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-runner-api/src/main/java/org/sonar/runner
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2015-09-28 10:31:56 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2015-09-28 14:25:52 +0200
commit902a0cd77a8401963e5f5a4840efcd3cf10c827c (patch)
tree4d625f332ae3d6534e52411fffad41e5c54eee65 /sonar-runner-api/src/main/java/org/sonar/runner
parent08e5054fa2bbc66035fa154c406da04348d5dafa (diff)
downloadsonar-scanner-cli-902a0cd77a8401963e5f5a4840efcd3cf10c827c.tar.gz
sonar-scanner-cli-902a0cd77a8401963e5f5a4840efcd3cf10c827c.zip
SONARUNNER-99 Remove references to sonar.libraries and sonar.binaries
Diffstat (limited to 'sonar-runner-api/src/main/java/org/sonar/runner')
-rw-r--r--sonar-runner-api/src/main/java/org/sonar/runner/api/RunnerProperties.java6
-rw-r--r--sonar-runner-api/src/main/java/org/sonar/runner/api/ScanProperties.java24
2 files changed, 8 insertions, 22 deletions
diff --git a/sonar-runner-api/src/main/java/org/sonar/runner/api/RunnerProperties.java b/sonar-runner-api/src/main/java/org/sonar/runner/api/RunnerProperties.java
index 0a855b7..73bb921 100644
--- a/sonar-runner-api/src/main/java/org/sonar/runner/api/RunnerProperties.java
+++ b/sonar-runner-api/src/main/java/org/sonar/runner/api/RunnerProperties.java
@@ -20,8 +20,8 @@
package org.sonar.runner.api;
/**
- * Mostly used properties that can be injected in {@link Runner#setProperty(String, String)}.
- * See <a href="http://docs.codehaus.org/pages/viewinfo.action?pageId=194314339">documentation</a> for more properties.
+ * Mostly used properties that can be passed to {@link EmbeddedRunner#addGlobalProperties(java.util.Properties)}.
+ * See <a href="http://docs.sonarqube.org/display/SONAR/Analysis+Parameters">documentation</a> for more properties.
*
* @since 2.2
*/
@@ -33,7 +33,9 @@ public interface RunnerProperties {
/**
* Task to execute, "scan" by default
+ * @deprecated since 2.5 No more task starting from SQ 5.2
*/
+ @Deprecated
String TASK = "sonar.task";
/**
diff --git a/sonar-runner-api/src/main/java/org/sonar/runner/api/ScanProperties.java b/sonar-runner-api/src/main/java/org/sonar/runner/api/ScanProperties.java
index 8d8154b..75d24c8 100644
--- a/sonar-runner-api/src/main/java/org/sonar/runner/api/ScanProperties.java
+++ b/sonar-runner-api/src/main/java/org/sonar/runner/api/ScanProperties.java
@@ -20,8 +20,8 @@
package org.sonar.runner.api;
/**
- * Most commonly used properties of the task "scan". These properties are injected in {@link Runner#setProperty(String, String)}.
- * See <a href="http://docs.codehaus.org/pages/viewinfo.action?pageId=194314339">documentation</a> for more properties.
+ * Most commonly used properties for a SonarQube analysis. These properties are passed to {@link EmbeddedRunner#runAnalysis(java.util.Properties)}.
+ * See <a href="http://docs.sonarqube.org/display/SONAR/Analysis+Parameters">documentation</a> for more properties.
*
* @since 2.2
*/
@@ -31,7 +31,9 @@ public interface ScanProperties {
* Default task
*
* @see RunnerProperties#TASK
+ * @deprecated since 2.5 No more task since SQ 5.2
*/
+ @Deprecated
String SCAN_TASK = "scan";
/**
@@ -65,24 +67,6 @@ public interface ScanProperties {
String PROJECT_TEST_DIRS = "sonar.tests";
/**
- * Optional paths to binaries, for example to declare the directory of Java bytecode. Example : "binDir"
- */
- String PROJECT_BINARY_DIRS = "sonar.binaries";
-
- /**
- * Optional comma-separated list of paths to libraries. Example : <code>path/to/library/*.jar,path/to/specific/library/myLibrary.jar,parent/*.jar</code>
- */
- String PROJECT_LIBRARIES = "sonar.libraries";
-
- String PROJECT_LANGUAGE = "sonar.language";
-
- /**
- * It becomes quickly necessary to input historical data and to highlight some events. It is possible by going for example in a subversion tag
- * and use this property. Format is yyyy-MM-dd, for example 2010-12-25.
- */
- String PROJECT_DATE = "sonar.projectDate";
-
- /**
* Property used to specify the base directory of the project to analyse. Default is ".".
*/
String PROJECT_BASEDIR = "sonar.projectBaseDir";