Skip to content

Commit 618abac

Browse files
fabiogermannjavamachr
authored andcommitted
feat: upgraded dependencies and code/tests to work with 2025.01
1 parent e3f46c4 commit 618abac

File tree

66 files changed

+396
-582
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+396
-582
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup java
2121
uses: actions/setup-java@v2
2222
with:
23-
java-version: 11
23+
java-version: 21
2424
distribution: "temurin"
2525

2626
- name: mvn clean verify

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup java
2121
uses: actions/setup-java@v2
2222
with:
23-
java-version: 11
23+
java-version: 21
2424
distribution: "temurin"
2525

2626
- name: mvn clean verify package

pom.xml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,28 @@
66
<parent>
77
<groupId>org.sonarsource.parent</groupId>
88
<artifactId>parent</artifactId>
9-
<version>60.0.52</version>
9+
<version>83.0.0.2369</version>
1010
</parent>
1111
<groupId>com.talanlabs</groupId>
1212
<artifactId>sonar-gitlab-plugin</artifactId>
13-
<version>5.4.0</version>
13+
<version>2025.01</version>
1414
<name>SonarQube :: GitLab Plugin</name>
1515
<description>GitLab Plugin for Reporting</description>
1616
<packaging>sonar-plugin</packaging>
1717
<url>https://github.com/javamachr/sonar-gitlab-plugin</url>
1818
<properties>
19-
<maven.compiler.release>11</maven.compiler.release>
20-
<maven.compiler.source>11</maven.compiler.source>
21-
<maven.compiler.target>11</maven.compiler.target>
19+
<maven.compiler.release>17</maven.compiler.release>
20+
<maven.compiler.source>17</maven.compiler.source>
21+
<maven.compiler.target>17</maven.compiler.target>
2222
<java-gitlab-api.version>1.5.0</java-gitlab-api.version>
2323
<freemarker.version>2.3.31</freemarker.version>
2424
<commons-text.version>1.9</commons-text.version>
2525

2626
<license.mailto>gabriel.allaigre@gmail.com</license.mailto>
2727
<license.owner>Talanlabs</license.owner>
2828

29-
<sonar.version>9.9.0.65466</sonar.version>
29+
<sonar.version>25.1.0.102122</sonar.version>
30+
<sonar-api.version>11.0.0.2664</sonar-api.version>
3031
<sonar.pluginName>GitLab</sonar.pluginName>
3132
<sonar.pluginClass>com.talanlabs.sonar.plugins.gitlab.GitLabPlugin</sonar.pluginClass>
3233

@@ -35,7 +36,7 @@
3536
<!-- Release: enable publication to Bintray -->
3637
<artifactsToPublish>${project.groupId}:${project.artifactId}:jar</artifactsToPublish>
3738

38-
<jacoco-maven-plugin.version>0.8.7</jacoco-maven-plugin.version>
39+
<jacoco-maven-plugin.version>0.8.9</jacoco-maven-plugin.version>
3940
<jacoco.ut.execution.data.file>${project.build.directory}/coverage-reports/jacoco-ut.exec</jacoco.ut.execution.data.file>
4041

4142
<sonar.jacoco.reportPaths>${jacoco.ut.execution.data.file}</sonar.jacoco.reportPaths>
@@ -142,7 +143,7 @@
142143
<dependency>
143144
<groupId>org.sonarsource.api.plugin</groupId>
144145
<artifactId>sonar-plugin-api</artifactId>
145-
<version>9.14.0.375</version>
146+
<version>${sonar-api.version}</version>
146147
<scope>provided</scope>
147148
</dependency>
148149
<dependency>
@@ -180,7 +181,7 @@
180181
<dependency>
181182
<groupId>com.google.guava</groupId>
182183
<artifactId>guava</artifactId>
183-
<version>31.0.1-jre</version>
184+
<version>33.4.0-jre</version>
184185
</dependency>
185186
<!-- unit tests -->
186187
<dependency>
@@ -192,13 +193,13 @@
192193
<dependency>
193194
<groupId>org.assertj</groupId>
194195
<artifactId>assertj-core</artifactId>
195-
<version>3.22.0</version>
196+
<version>3.27.3</version>
196197
<scope>test</scope>
197198
</dependency>
198199
<dependency>
199200
<groupId>org.mockito</groupId>
200201
<artifactId>mockito-core</artifactId>
201-
<version>4.3.1</version>
202+
<version>5.15.2</version>
202203
<scope>test</scope>
203204
<exclusions>
204205
<exclusion>

