Skip to content
This repository was archived by the owner on Feb 24, 2021. It is now read-only.

Commit e140233

Browse files
committed
chore(deps): upgrade target SonarQube version to 7.9 LTS
1 parent d3c36fe commit e140233

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

sonarqube-plugin/Dockerfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
FROM sonarqube:6.7.4-alpine
1+
FROM sonarqube:7.9-community
22

3-
ENV SONAR_JAVA_VERSION=5.1.0.13090 \
4-
SONAR_FINDBUGS_VERSION=3.5.0
3+
ENV SONAR_FINDBUGS_VERSION=3.11.0
4+
ENV GUAVA_HELPER_VERSION=1.1.1-SNAPSHOT
55

6-
RUN wget -O $SONARQUBE_HOME/extensions/plugins/sonar-findbugs-plugin-$SONAR_FINDBUGS_VERSION.jar --no-verbose https://github.com/spotbugs/sonar-findbugs/releases/download/$SONAR_FINDBUGS_VERSION/sonar-findbugs-plugin.jar && \
7-
wget -O $SONARQUBE_HOME/extensions/plugins/sonar-java-plugin-$SONAR_JAVA_VERSION.jar --no-verbose http://central.maven.org/maven2/org/sonarsource/java/sonar-java-plugin/$SONAR_JAVA_VERSION/sonar-java-plugin-$SONAR_JAVA_VERSION.jar
8-
COPY target/guava-helper-sonarqube-plugin-1.0.6-SNAPSHOT.jar $SONARQUBE_HOME/extensions/plugins/
6+
RUN wget -O $SONARQUBE_HOME/extensions/plugins/sonar-findbugs-plugin-$SONAR_FINDBUGS_VERSION.jar --no-verbose https://github.com/spotbugs/sonar-findbugs/releases/download/$SONAR_FINDBUGS_VERSION/sonar-findbugs-plugin-$SONAR_FINDBUGS_VERSION.jar
7+
COPY target/guava-helper-sonarqube-plugin-$GUAVA_HELPER_VERSION.jar $SONARQUBE_HOME/extensions/plugins/

sonarqube-plugin/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ About the provided rules, see [README.md](../README.md#spotbugs-plugin) in this
77

88
|Guava Migration Helper Version|SonarQube Version|SonarJava Version|sonar-findbugs Version|
99
|----|----|----|----|
10+
|v1.1.0|v7.9.0|v5.13.1.18282|v3.11|
1011
|v1.0.5|v6.7.4|v5.1.0.13090|v3.5|
1112
|v1.0.4|v5.6.6|v4.0|v3.5|
1213

sonarqube-plugin/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<pluginDescription><![CDATA[Support migration from Guava to Java8]]></pluginDescription>
2323
<pluginClass>jp.skypencil.guava.SonarQubePlugin</pluginClass>
2424
<basePlugin>findbugs</basePlugin>
25-
<requirePlugins>findbugs:3.5</requirePlugins><!-- the version introduced SpotBugs 3.1 -->
25+
<requirePlugins>findbugs:3.11</requirePlugins><!-- the version introduced SpotBugs 3.1 -->
2626
<pluginUrl>https://github.com/KengoTODA/guava-helper-for-java-8</pluginUrl>
2727
<pluginSourcesUrl>https://github.com/KengoTODA/guava-helper-for-java-8</pluginSourcesUrl>
2828
</configuration>
@@ -84,13 +84,13 @@
8484
<dependency>
8585
<groupId>org.sonarsource.sonarqube</groupId>
8686
<artifactId>sonar-plugin-api</artifactId>
87-
<version>6.7.4</version><!-- Latest LTS release -->
87+
<version>7.9</version><!-- Latest LTS release -->
8888
<scope>provided</scope>
8989
</dependency>
9090
<dependency>
9191
<groupId>org.sonarsource.java</groupId>
9292
<artifactId>sonar-java-plugin</artifactId>
93-
<version>5.1.0.13090</version><!-- used by sonar-findbugs 3.7 -->
93+
<version>5.13.1.18282</version><!-- Bundled with SonarQube 7.9 -->
9494
<scope>provided</scope>
9595
</dependency>
9696
</dependencies>

0 commit comments

Comments
 (0)