You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by John Casey <jd...@commonjava.org> on 2009/06/17 17:45:33 UTC

[CANCELED] [VOTE] Maven 2.2.0

*SIGH*

It looks like we have a bug in the currently staged Maven 2.2.0 version. 
The problem seems to stem from the fact that the non-lightweight http 
wagon depends on log4j. Since log4j is shaded into the eventual Maven 
distribution, the log4j properties file seems to lose track of the 
changed class names, and winds up with an error like the one that 
follows. This issue was originally reported by Benjamin Bentmann, and 
he's done all of the work so far to isolate it and produce code that can 
reproduce it. I'm in the process of formalizing his code into a core IT, 
and will file a JIRA for this issue along the way.

Once I've got this problem under control, I'll re-stage the release and 
we can try again.

Thanks, and sorry for the delay.

-john


---

...
Caused by: hidden.org.apache.commons.logging.LogConfigurationException: 
hidden.org.apache.commons.logging.LogConfigurationException: No suitable 
Log constructor [Ljava.lang.Class;@986c47 for 
hidden.org.apache.commons.logging.impl.Log4JLogger (Caused by 
java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by 
hidden.org.apache.commons.logging.LogConfigurationException: No suitable 
Log constructor [Ljava.lang.Class;@986c47 for 
hidden.org.apache.commons.logging.impl.Log4JLogger (Caused by 
java.lang.NoClassDefFoundError: org/apache/log4j/Category))
         at 
hidden.org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
         at 
hidden.org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
         at 
hidden.org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
         at 
hidden.org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
         at 
hidden.org.apache.commons.httpclient.HttpClient.<clinit>(HttpClient.java:66)
         ... 28 more
Caused by: hidden.org.apache.commons.logging.LogConfigurationException: 
No suitable Log constructor [Ljava.lang.Class;@986c47 for 
hidden.org.apache.commons.logging.impl.Log4JLogger (Caused by 
java.lang.NoClassDefFoundError: org/apache/log4j/Category)
         at 
hidden.org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:413)
         at 
hidden.org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
         ... 32 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
         at java.lang.Class.getConstructor0(Class.java:2671)
         at java.lang.Class.getConstructor(Class.java:1629)
         at 
hidden.org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:410)

John Casey wrote:
> Hi,
> 
> Okay, it looks like there haven't been many problems with the latest RC 
> of Maven 2.2.0. So, I'd like to put it up for a vote.
> 
> We've solved 23 issues for this release:
> 
> http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10500&styleName=Html&version=15103 
> 
> 
> You can download the source-release artifact which contains the 
> fully-buildable project structure, or the executable binaries from here:
> 
> https://repository.apache.org/content/repositories/maven-staging-017/
> 
> There will be a couple of documentation improvements for this release as 
> well. I haven't deployed the site updates, but you can find the 
> documents here:
> 
> http://svn.apache.org/repos/asf/maven/site/trunk/src/site/apt/guides/mini/guide-building-jdk14-on-jdk15.apt 
> 
> http://svn.apache.org/repos/asf/maven/site/trunk/src/site/apt/guides/mini/guide-default-execution-ids.apt 
> 
> 
> This vote will be open for 72 hours:
> 
> [ ] +1
> [ ] +0
> [ ] -1
> 
> Here's my +1.
> 
> Thanks,
> 
> -john
> 
> ---
> John Casey
> Developer and PMC Member, Apache Maven (http://maven.apache.org)
> Member, Apache Software Foundation
> 
> "What we have to learn to do, we learn by doing."
>        -Aristotle
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org