Skip to content

Commit 4b4632f

Browse files
authored
Merge pull request #72 from OpenHFT/add_sonar_profile
Add sonar profile, Work on #71
2 parents 29ba760 + c61aa20 commit 4b4632f

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

pom.xml

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<maven.bundle.plugin.version>5.1.1</maven.bundle.plugin.version>
4949

5050
<doclint>all,-missing</doclint>
51-
<sonar.organization>openhft</sonar.organization>
51+
<sonar.organization>openhft</sonar.organization>
5252
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
5353
</properties>
5454

@@ -355,5 +355,38 @@
355355
</plugins>
356356
</build>
357357
</profile>
358+
359+
<profile>
360+
<id>sonar</id>
361+
<build>
362+
<plugins>
363+
<plugin>
364+
<groupId>org.sonarsource.scanner.maven</groupId>
365+
<artifactId>sonar-maven-plugin</artifactId>
366+
<version>3.8.0.2131</version>
367+
</plugin>
368+
<plugin>
369+
<groupId>org.jacoco</groupId>
370+
<artifactId>jacoco-maven-plugin</artifactId>
371+
<version>0.8.6</version>
372+
<executions>
373+
<execution>
374+
<goals>
375+
<goal>prepare-agent</goal>
376+
</goals>
377+
</execution>
378+
<execution>
379+
<id>report</id>
380+
<phase>prepare-package</phase>
381+
<goals>
382+
<goal>report</goal>
383+
</goals>
384+
</execution>
385+
</executions>
386+
</plugin>
387+
</plugins>
388+
</build>
389+
</profile>
390+
358391
</profiles>
359392
</project>

0 commit comments

Comments
 (0)