You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Phil Steitz (JIRA)" <ji...@apache.org> on 2015/05/28 15:33:19 UTC

[jira] [Commented] (POOL-297) 2.4 release jar is corrupted

    [ https://issues.apache.org/jira/browse/POOL-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14562901#comment-14562901 ] 

Phil Steitz commented on POOL-297:
----------------------------------

>From gslowikowski@gmail.com on dev@commons:

{quote}
This commit
http://svn.apache.org/viewvc/commons/proper/pool/trunk/pom.xml?view=diff&r1=1680128&r2=1680129&pathrev=1680129
upgraded cobertura plugin's version to 2.7.

There is new, VERY "DANGEROUS" reporting mojo in 2.7 -
"cobertura-integration-test"
(http://mojo.codehaus.org/cobertura-maven-plugin/cobertura-integration-test-mojo.html)
During processing in foked lifecycle it overrides the project artifact
jar file with the instrumented version.

This mojo should be avoided if possible IMO, but Maven site plugin runs
all reporting mojos when generating site. You have to configure
reportsets adding only "cobertura" reportset.
See "Using different reports" section in
http://mojo.codehaus.org/cobertura-maven-plugin/usage.html

I see there is issue already reported -
http://jira.codehaus.org/browse/MCOBERTURA-203
{quote}

I have confirmed that using mvn package creates a clean jar.  I will revert the plugin version upgrade and retest.


> 2.4 release jar is corrupted
> ----------------------------
>
>                 Key: POOL-297
>                 URL: https://issues.apache.org/jira/browse/POOL-297
>             Project: Commons Pool
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Phil Steitz
>            Priority: Critical
>
> The binary jar, commons-pool2-2.4.jar is corrupted.  Some classes fail to load with errors like the following:
> net/sourceforge/cobertura/coveragedata/TouchCollector
> java.lang.NoClassDefFoundError:
> net/sourceforge/cobertura/coveragedata/TouchCollector
>     at
> org.apache.commons.pool2.impl.AbandonedConfig.__cobertura_init(AbandonedConfig.java)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)