Skip to content

Commit

Permalink
MOSIP-33042/MOSIP-33713: Added sonar plugins (#267)
Browse files Browse the repository at this point in the history
* Added registerListener to start_hub

Signed-off-by: HimajaDhanyamraju2 <[email protected]>

* Removed extra logs

Signed-off-by: HimajaDhanyamraju2 <[email protected]>

* Removed additional logs

Signed-off-by: HimajaDhanyamraju2 <[email protected]>

* MOSIP-33042 / MOSIP-33713: Added test cases

Signed-off-by: HimajaDhanyamraju2 <[email protected]>

* Changes in push-trigger

Signed-off-by: HimajaDhanyamraju2 <[email protected]>

* Reverting last commit

Signed-off-by: HimajaDhanyamraju2 <[email protected]>

* MOSIP-33042/MOSIP-33713: Changes in surefire plugin

Signed-off-by: HimajaDhanyamraju2 <[email protected]>

* MOSIP-33042/MOSIP-33713: Modified test cases

Signed-off-by: HimajaDhanyamraju2 <[email protected]>

* MOSIP-33042/MOSIP-33713: Added sonar plugins

Signed-off-by: HimajaDhanyamraju2 <[email protected]>

---------

Signed-off-by: HimajaDhanyamraju2 <[email protected]>
Co-authored-by: HimajaDhanyamraju2 <[email protected]>
  • Loading branch information
HimajaDhanyamraju2 and HimajaDhanyamraju2 authored Jun 11, 2024
1 parent e949635 commit 8099846
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions kafka-admin-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
<mockito.version>3.11.2</mockito.version>
<powermock.version>2.0.9</powermock.version>
<maven.surefire.plugin.version>2.22.0</maven.surefire.plugin.version>
<maven.jacoco.version>0.8.11</maven.jacoco.version>
<maven.sonar.plugin.version>3.7.0.1746</maven.sonar.plugin.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -118,6 +120,25 @@
</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${maven.jacoco.version}</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
Expand Down Expand Up @@ -221,4 +242,34 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>sonar</id>
<properties>
<sonar.sources>.</sonar.sources>
<sonar.inclusions>src/main/java/**,src/main/resources/**</sonar.inclusions>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
</properties>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>${maven.sonar.plugin.version}</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>sonar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 8099846

Please sign in to comment.