|
1 |
| -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
2 | 3 | <modelVersion>4.0.0</modelVersion>
|
3 | 4 |
|
4 | 5 | <groupId>net.continuous-security-tools</groupId>
|
|
40 | 41 | </prerequisites>
|
41 | 42 |
|
42 | 43 | <distributionManagement>
|
43 |
| - <repository> |
44 |
| - <id>github</id> |
45 |
| - <name>GitHub Packages</name> |
46 |
| - <url>https://maven.pkg.github.com/ContinuousSecurityTooling/keycloak-auditor</url> |
47 |
| - </repository> |
| 44 | + <repository> |
| 45 | + <id>github</id> |
| 46 | + <name>GitHub Packages</name> |
| 47 | + <url>https://maven.pkg.github.com/ContinuousSecurityTooling/keycloak-auditor</url> |
| 48 | + </repository> |
48 | 49 | </distributionManagement>
|
49 | 50 |
|
| 51 | + |
50 | 52 | <issueManagement>
|
51 | 53 | <url>https://github.com/ContinuousSecurityTooling/keycloak-auditor/issues</url>
|
52 | 54 | <system>GitHub Issues</system>
|
|
63 | 65 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
64 | 66 | <project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
|
65 | 67 | <encoding>UTF-8</encoding>
|
66 |
| - <surefire.argLine /> |
| 68 | + <surefire.argLine/> |
67 | 69 |
|
68 | 70 | <java.version>17</java.version>
|
69 | 71 |
|
|
72 | 74 | <sonar.host.url>https://sonarcloud.io</sonar.host.url>
|
73 | 75 | <!-- Point the Sonar Qube Plugin always to the same aggregated JaCoCo report -->
|
74 | 76 | <sonar.coverage.jacoco.xmlReportPaths>
|
75 |
| - ${project.basedir}/../spi/target/site/jacoco/jacoco.xml |
| 77 | + ${project.basedir}/../spi/target/site/jacoco/jacoco.xml |
76 | 78 | </sonar.coverage.jacoco.xmlReportPaths>
|
77 | 79 |
|
78 | 80 | <!-- logging dependencies -->
|
|
109 | 111 | <maven-javadoc-plugin.version>2.10.4</maven-javadoc-plugin.version>
|
110 | 112 | <plugin.gitflow-maven.version>1.21.0</plugin.gitflow-maven.version>
|
111 | 113 | <typescript-generator-maven-plugin.version>3.2.1263</typescript-generator-maven-plugin.version>
|
| 114 | + <maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version> |
| 115 | + <nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version> |
112 | 116 |
|
113 | 117 | </properties>
|
114 | 118 |
|
|
194 | 198 | <scope>test</scope>
|
195 | 199 | </dependency>
|
196 | 200 | <dependency>
|
197 |
| - <groupId>org.mockito</groupId> |
198 |
| - <artifactId>mockito-junit-jupiter</artifactId> |
199 |
| - <version>${mockito.version}</version> |
200 |
| - <scope>test</scope> |
| 201 | + <groupId>org.mockito</groupId> |
| 202 | + <artifactId>mockito-junit-jupiter</artifactId> |
| 203 | + <version>${mockito.version}</version> |
| 204 | + <scope>test</scope> |
201 | 205 | </dependency>
|
202 | 206 | <dependency>
|
203 | 207 | <groupId>org.hamcrest</groupId>
|
|
238 | 242 | <artifactId>mockito-core</artifactId>
|
239 | 243 | </dependency>
|
240 | 244 | <dependency>
|
241 |
| - <groupId>org.mockito</groupId> |
242 |
| - <artifactId>mockito-junit-jupiter</artifactId> |
| 245 | + <groupId>org.mockito</groupId> |
| 246 | + <artifactId>mockito-junit-jupiter</artifactId> |
243 | 247 | </dependency>
|
244 | 248 | <dependency>
|
245 |
| - <groupId>org.junit-pioneer</groupId> |
246 |
| - <artifactId>junit-pioneer</artifactId> |
247 |
| - <version>2.2.0</version> |
248 |
| - <scope>test</scope> |
| 249 | + <groupId>org.junit-pioneer</groupId> |
| 250 | + <artifactId>junit-pioneer</artifactId> |
| 251 | + <version>2.2.0</version> |
| 252 | + <scope>test</scope> |
249 | 253 | </dependency>
|
250 | 254 | </dependencies>
|
251 | 255 |
|
|
270 | 274 | <threadCount>1</threadCount>
|
271 | 275 | <perCoreThreadCount>false</perCoreThreadCount>
|
272 | 276 | <argLine>
|
273 |
| - @{surefire.argLine} --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED |
| 277 | + @{surefire.argLine} --add-opens java.base/java.util=ALL-UNNAMED --add-opens |
| 278 | + java.base/java.lang=ALL-UNNAMED |
274 | 279 | </argLine>
|
275 | 280 | </configuration>
|
276 | 281 | </plugin>
|
|
298 | 303 | <onlyWhenRelease>true</onlyWhenRelease>
|
299 | 304 | </requireReleaseDeps>
|
300 | 305 |
|
301 |
| - <banDuplicatePomDependencyVersions /> |
| 306 | + <banDuplicatePomDependencyVersions/> |
302 | 307 |
|
303 |
| - <dependencyConvergence /> |
| 308 | + <dependencyConvergence/> |
304 | 309 | </rules>
|
305 | 310 | </configuration>
|
306 | 311 | </plugin>
|
|
310 | 315 | <artifactId>versions-maven-plugin</artifactId>
|
311 | 316 | <version>${maven-versions-plugin.version}</version>
|
312 | 317 | </plugin>
|
313 |
| - <!-- Coverage metering --> |
314 |
| - <plugin> |
315 |
| - <groupId>org.jacoco</groupId> |
316 |
| - <artifactId>jacoco-maven-plugin</artifactId> |
317 |
| - <version>${jacoco.version}</version> |
318 |
| - <executions> |
319 |
| - <execution> |
320 |
| - <goals> |
321 |
| - <goal>prepare-agent</goal> |
322 |
| - </goals> |
323 |
| - <configuration> |
324 |
| - <propertyName>surefire.argLine</propertyName> |
325 |
| - </configuration> |
326 |
| - </execution> |
327 |
| - <!-- attached to Maven test phase --> |
328 |
| - <execution> |
329 |
| - <id>report</id> |
330 |
| - <phase>test</phase> |
331 |
| - <goals> |
332 |
| - <goal>report</goal> |
333 |
| - </goals> |
334 |
| - <configuration> |
335 |
| - <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory> |
336 |
| - </configuration> |
337 |
| - </execution> |
338 |
| - </executions> |
339 |
| - </plugin> |
340 |
| - |
| 318 | + <!-- Coverage metering --> |
341 | 319 | <plugin>
|
342 |
| - <artifactId>maven-release-plugin</artifactId> |
343 |
| - <version>3.1.1</version> |
344 |
| - <configuration> |
345 |
| - <tagNameFormat>v@{project.version}</tagNameFormat> |
346 |
| - </configuration> |
| 320 | + <groupId>org.jacoco</groupId> |
| 321 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 322 | + <version>${jacoco.version}</version> |
| 323 | + <executions> |
| 324 | + <execution> |
| 325 | + <goals> |
| 326 | + <goal>prepare-agent</goal> |
| 327 | + </goals> |
| 328 | + <configuration> |
| 329 | + <propertyName>surefire.argLine</propertyName> |
| 330 | + </configuration> |
| 331 | + </execution> |
| 332 | + <!-- attached to Maven test phase --> |
| 333 | + <execution> |
| 334 | + <id>report</id> |
| 335 | + <phase>test</phase> |
| 336 | + <goals> |
| 337 | + <goal>report</goal> |
| 338 | + </goals> |
| 339 | + <configuration> |
| 340 | + <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory> |
| 341 | + </configuration> |
| 342 | + </execution> |
| 343 | + </executions> |
347 | 344 | </plugin>
|
348 | 345 | </plugins>
|
349 |
| - |
350 | 346 | </build>
|
351 |
| - |
| 347 | + <profiles> |
| 348 | + |
| 349 | + <profile> |
| 350 | + <id>central-publish</id> |
| 351 | + |
| 352 | + <distributionManagement> |
| 353 | + <snapshotRepository> |
| 354 | + <id>ossrh</id> |
| 355 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 356 | + </snapshotRepository> |
| 357 | + <repository> |
| 358 | + <id>ossrh</id> |
| 359 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 360 | + </repository> |
| 361 | + </distributionManagement> |
| 362 | + <build> |
| 363 | + <plugins> |
| 364 | + <plugin> |
| 365 | + <artifactId>maven-release-plugin</artifactId> |
| 366 | + <version>3.1.1</version> |
| 367 | + <configuration> |
| 368 | + <tagNameFormat>v@{project.version}</tagNameFormat> |
| 369 | + </configuration> |
| 370 | + </plugin> |
| 371 | + <plugin> |
| 372 | + <groupId>org.apache.maven.plugins</groupId> |
| 373 | + <artifactId>maven-gpg-plugin</artifactId> |
| 374 | + <version>${maven-gpg-plugin.version}</version> |
| 375 | + <executions> |
| 376 | + <execution> |
| 377 | + <id>sign-artifacts</id> |
| 378 | + <phase>verify</phase> |
| 379 | + <goals> |
| 380 | + <goal>sign</goal> |
| 381 | + </goals> |
| 382 | + <configuration> |
| 383 | + <signer>bc</signer> |
| 384 | + </configuration> |
| 385 | + </execution> |
| 386 | + </executions> |
| 387 | + </plugin> |
| 388 | + <plugin> |
| 389 | + <groupId>org.sonatype.plugins</groupId> |
| 390 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 391 | + <version>${nexus-staging-maven-plugin.version}</version> |
| 392 | + <extensions>true</extensions> |
| 393 | + <configuration> |
| 394 | + <serverId>ossrh</serverId> |
| 395 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 396 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 397 | + </configuration> |
| 398 | + </plugin> |
| 399 | + </plugins> |
| 400 | + </build> |
| 401 | + </profile> |
| 402 | + </profiles> |
352 | 403 | </project>
|
0 commit comments