Skip to content

Commit eab0ab1

Browse files
committed
build: remove sonarcloud profile and update cyclonedx plugin
- remove the unused 'sonarcloud' Maven profile along with its plugin definition and version property - also bump dep.plugin.cyclonedx.version from 2.9.1 to 2.9.2
1 parent 4b5701b commit eab0ab1

1 file changed

Lines changed: 2 additions & 41 deletions

File tree

pom.xml

Lines changed: 2 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@
6060
<connection>scm:git:ssh//git@github.com/${developerId}/${project.artifactId}.git</connection>
6161
<developerConnection>scm:git:ssh://git@github.com/${developerId}/${project.artifactId}.git</developerConnection>
6262
<url>https://github.com/${developerId}/${project.artifactId}/tree/master</url>
63-
<tag></tag>
64-
</scm>
63+
</scm>
6564

6665
<issueManagement>
6766
<system>Github</system>
@@ -111,8 +110,7 @@
111110

112111
<!-- additional plugins not defined in parent -->
113112
<dep.plugin.sortpom.version>4.0.0</dep.plugin.sortpom.version>
114-
<dep.plugin.sonar.version>5.5.0.6356</dep.plugin.sonar.version>
115-
<dep.plugin.cyclonedx.version>2.9.1</dep.plugin.cyclonedx.version>
113+
<dep.plugin.cyclonedx.version>2.9.2</dep.plugin.cyclonedx.version>
116114
<dep.plugin.versions.version>2.21.0</dep.plugin.versions.version>
117115

118116
<basepom.deploy.snapshot.url>https://central.sonatype.com/repository/maven-snapshots/</basepom.deploy.snapshot.url>
@@ -447,43 +445,6 @@
447445
</distributionManagement>
448446
</profile>
449447

450-
<profile>
451-
<!-- mvn verify -P sonarcloud -->
452-
<id>sonarcloud</id>
453-
<activation>
454-
<activeByDefault>false</activeByDefault>
455-
</activation>
456-
<properties>
457-
<sonar.skip>false</sonar.skip>
458-
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
459-
<sonar.organization>${developerId}</sonar.organization>
460-
<sonar.projectKey>${project.groupId}:${project.artifactId}</sonar.projectKey>
461-
462-
<!-- sonar.token>YOUR_TOKEN_HERE</sonar.token -->
463-
464-
<basepom.test.skip>true</basepom.test.skip>
465-
<basepom.check.skip-all>true</basepom.check.skip-all>
466-
</properties>
467-
<build>
468-
<plugins>
469-
<plugin>
470-
<groupId>org.sonarsource.scanner.maven</groupId>
471-
<artifactId>sonar-maven-plugin</artifactId>
472-
<version>${dep.plugin.sonar.version}</version>
473-
<executions>
474-
<execution>
475-
<id>sonar-verify</id>
476-
<goals>
477-
<goal>sonar</goal>
478-
</goals>
479-
<phase>verify</phase>
480-
</execution>
481-
</executions>
482-
</plugin>
483-
</plugins>
484-
</build>
485-
</profile>
486-
487448
</profiles>
488449

489450
</project>

0 commit comments

Comments
 (0)