You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2016/06/27 18:31:49 UTC

commons-crypto git commit: Ignore examples in Jacoco

Repository: commons-crypto
Updated Branches:
  refs/heads/master 49c8053f5 -> 86ea9e1f4


Ignore examples in Jacoco

Project: http://git-wip-us.apache.org/repos/asf/commons-crypto/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-crypto/commit/86ea9e1f
Tree: http://git-wip-us.apache.org/repos/asf/commons-crypto/tree/86ea9e1f
Diff: http://git-wip-us.apache.org/repos/asf/commons-crypto/diff/86ea9e1f

Branch: refs/heads/master
Commit: 86ea9e1f46c50df78ed085a0da4e2b96cfe03b5a
Parents: 49c8053
Author: Sebb <se...@apache.org>
Authored: Mon Jun 27 19:31:46 2016 +0100
Committer: Sebb <se...@apache.org>
Committed: Mon Jun 27 19:31:46 2016 +0100

----------------------------------------------------------------------
 pom.xml | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/86ea9e1f/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 1175364..9601d55 100644
--- a/pom.xml
+++ b/pom.xml
@@ -271,6 +271,41 @@ The following provides more details on the included cryptographic software:
         <target.name>linux-aarch64</target.name>
       </properties>
     </profile>
+    <profile>
+      <id>jacoco</id>
+      <activation>
+        <file>
+          <exists>src/site/resources/profile.jacoco</exists>
+        </file>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.jacoco</groupId>
+            <artifactId>jacoco-maven-plugin</artifactId>
+            <configuration>
+              <excludes>
+                <exclude>**/examples/*</exclude>
+              </excludes>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+      <reporting>
+        <plugins>
+          <plugin>
+            <groupId>org.jacoco</groupId>
+            <artifactId>jacoco-maven-plugin</artifactId>
+            <version>${commons.jacoco.version}</version>
+            <configuration>
+              <excludes>
+                <exclude>**/examples/*</exclude>
+              </excludes>
+            </configuration>
+          </plugin>
+        </plugins>
+      </reporting>
+    </profile>
   </profiles>
   <licenses>
     <license>