You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by th...@apache.org on 2019/10/21 04:52:49 UTC

[commons-dbutils] branch master updated (87cb92d -> 2ed6a12)

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

thecarlhall pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbutils.git.


    from 87cb92d  Merge branch 'rewerma-master'
     new f1c783f  Ignore ctags file
     new a378b8d  Ignto ctags file
     new f481282  Add jacoco plugin to build
     new d72dd25  Configure to current coverage metrics
     new 2ed6a12  Merge branch 'jacoco'

The 5 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.


Summary of changes:
 .gitignore |  1 +
 pom.xml    | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)


[commons-dbutils] 01/05: Ignto ctags file

Posted by th...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

thecarlhall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbutils.git

commit a378b8da2ca684d728d211fcfc64a6d5f8750130
Author: Carl Hall <th...@apache.org>
AuthorDate: Sun Oct 20 21:37:48 2019 -0700

    Ignto ctags file
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index 8dcdb20..764a054 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ target/
 /.project
 /.settings/
 /.classpath
+tags


[commons-dbutils] 02/05: Add jacoco plugin to build

Posted by th...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

thecarlhall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbutils.git

commit f48128284e2277a3b3450a9d91704ac46831b960
Author: Carl Hall <th...@apache.org>
AuthorDate: Sun Oct 20 20:53:16 2019 -0700

    Add jacoco plugin to build
---
 pom.xml | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/pom.xml b/pom.xml
index ebb62a8..b436af2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -239,6 +239,7 @@
     <maven.compiler.target>1.7</maven.compiler.target>
 
     <checkstyle.plugin.version>2.17</checkstyle.plugin.version>
+    <jacoco.plugin.version>0.8.5</jacoco.plugin.version>
 
     <commons.componentid>dbutils</commons.componentid>
     <commons.module.name>org.apache.commons.dbutils</commons.module.name>
@@ -299,6 +300,46 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.jacoco</groupId>
+        <artifactId>jacoco-maven-plugin</artifactId>
+        <version>${jacoco.plugin.version}</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>prepare-agent</goal>
+            </goals>
+          </execution>
+          <!-- attached to Maven test phase -->
+          <execution>
+            <id>report</id>
+            <phase>test</phase>
+              <goals>
+                <goal>report</goal>
+              </goals>
+          </execution>
+          <execution>
+            <id>jacoco-check</id>
+            <goals>
+              <goal>check</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <rule>
+                  <element>PACKAGE</element>
+                  <limits>
+                    <limit>
+                      <counter>LINE</counter>
+                      <value>COVEREDRATIO</value>
+                      <minimum>0.9</minimum>
+                    </limit>
+                  </limits>
+                </rule>
+              </rules>
+            </configuration>
+        </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 


[commons-dbutils] 03/05: Configure to current coverage metrics

Posted by th...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

thecarlhall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbutils.git

commit d72dd25680a6b98d4c2e954198c6d794d5aa92f3
Author: Carl Hall <th...@apache.org>
AuthorDate: Sun Oct 20 21:44:39 2019 -0700

    Configure to current coverage metrics
    
    Start with this configuration and increase to more acceptable levels as
    contributions improve tests.
---
 pom.xml | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index b436af2..9f57496 100644
--- a/pom.xml
+++ b/pom.xml
@@ -326,12 +326,17 @@
             <configuration>
               <rules>
                 <rule>
-                  <element>PACKAGE</element>
+                  <element>BUNDLE</element>
                   <limits>
                     <limit>
-                      <counter>LINE</counter>
+                      <counter>INSTRUCTION</counter>
                       <value>COVEREDRATIO</value>
-                      <minimum>0.9</minimum>
+                      <minimum>0.6</minimum>
+                    </limit>
+                    <limit>
+                      <counter>CLASS</counter>
+                      <value>MISSEDCOUNT</value>
+                      <maximum>8</maximum>
                     </limit>
                   </limits>
                 </rule>


[commons-dbutils] 05/05: Merge branch 'jacoco'

Posted by th...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

thecarlhall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbutils.git

commit 2ed6a127bd830adbe2b385d9ee62ead2f0e61fc5
Merge: f1c783f d72dd25
Author: Carl Hall <th...@apache.org>
AuthorDate: Sun Oct 20 21:48:23 2019 -0700

    Merge branch 'jacoco'

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


[commons-dbutils] 04/05: Ignore ctags file

Posted by th...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

thecarlhall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbutils.git

commit f1c783fec430888614a10b126eb737b0ee3ebfaa
Author: Carl Hall <th...@apache.org>
AuthorDate: Sun Oct 20 21:37:48 2019 -0700

    Ignore ctags file
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index 8dcdb20..764a054 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ target/
 /.project
 /.settings/
 /.classpath
+tags