src/main/java/com/talanlabs/sonar/plugins/gitlab/AbstractCommentBuilder.java

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
/*
22
* SonarQube :: GitLab Plugin
3-
* Copyright (C) 2016-2022 Talanlabs
3+
* Copyright (C) 2016-2025 Talanlabs
44
* gabriel.allaigre@gmail.com
55
*
66
* This program is free software; you can redistribute it and/or
7-
* modify it under the terms of the GNU Lesser General Public
8-
* License as published by the Free Software Foundation; either
9-
* version 3 of the License, or (at your option) any later version.
7+
* modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA.
108
*
119
* This program is distributed in the hope that it will be useful,
1210
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14-
* Lesser General Public License for more details.
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12+
* See the Sonar Source-Available License for more details.
1513
*
16-
* You should have received a copy of the GNU Lesser General Public License
17-
* along with this program; if not, write to the Free Software Foundation,
18-
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14+
* You should have received a copy of the Sonar Source-Available License
15+
* along with this program; if not, see https://sonarsource.com/license/ssal/
1916
*/
2017
package com.talanlabs.sonar.plugins.gitlab;
2118

src/main/java/com/talanlabs/sonar/plugins/gitlab/BuildInitState.java

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
/*
22
* SonarQube :: GitLab Plugin
3-
* Copyright (C) 2016-2022 Talanlabs
3+
* Copyright (C) 2016-2025 Talanlabs
44
* gabriel.allaigre@gmail.com
55
*
66
* This program is free software; you can redistribute it and/or
7-
* modify it under the terms of the GNU Lesser General Public
8-
* License as published by the Free Software Foundation; either
9-
* version 3 of the License, or (at your option) any later version.
7+
* modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA.
108
*
119
* This program is distributed in the hope that it will be useful,
1210
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14-
* Lesser General Public License for more details.
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12+
* See the Sonar Source-Available License for more details.
1513
*
16-
* You should have received a copy of the GNU Lesser General Public License
17-
* along with this program; if not, write to the Free Software Foundation,
18-
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14+
* You should have received a copy of the Sonar Source-Available License
15+
* along with this program; if not, see https://sonarsource.com/license/ssal/
1916
*/
2017
package com.talanlabs.sonar.plugins.gitlab;
2118

src/main/java/com/talanlabs/sonar/plugins/gitlab/CommitFacade.java

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
/*
22
* SonarQube :: GitLab Plugin
3-
* Copyright (C) 2016-2022 Talanlabs
3+
* Copyright (C) 2016-2025 Talanlabs
44
* gabriel.allaigre@gmail.com
55
*
66
* This program is free software; you can redistribute it and/or
7-
* modify it under the terms of the GNU Lesser General Public
8-
* License as published by the Free Software Foundation; either
9-
* version 3 of the License, or (at your option) any later version.
7+
* modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA.
108
*
119
* This program is distributed in the hope that it will be useful,
1210
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14-
* Lesser General Public License for more details.
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12+
* See the Sonar Source-Available License for more details.
1513
*
16-
* You should have received a copy of the GNU Lesser General Public License
17-
* along with this program; if not, write to the Free Software Foundation,
18-
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14+
* You should have received a copy of the Sonar Source-Available License
15+
* along with this program; if not, see https://sonarsource.com/license/ssal/
1916
*/
2017
package com.talanlabs.sonar.plugins.gitlab;
2118

