On 5/23/15 7:57 AM, Oliver Heger wrote:
>
> Am 23.05.2015 um 16:53 schrieb Phil Steitz:
>> On 5/23/15 7:48 AM, Oliver Heger wrote:
>>> Build with maven works fine with Java 1.6 and 1.8 on Windows 8.1. Site
>>> and artifacts look good.
>>>
>>> I had a problem with the ant build: I copied build.properties.sample
>>> (which seems to be a working configuration) to build.properties and
>>> called 'ant test'. This failed with the message below. So there may be
>>> something missing in build.properties.
>>>
>>> The ant problem is not blocking for me, so +1
>> Can you check if in your local maven repo you have a jar here:
>> # asm
>> asm.home=${repository}/org/ow2/asm/asm/5.0.4
>> asm.jar=${asm.home}/asm-5.0.4.jar
>>
>> I don't understand why, but on one of my machines I did not have a
>> jar there - just a pom.  The transitive dependencies from the maven
>> pom should cause this jar to be downloaded.
> Indeed, there is only a pom!
>
> When I do mvn dependency:tree it gives me:
>
> [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @
> commons-pool2 ---
> [INFO] org.apache.commons:commons-pool2:jar:2.4
> [INFO] +- junit:junit:jar:4.12:test
> [INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:test
> [INFO] +- cglib:cglib:jar:3.1:compile
> [INFO] |  \- org.ow2.asm:asm:jar:4.2:compile
> [INFO] \- org.ow2.asm:asm-util:jar:5.0.4:compile
> [INFO]    \- org.ow2.asm:asm-tree:jar:5.0.4:compile
>
> So it seems to use an older version of asm.

Interesting.  I am not sure I get why, exactly, but asm-util ->
asm-tree at 5.0.4 does not pull in asm 5.0.4.  I guess that is
because the asm dependency is not versioned in the asm-tree pom:
<dependencies>
    <dependency>
      <artifactId>asm</artifactId>
      <groupId>org.ow2.asm</groupId>
    </dependency>
  </dependencies>

In any case, if there is in fact a jar at the indicated location in
build.properties, the build works so I don't see this as a
showstopper.  Not sure if I should "fix" this or not if I do another
RC (or post-release).  If I were building with Ant myself, I would
prefer to bring in the later jar.

Thanks!

Phil
>
> Oliver
>
>> Thanks for testing!
>>
>> Phil
>>> Oliver
>>>
>>>     [junit] Testcase: testAccessAfterReturn took 0,002 sec
>>>     [junit]     Caused an ERROR
>>>     [junit] Unexpected exception,
>>> expected<java.lang.IllegalStateException> but
>>> was<java.lang.NoClassDefFoundError>
>>>     [junit] java.lang.Exception: Unexpected exception,
>>> expected<java.lang.Illega
>>> lStateException> but was<java.lang.NoClassDefFoundError>
>>>     [junit] Caused by: java.lang.NoClassDefFoundError: Could not
>>> initialize clas
>>> s net.sf.cglib.proxy.Enhancer
>>>     [junit]     at
>>> org.apache.commons.pool2.proxy.CglibProxySource.createProxy(C
>>> glibProxySource.java:47)
>>>     [junit]     at
>>> org.apache.commons.pool2.proxy.ProxiedKeyedObjectPool.borrowO
>>> bject(ProxiedKeyedObjectPool.java:63)
>>>     [junit]     at
>>> org.apache.commons.pool2.proxy.BaseTestProxiedKeyedObjectPool
>>> .testAccessAfterReturn(BaseTestProxiedKeyedObjectPool.java:73)
>>>     [junit]
>>>     [junit] Testcase: testAccessAfterInvalidate took 0,001 sec
>>>     [junit]     Caused an ERROR
>>>     [junit] Unexpected exception,
>>> expected<java.lang.IllegalStateException> but
>>> was<java.lang.NoClassDefFoundError>
>>>     [junit] java.lang.Exception: Unexpected exception,
>>> expected<java.lang.Illega
>>> lStateException> but was<java.lang.NoClassDefFoundError>
>>>     [junit] Caused by: java.lang.NoClassDefFoundError: Could not
>>> initialize clas
>>> s net.sf.cglib.proxy.Enhancer
>>>     [junit]     at
>>> org.apache.commons.pool2.proxy.CglibProxySource.createProxy(C
>>> glibProxySource.java:47)
>>>     [junit]     at
>>> org.apache.commons.pool2.proxy.ProxiedKeyedObjectPool.borrowO
>>> bject(ProxiedKeyedObjectPool.java:63)
>>>     [junit]     at
>>> org.apache.commons.pool2.proxy.BaseTestProxiedKeyedObjectPool
>>> .testAccessAfterInvalidate(BaseTestProxiedKeyedObjectPool.java:90)
>>>     [junit]
>>>
>>> BUILD FAILED
>>> C:\data\dev\projects\OpenSource\pool\commons-pool2-2.4-src\build.xml:137: 
>>> Test
>>> o
>>> rg.apache.commons.pool2.proxy.TestProxiedKeyedObjectPoolWithCglibProxy
>>> failed
>>>
>>> Am 22.05.2015 um 17:51 schrieb Phil Steitz:
>>>> This is a vote to release version 2.4 of Apache Commons Pool based
>>>> on RC1.
>>>>
>>>> Here is the release candidate:
>>>> https://dist.apache.org/repos/dist/dev/commons/pool/
>>>> (r9083)
>>>>
>>>> Built from:
>>>> https://svn.apache.org/repos/asf/commons/proper/pool/tags/POOL_2_4_RC1/
>>>> (r1680963)
>>>>
>>>> Release notes:
>>>> https://dist.apache.org/repos/dist/dev/commons/pool/RELEASE-NOTES.txt
>>>>
>>>> Maven artifacts:
>>>> http://s.apache.org/Va6
>>>>
>>>> site:
>>>> http://people.apache.org/~psteitz/pool/pool-2.4-rc1
>>>>
>>>> keys:
>>>>
>>>> https://www.apache.org/dist/commons/KEYS
>>>>
>>>> Votes, please.
>>>>
>>>> This vote will close no sooner that 72 hours from now (15:50 GMT
>>>> 25-May-2015).
>>>>
>>>>   [ ] +1 Release these artifacts
>>>>   [ ] +0 OK, but...
>>>>   [ ] -0 OK, but really should fix...
>>>>   [ ] -1 I oppose this release because...
>>>>
>>>> Thanks!
>>>>
>>>> Phil
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>>>> For additional commands, e-mail: dev-h...@commons.apache.org
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>>> For additional commands, e-mail: dev-h...@commons.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> For additional commands, e-mail: dev-h...@commons.apache.org
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to