diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-10-06 16:23:12 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-10-06 16:23:12 +0200 |
commit | 908cc2e6a99e616b8aaa4d84b5d498a4cdd154f5 (patch) | |
tree | b35367302de341d581ff793d2c52fb2ae0ceab30 /plugins | |
parent | e0646173d82a3613b2218e2bf8f119ff4a355ccd (diff) | |
parent | ca7e234b8d36a96a8d42a0e28a99c917cad9a460 (diff) | |
download | sonarqube-908cc2e6a99e616b8aaa4d84b5d498a4cdd154f5.tar.gz sonarqube-908cc2e6a99e616b8aaa4d84b5d498a4cdd154f5.zip |
Merge remote-tracking branch 'remotes/origin/branch-4.5'
Conflicts:
sonar-plugin-api/src/main/java/org/sonar/api/batch/SensorContext.java
sonar-plugin-api/src/main/java/org/sonar/api/batch/sensor/SensorContext.java
Diffstat (limited to 'plugins')
6 files changed, 19 insertions, 4 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/TreemapWidget.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/TreemapWidget.java index 615c9975883..e0787c4c5a8 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/TreemapWidget.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/TreemapWidget.java @@ -31,7 +31,7 @@ import org.sonar.api.web.WidgetPropertyType; @WidgetProperty(key = "colorMetric", type = WidgetPropertyType.METRIC, defaultValue = CoreMetrics.COVERAGE_KEY, options = {WidgetConstants.FILTER_OUT_NEW_METRICS, "type:PERCENT,RATING,LEVEL"}), @WidgetProperty(key = "heightInPercents", type = WidgetPropertyType.INTEGER, optional = true, defaultValue = "55"), - @WidgetProperty(key = "maxItems", type = WidgetPropertyType.INTEGER, defaultValue = "30") + @WidgetProperty(key = "maxItems", type = WidgetPropertyType.INTEGER, defaultValue = "100") }) public class TreemapWidget extends CoreWidget { public TreemapWidget() { diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/measures/MeasureFilterAsCloudWidget.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/measures/MeasureFilterAsCloudWidget.java index 9cb81247070..9bb13aa4225 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/measures/MeasureFilterAsCloudWidget.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/measures/MeasureFilterAsCloudWidget.java @@ -26,7 +26,7 @@ import org.sonar.plugins.core.widgets.WidgetConstants; import static org.sonar.api.web.WidgetScope.GLOBAL; -@WidgetCategory({"Filters", "Global"}) +@WidgetCategory({"Filters"}) @WidgetScope(GLOBAL) @WidgetProperties({ @WidgetProperty(key = "filter", type = WidgetPropertyType.FILTER, optional = false), @@ -34,7 +34,7 @@ import static org.sonar.api.web.WidgetScope.GLOBAL; @WidgetProperty(key = "sizeMetric", type = WidgetPropertyType.METRIC, defaultValue = CoreMetrics.COMPLEXITY_KEY, options = {WidgetConstants.FILTER_OUT_NEW_METRICS}), @WidgetProperty(key = "colorMetric", type = WidgetPropertyType.METRIC, defaultValue = CoreMetrics.COVERAGE_KEY, options = { WidgetConstants.FILTER_OUT_NEW_METRICS, "type:PERCENT" }), - @WidgetProperty(key = "maxItems", type = WidgetPropertyType.INTEGER, defaultValue = "100"), + @WidgetProperty(key = "maxItems", type = WidgetPropertyType.INTEGER, defaultValue = "100") }) public class MeasureFilterAsCloudWidget extends CoreWidget { diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/measures/MeasureFilterAsPieChartWidget.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/measures/MeasureFilterAsPieChartWidget.java index 813a22b6e6f..f3a057b4fe9 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/measures/MeasureFilterAsPieChartWidget.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/measures/MeasureFilterAsPieChartWidget.java @@ -40,7 +40,7 @@ import static org.sonar.api.web.WidgetScope.GLOBAL; public class MeasureFilterAsPieChartWidget extends CoreWidget { public MeasureFilterAsPieChartWidget() { - super("measure_filter_pie_chart", "Measure Filter as Pie Chart", "/org/sonar/plugins/core/widgets/measures/measure_filter_pie_chart.html.erb"); + super("measure_filter_pie_chart", "Measure Filter as Donut Chart", "/org/sonar/plugins/core/widgets/measures/measure_filter_pie_chart.html.erb"); } } diff --git a/plugins/sonar-cpd-plugin/pom.xml b/plugins/sonar-cpd-plugin/pom.xml index 0cbacd25785..a6c89a9a531 100644 --- a/plugins/sonar-cpd-plugin/pom.xml +++ b/plugins/sonar-cpd-plugin/pom.xml @@ -41,6 +41,11 @@ <artifactId>sonar-plugin-api</artifactId> <scope>provided</scope> </dependency> + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <scope>provided</scope> + </dependency> <!-- unit tests --> <dependency> diff --git a/plugins/sonar-dbcleaner-plugin/pom.xml b/plugins/sonar-dbcleaner-plugin/pom.xml index 5857b5a0f3a..420f5e189bc 100644 --- a/plugins/sonar-dbcleaner-plugin/pom.xml +++ b/plugins/sonar-dbcleaner-plugin/pom.xml @@ -35,6 +35,11 @@ <artifactId>sonar-deprecated</artifactId> <scope>provided</scope> </dependency> + <dependency> + <groupId>commons-lang</groupId> + <artifactId>commons-lang</artifactId> + <scope>provided</scope> + </dependency> <!-- unit tests --> <dependency> diff --git a/plugins/sonar-email-notifications-plugin/pom.xml b/plugins/sonar-email-notifications-plugin/pom.xml index 3d78b68cc60..adcf67041a8 100644 --- a/plugins/sonar-email-notifications-plugin/pom.xml +++ b/plugins/sonar-email-notifications-plugin/pom.xml @@ -31,6 +31,11 @@ <artifactId>commons-email</artifactId> <version>1.3.2</version> </dependency> + <dependency> + <groupId>commons-lang</groupId> + <artifactId>commons-lang</artifactId> + <scope>provided</scope> + </dependency> <!-- unit tests --> <dependency> |