Skip to content

Commit

Permalink
#475 Added SonarCloud to parent dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
yaseno2186 committed Jul 12, 2024
1 parent 8987da7 commit 43ab25d
Showing 1 changed file with 37 additions and 3 deletions.
40 changes: 37 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
<maven.invoker.jqassistant.version>2.3.1</maven.invoker.jqassistant.version>
<!-- jQA build version -->
<jqassistant.build.version>2.4.0-M1</jqassistant.build.version>
</properties>
</properties>

<build>
<pluginManagement>
Expand Down Expand Up @@ -477,7 +477,11 @@
<releaseProfiles>release</releaseProfiles>
</configuration>
</plugin>

<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>3.7.0.1746</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
Expand Down Expand Up @@ -735,6 +739,37 @@
</plugins>
</build>
</profile>
<profile>
<id>sonar</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<properties>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.organization>jqassistant</sonar.organization>
<sonar.moduleKey>${project.artifactId}</sonar.moduleKey>
<sonar.coverage.jacoco.xmlReportPaths>${project.build.directory}/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>sonar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release</id>
<!--
Expand Down Expand Up @@ -818,7 +853,6 @@
</build>
</profile>
</profiles>

<modules>
<module>bom</module>
<module>core</module>
Expand Down

0 comments on commit 43ab25d

Please sign in to comment.