You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by ge...@apache.org on 2019/07/18 19:23:34 UTC

[netbeans-website] 01/01: Add jacoco POM XML to item describing fix in this area

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

geertjan pushed a commit to branch geertjanw-patch-11
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git

commit 600dc10a0e8c9f7be098d7f54876ea4913df9702
Author: Geertjan Wielenga <ge...@oracle.com>
AuthorDate: Thu Jul 18 21:23:30 2019 +0200

    Add jacoco POM XML to item describing fix in this area
---
 .../src/content/download/nb111/index.asciidoc      | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/netbeans.apache.org/src/content/download/nb111/index.asciidoc b/netbeans.apache.org/src/content/download/nb111/index.asciidoc
index 26109f6..7cbd311 100644
--- a/netbeans.apache.org/src/content/download/nb111/index.asciidoc
+++ b/netbeans.apache.org/src/content/download/nb111/index.asciidoc
@@ -96,6 +96,33 @@ image::openjfx-samples.png[]
 ----
 
 - JaCoCo Maven integration is broken in NB 11.0: link:https://github.com/apache/netbeans/pull/1286[https://github.com/apache/netbeans/pull/1286]
+
+[source,xml]
+----
+<plugin>
+    <groupId>org.jacoco</groupId>
+    <artifactId>jacoco-maven-plugin</artifactId>
+    <version>0.8.3</version>
+    <executions>
+        <execution>
+            <goals>
+                <goal>prepare-agent</goal>
+            </goals>
+        </execution>
+        <execution>
+            <id>report</id>
+            <phase>prepare-package</phase>
+            <goals>
+                <goal>report</goal>
+            </goals>
+            <configuration>
+               <outputDirectory>${project.reporting.outputDirectory}/jacoco_test</outputDirectory>
+            </configuration>
+        </execution>
+    </executions>
+</plugin>
+----
+
 - Prevent Maven libraries from being excluded: link:https://github.com/apache/netbeans/pull/1271[https://github.com/apache/netbeans/pull/1271]
 
 === Gradle


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists