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
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]