You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Jorg Heymans (JIRA)" <ji...@codehaus.org> on 2005/11/22 17:46:06 UTC
[jira] Created: (MNG-1656) xml-apis relocation wrong
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-1656) xml-apis relocation wrong
Posted by "Jorg Heymans (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1656?page=comments#action_51752 ]
Jorg Heymans commented on MNG-1656:
-----------------------------------
I have verified with an SVN build as of a few minutes ago, the issue seems to have been fixed.
> xml-apis relocation wrong
> -------------------------
>
> Key: MNG-1656
> URL: http://jira.codehaus.org/browse/MNG-1656
> Project: Maven 2
> Type: Bug
> Components: Artifacts and Repositories
> Versions: 2.0
> Reporter: Jorg Heymans
> Assignee: John Casey
> Priority: Critical
> Fix For: 2.0.1
> Attachments: log.txt
>
> Original Estimate: 3 hours
> Time Spent: 3 hours
> Remaining: 0 minutes
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MNG-1656) xml-apis relocation wrong
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1656?page=all ]
John Casey closed MNG-1656:
---------------------------
Resolution: Fixed
seems to be fixed.
> xml-apis relocation wrong
> -------------------------
>
> Key: MNG-1656
> URL: http://jira.codehaus.org/browse/MNG-1656
> Project: Maven 2
> Type: Bug
> Components: Artifacts and Repositories
> Versions: 2.0
> Reporter: Jorg Heymans
> Assignee: John Casey
> Priority: Critical
> Fix For: 2.0.1
> Attachments: log.txt
>
> Original Estimate: 3 hours
> Time Spent: 3 hours
> Remaining: 0 minutes
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-1656) xml-apis relocation wrong
Posted by "Jorg Heymans (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1656?page=comments#action_51657 ]
Jorg Heymans commented on MNG-1656:
-----------------------------------
http://jira.codehaus.org/browse/MEV-216 and http://jira.codehaus.org/browse/MEV-222 are related
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-1656) xml-apis relocation wrong
Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1656?page=all ]
Carlos Sanchez updated MNG-1656:
--------------------------------
Attachment: log.txt
it works for me. I deleted just xml-apis from the local repo and I'm using the latest maven snapshots.
I've attached my log so you can check it for differences
> 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
> Attachments: log.txt
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-1656) xml-apis relocation wrong
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org