[ http://jira.codehaus.org/browse/MNG-1656?page=all ]
John Casey updated MNG-1656: ---------------------------- Fix Version: 2.0.1 Complexity: Expert (was: Intermediate) Remaining Estimate: 3 hours Original Estimate: 3 hours it seems like the wrong version (2.0.2) is getting picked up from somewhere other than the direct dependency specification. 2.0.2 has a relocation to 1.0.b2, so it's not actually a problem with the relocation handling, per se. I think this may have to do with selection of a dependency when it's specified in multiple places. > xml-apis relocation wrong > ------------------------- > > Key: MNG-1656 > URL: http://jira.codehaus.org/browse/MNG-1656 > Project: Maven 2 > Type: Bug > Components: maven-artifact > Versions: 2.0 > Reporter: Jorg Heymans > Priority: Critical > Fix For: 2.0.1 > > Original Estimate: 3 hours > Remaining: 3 hours > > During my build, i get this multiple times : > [WARNING] > This artifact has been relocated to xml-apis:xml-apis:1.0.b2. > Even though i have directly specified xml-apis:xml-apis:1.3.02 in my pom, > maven insists on using 1.0.b2, making my build fail. > Steps to reproduce > 1) svn co > http://svn.apache.org/repos/asf/cocoon/whiteboard/maven2/cocoon-flat-layout/trunk/ > testbug > 2) edit settings.xml to point to a clean repo > 3) mvn -N -s settings.xml install > 4) cd cocoon-core > 5) mvn -s ..\settings.xml -Dmaven.test.skip=true compile > This should fail with : > [ERROR] BUILD FAILURE > [INFO] > ---------------------------------------------------------------------------- > [INFO] Compilation failure > C:\temp\testtrunk\cocoon-core\src\main\java\org\apache\cocoon\xml\dom\DocumentWrapper.java > :[26,19] cannot resolve symbol > symbol : class DOMConfiguration > location: package dom > C:\temp\testtrunk\cocoon-core\src\main\java\org\apache\cocoon\xml\dom\DocumentWrapper.java > :[39,19] cannot resolve symbol > symbol : class UserDataHandler > location: package dom > C:\temp\testtrunk\cocoon-core\src\main\java\org\apache\cocoon\xml\dom\DocumentWrapper.java > :[914,11] cannot resolve symbol > symbol : class DOMConfiguration > location: class org.apache.cocoon.xml.dom.DocumentWrapper > C:\temp\testtrunk\cocoon-core\src\main\java\org\apache\cocoon\xml\dom\DocumentWrapper.java > :[1012,56] cannot resolve symbol > symbol : class UserDataHandler > location: class org.apache.cocoon.xml.dom.DocumentWrapper > The interfaces it can't find are effectively in 1.3.02 , but not in 1.0.b2 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]