|
5 | 5 | <groupId>fr.cnes.sonar.plugins.scan</groupId> |
6 | 6 | <artifactId>sonar-cnes-scan-plugin</artifactId> |
7 | 7 | <packaging>sonar-plugin</packaging> |
8 | | - <version>1.5</version> |
| 8 | + <version>2.0</version> |
9 | 9 |
|
10 | 10 | <name>SonarQube CNES Scan Plugin</name> |
11 | 11 | <description>CNES plugin for SonarQube that launches analysis directly from the web interface and export reports.</description> |
12 | 12 |
|
13 | 13 | <properties> |
14 | 14 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
15 | | - <sonar.apiVersion>7.9</sonar.apiVersion> |
16 | | - <sonar.sslr-squid-bridge.version>2.6.1</sonar.sslr-squid-bridge.version> |
17 | | - <sonar-packaging-maven-plugin.version>1.17</sonar-packaging-maven-plugin.version> |
18 | | - <commons-lang.version>3.7</commons-lang.version> |
19 | | - <gson.version>2.8.2</gson.version> |
20 | | - <junit.version>4.11</junit.version> |
21 | | - <jdk.min.version>1.8</jdk.min.version> |
| 15 | + <sonar.api.version>9.14.0.375</sonar.api.version> |
| 16 | + <sonar.addons.version>10.6.0.92116</sonar.addons.version> |
| 17 | + <commons.lang3.version>3.14.0</commons.lang3.version> |
| 18 | + <gson.version>2.11.0</gson.version> |
| 19 | + <junit.jupiter.api.version>5.11.0-M2</junit.jupiter.api.version> |
| 20 | + <jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version> |
| 21 | + <jdk.version>17</jdk.version> |
22 | 22 | <pluginUrl>https://cnes.fr</pluginUrl> |
23 | 23 | <pluginOrganizationName>CNES</pluginOrganizationName> |
24 | | - <jacoco.version>0.8.4</jacoco.version> |
25 | 24 | </properties> |
26 | 25 |
|
27 | 26 | <licenses> |
|
47 | 46 | <organization>CNES</organization> |
48 | 47 | <organizationUrl>https://cnes.fr/</organizationUrl> |
49 | 48 | </developer> |
| 49 | + <developer> |
| 50 | + <id>Topin2001</id> |
| 51 | + <name>Topin</name> |
| 52 | + </developer> |
50 | 53 | </developers> |
51 | 54 |
|
52 | 55 | <dependencies> |
| 56 | + <!-- https://mvnrepository.com/artifact/org.sonarsource.api.plugin/sonar-plugin-api --> |
53 | 57 | <dependency> |
54 | | - <groupId>org.sonarsource.sonarqube</groupId> |
| 58 | + <groupId>org.sonarsource.api.plugin</groupId> |
55 | 59 | <artifactId>sonar-plugin-api</artifactId> |
56 | | - <version>${sonar.apiVersion}</version> |
| 60 | + <version>${sonar.api.version}</version> |
57 | 61 | <scope>provided</scope> |
58 | 62 | </dependency> |
| 63 | + <!-- https://mvnrepository.com/artifact/org.sonarsource.sonarqube/sonar-ws --> |
59 | 64 | <dependency> |
60 | 65 | <groupId>org.sonarsource.sonarqube</groupId> |
61 | 66 | <artifactId>sonar-ws</artifactId> |
62 | | - <version>${sonar.apiVersion}</version> |
63 | | - <scope>compile</scope> |
| 67 | + <version>${sonar.addons.version}</version> |
| 68 | + </dependency> |
| 69 | + <!-- https://mvnrepository.com/artifact/org.sonarsource.sonarqube/sonar-plugin-api-impl --> |
| 70 | + <dependency> |
| 71 | + <groupId>org.sonarsource.sonarqube</groupId> |
| 72 | + <artifactId>sonar-plugin-api-impl</artifactId> |
| 73 | + <version>${sonar.addons.version}</version> |
| 74 | + <scope>test</scope> |
64 | 75 | </dependency> |
| 76 | + <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 --> |
65 | 77 | <dependency> |
66 | | - <!-- packaged with the plugin --> |
67 | 78 | <groupId>org.apache.commons</groupId> |
68 | 79 | <artifactId>commons-lang3</artifactId> |
69 | | - <version>${commons-lang.version}</version> |
| 80 | + <version>${commons.lang3.version}</version> |
70 | 81 | </dependency> |
| 82 | + <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson --> |
71 | 83 | <dependency> |
72 | | - <!-- json parsing --> |
73 | 84 | <groupId>com.google.code.gson</groupId> |
74 | 85 | <artifactId>gson</artifactId> |
75 | 86 | <version>${gson.version}</version> |
76 | 87 | </dependency> |
77 | 88 |
|
78 | 89 |
|
79 | 90 | <!-- unit tests --> |
| 91 | + <!-- https://mvnrepository.com/artifact/org.sonarsource.sonarqube/sonar-testing-harness --> |
80 | 92 | <dependency> |
81 | 93 | <groupId>org.sonarsource.sonarqube</groupId> |
82 | 94 | <artifactId>sonar-testing-harness</artifactId> |
83 | | - <version>${sonar.apiVersion}</version> |
| 95 | + <version>${sonar.addons.version}</version> |
84 | 96 | <scope>test</scope> |
85 | 97 | </dependency> |
| 98 | + <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api --> |
86 | 99 | <dependency> |
87 | | - <groupId>org.sonarsource.sslr-squid-bridge</groupId> |
88 | | - <artifactId>sslr-squid-bridge</artifactId> |
89 | | - <version>${sonar.sslr-squid-bridge.version}</version> |
90 | | - <exclusions> |
91 | | - <exclusion> |
92 | | - <groupId>org.codehaus.sonar</groupId> |
93 | | - <artifactId>sonar-plugin-api</artifactId> |
94 | | - </exclusion> |
95 | | - <exclusion> |
96 | | - <groupId>org.codehaus.sonar.sslr</groupId> |
97 | | - <artifactId>sslr-core</artifactId> |
98 | | - </exclusion> |
99 | | - <exclusion> |
100 | | - <groupId>org.picocontainer</groupId> |
101 | | - <artifactId>picocontainer</artifactId> |
102 | | - </exclusion> |
103 | | - </exclusions> |
104 | | - </dependency> |
105 | | - <dependency> |
106 | | - <groupId>junit</groupId> |
107 | | - <artifactId>junit</artifactId> |
108 | | - <version>${junit.version}</version> |
109 | | - <scope>test</scope> |
110 | | - </dependency> |
111 | | - <dependency> |
112 | | - <groupId>org.codehaus.sonar</groupId> |
113 | | - <artifactId>sonar-testing-harness</artifactId> |
114 | | - <version>4.2</version> |
| 100 | + <groupId>org.junit.jupiter</groupId> |
| 101 | + <artifactId>junit-jupiter-api</artifactId> |
| 102 | + <version>${junit.jupiter.api.version}</version> |
115 | 103 | <scope>test</scope> |
116 | 104 | </dependency> |
117 | 105 | </dependencies> |
|
121 | 109 | <plugin> |
122 | 110 | <groupId>org.sonarsource.sonar-packaging-maven-plugin</groupId> |
123 | 111 | <artifactId>sonar-packaging-maven-plugin</artifactId> |
124 | | - <version>${sonar-packaging-maven-plugin.version}</version> |
| 112 | + <version>1.23.0.740</version> |
125 | 113 | <extensions>true</extensions> |
126 | 114 | <configuration> |
127 | 115 | <jarName>sonar-cnes-scan-plugin</jarName> |
|
132 | 120 | <plugin> |
133 | 121 | <groupId>org.apache.maven.plugins</groupId> |
134 | 122 | <artifactId>maven-compiler-plugin</artifactId> |
135 | | - <version>3.5.1</version> |
| 123 | + <version>3.13.0</version> |
136 | 124 | <configuration> |
137 | | - <source>${jdk.min.version}</source> |
138 | | - <target>${jdk.min.version}</target> |
| 125 | + <source>${jdk.version}</source> |
| 126 | + <target>${jdk.version}</target> |
139 | 127 | </configuration> |
140 | 128 | </plugin> |
141 | 129 | <plugin> |
142 | 130 | <!-- UTF-8 bundles are not supported by Java, so they must be converted during build --> |
143 | 131 | <groupId>org.codehaus.mojo</groupId> |
144 | 132 | <artifactId>native2ascii-maven-plugin</artifactId> |
145 | | - <version>1.0-beta-1</version> |
146 | | - <executions> |
147 | | - <execution> |
148 | | - <goals> |
149 | | - <goal>native2ascii</goal> |
150 | | - </goals> |
151 | | - </execution> |
152 | | - </executions> |
| 133 | + <version>2.1.0</version> |
153 | 134 | </plugin> |
154 | | - |
155 | 135 | <plugin> |
156 | 136 | <groupId>org.apache.maven.plugins</groupId> |
157 | 137 | <artifactId>maven-project-info-reports-plugin</artifactId> |
158 | | - <version>2.9</version> |
159 | | - <configuration> |
160 | | - <dependencyLocationsEnabled>false</dependencyLocationsEnabled> |
161 | | - </configuration> |
| 138 | + <version>3.6.0</version> |
162 | 139 | </plugin> |
163 | | - |
164 | 140 | <plugin> |
165 | 141 | <groupId>org.jacoco</groupId> |
166 | 142 | <artifactId>jacoco-maven-plugin</artifactId> |
167 | | - <version>${jacoco.version}</version> |
| 143 | + <version>${jacoco-maven-plugin.version}</version> |
168 | 144 | <executions> |
169 | 145 | <execution> |
170 | 146 | <id>prepare-agent</id> |
|
0 commit comments