Skip to content

Commit 738d7d0

Browse files
committed
Add sonar profile, update parent POM
1 parent 6a7883d commit 738d7d0

1 file changed

Lines changed: 37 additions & 4 deletions

File tree

pom.xml

Lines changed: 37 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@
1515
~ limitations under the License.
1616
-->
1717

18-
<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">
18+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1920
<modelVersion>4.0.0</modelVersion>
2021

2122
<parent>
2223
<groupId>net.openhft</groupId>
2324
<artifactId>root-parent-pom</artifactId>
24-
<version>1.2.1</version>
25-
<relativePath />
25+
<version>1.2.13</version>
26+
<relativePath/>
2627
</parent>
2728

2829
<artifactId>Java-Thread-Affinity</artifactId>
@@ -37,12 +38,44 @@
3738
<module>affinity-test</module>
3839
</modules>
3940

41+
<profiles>
42+
<profile>
43+
<id>sonar</id>
44+
<build>
45+
<plugins>
46+
<plugin>
47+
<groupId>org.sonarsource.scanner.maven</groupId>
48+
<artifactId>sonar-maven-plugin</artifactId>
49+
</plugin>
50+
<plugin>
51+
<groupId>org.jacoco</groupId>
52+
<artifactId>jacoco-maven-plugin</artifactId>
53+
<executions>
54+
<execution>
55+
<goals>
56+
<goal>prepare-agent</goal>
57+
</goals>
58+
</execution>
59+
<execution>
60+
<id>report</id>
61+
<phase>prepare-package</phase>
62+
<goals>
63+
<goal>report</goal>
64+
</goals>
65+
</execution>
66+
</executions>
67+
</plugin>
68+
</plugins>
69+
</build>
70+
</profile>
71+
</profiles>
72+
4073
<scm>
4174
<url>scm:git:[email protected]:OpenHFT/Java-Thread-Affinity.git</url>
4275
<connection>scm:git:[email protected]:OpenHFT/Java-Thread-Affinity.git</connection>
4376
<developerConnection>scm:git:[email protected]:OpenHFT/Java-Thread-Affinity.git
4477
</developerConnection>
45-
<tag>ea</tag>
78+
<tag>ea</tag>
4679
</scm>
4780

4881
</project>

0 commit comments

Comments
 (0)