src/main/java/com/talanlabs/sonar/plugins/gitlab/CommitPublishPostJob.java

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
/*
22
* SonarQube :: GitLab Plugin
3-
* Copyright (C) 2016-2022 Talanlabs
3+
* Copyright (C) 2016-2025 Talanlabs
44
* gabriel.allaigre@gmail.com
55
*
66
* This program is free software; you can redistribute it and/or
7-
* modify it under the terms of the GNU Lesser General Public
8-
* License as published by the Free Software Foundation; either
9-
* version 3 of the License, or (at your option) any later version.
7+
* modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA.
108
*
119
* This program is distributed in the hope that it will be useful,
1210
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14-
* Lesser General Public License for more details.
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12+
* See the Sonar Source-Available License for more details.
1513
*
16-
* You should have received a copy of the GNU Lesser General Public License
17-
* along with this program; if not, write to the Free Software Foundation,
18-
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14+
* You should have received a copy of the Sonar Source-Available License
15+
* along with this program; if not, see https://sonarsource.com/license/ssal/
1916
*/
2017
package com.talanlabs.sonar.plugins.gitlab;
2118

src/main/java/com/talanlabs/sonar/plugins/gitlab/GitLabApiV4Wrapper.java

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
/*
22
* SonarQube :: GitLab Plugin
3-
* Copyright (C) 2016-2022 Talanlabs
3+
* Copyright (C) 2016-2025 Talanlabs
44
* gabriel.allaigre@gmail.com
55
*
66
* This program is free software; you can redistribute it and/or
7-
* modify it under the terms of the GNU Lesser General Public
8-
* License as published by the Free Software Foundation; either
9-
* version 3 of the License, or (at your option) any later version.
7+
* modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA.
108
*
119
* This program is distributed in the hope that it will be useful,
1210
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14-
* Lesser General Public License for more details.
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12+
* See the Sonar Source-Available License for more details.
1513
*
16-
* You should have received a copy of the GNU Lesser General Public License
17-
* along with this program; if not, write to the Free Software Foundation,
18-
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14+
* You should have received a copy of the Sonar Source-Available License
15+
* along with this program; if not, see https://sonarsource.com/license/ssal/
1916
*/
2017
package com.talanlabs.sonar.plugins.gitlab;
2118

src/main/java/com/talanlabs/sonar/plugins/gitlab/GitLabPlugin.java

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
/*
22
* SonarQube :: GitLab Plugin
3-
* Copyright (C) 2016-2022 Talanlabs
3+
* Copyright (C) 2016-2025 Talanlabs
44
* gabriel.allaigre@gmail.com
55
*
66
* This program is free software; you can redistribute it and/or
7-
* modify it under the terms of the GNU Lesser General Public
8-
* License as published by the Free Software Foundation; either
9-
* version 3 of the License, or (at your option) any later version.
7+
* modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA.
108
*
119
* This program is distributed in the hope that it will be useful,
1210
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14-
* Lesser General Public License for more details.
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12+
* See the Sonar Source-Available License for more details.
1513
*
16-
* You should have received a copy of the GNU Lesser General Public License
17-
* along with this program; if not, write to the Free Software Foundation,
18-
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14+
* You should have received a copy of the Sonar Source-Available License
15+
* along with this program; if not, see https://sonarsource.com/license/ssal/
1916
*/
2017
package com.talanlabs.sonar.plugins.gitlab;
2118

src/main/java/com/talanlabs/sonar/plugins/gitlab/GitLabPluginConfiguration.java

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
/*
22
* SonarQube :: GitLab Plugin
3-
* Copyright (C) 2016-2022 Talanlabs
3+
* Copyright (C) 2016-2025 Talanlabs
44
* gabriel.allaigre@gmail.com
55
*
66
* This program is free software; you can redistribute it and/or
7-
* modify it under the terms of the GNU Lesser General Public
8-
* License as published by the Free Software Foundation; either
9-
* version 3 of the License, or (at your option) any later version.
7+
* modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA.
108
*
119
* This program is distributed in the hope that it will be useful,
1210
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14-
* Lesser General Public License for more details.
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12+
* See the Sonar Source-Available License for more details.
1513
*
16-
* You should have received a copy of the GNU Lesser General Public License
17-
* along with this program; if not, write to the Free Software Foundation,
18-
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14+
* You should have received a copy of the Sonar Source-Available License
15+
* along with this program; if not, see https://sonarsource.com/license/ssal/
1916
*/
2017
package com.talanlabs.sonar.plugins.gitlab;
2118

0 commit comments

Comments
 (0)