[maven-enforcer] branch MENFORCER-294 created (now 296357f)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[maven-enforcer] branch MENFORCER-294 created (now 296357f)

khmarbaise
This is an automated email from the ASF dual-hosted git repository.

khmarbaise pushed a change to branch MENFORCER-294
in repository https://gitbox.apache.org/repos/asf/maven-enforcer.git.


      at 296357f  [MENFORCER-294] Add profile for JaCoCo to support SonarQube analysis

This branch includes the following new commits:

     new 296357f  [MENFORCER-294] Add profile for JaCoCo to support SonarQube analysis

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


--
To stop receiving notification emails like this one, please contact
['"[hidden email]" <[hidden email]>'].
Reply | Threaded
Open this post in threaded view
|

[maven-enforcer] 01/01: [MENFORCER-294] Add profile for JaCoCo to support SonarQube analysis

khmarbaise
This is an automated email from the ASF dual-hosted git repository.

khmarbaise pushed a commit to branch MENFORCER-294
in repository https://gitbox.apache.org/repos/asf/maven-enforcer.git

commit 296357f1d56102757d80f92584ccb96d127b7f2a
Author: Karl Heinz Marbaise <[hidden email]>
AuthorDate: Sat Jan 6 16:50:14 2018 +0100

    [MENFORCER-294] Add profile for JaCoCo to support SonarQube analysis
---
 pom.xml | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/pom.xml b/pom.xml
index 1751fc1..e262328 100644
--- a/pom.xml
+++ b/pom.xml
@@ -169,6 +169,11 @@
     <pluginManagement>
       <plugins>
         <plugin>
+          <groupId>org.jacoco</groupId>
+          <artifactId>jacoco-maven-plugin</artifactId>
+          <version>0.8.0</version>
+        </plugin>
+        <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-plugin-plugin</artifactId>
           <version>${mavenPluginPluginVersion}</version>
@@ -226,4 +231,25 @@
       </plugin>
     </plugins>
   </reporting>
+  <profiles>
+    <profile>
+      <id>coverage</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.jacoco</groupId>
+            <artifactId>jacoco-maven-plugin</artifactId>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>prepare-agent</goal>
+                  <goal>report</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>

--
To stop receiving notification emails like this one, please contact
"[hidden email]" <[hidden email]>.