You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-auto@ws.apache.org by "Christoph Jaehnigen (JIRA)" <xm...@ws.apache.org> on 2009/03/12 10:48:54 UTC
[jira] Commented: (XMLRPC-163) Could not resolve Maven dependency
in repo1
[ https://issues.apache.org/jira/browse/XMLRPC-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681229#action_12681229 ]
Christoph Jaehnigen commented on XMLRPC-163:
--------------------------------------------
I can just second Lians observations, got the same errors here:
[WARNING] POM for 'org.apache.xmlrpc:xmlrpc-client:pom:3.1.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM for project org.apache.xmlrpc:xmlrpc-client at C:\Dokumente und Einstellungen\Jaehnigen\.m2\repository\org\apache\xmlrpc\xmlrpc-client\3.1.1\xmlrpc-client-3.1.1.pom
[DEBUG] Reason: Failed to validate POM for project org.apache.xmlrpc:xmlrpc-client at C:\Dokumente und Einstellungen\Jaehnigen\.m2\repository\org\apache\xmlrpc\xmlrpc-client\3.1.1\xmlrpc-client-3.1.1.pom
[DEBUG]
Validation Errors:
[DEBUG] 'dependencies.dependency.version' is missing for commons-httpclient:commons-httpclient
[DEBUG]
[DEBUG] org.apache.xmlrpc:xmlrpc-client:jar:3.1.1:compile (selected for compile)
[WARNING] POM for 'org.apache.xmlrpc:xmlrpc-common:pom:3.1.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM for project org.apache.xmlrpc:xmlrpc-common at C:\Dokumente und Einstellungen\Jaehnigen\.m2\repository\org\apache\xmlrpc\xmlrpc-common\3.1.1\xmlrpc-common-3.1.1.pom
[DEBUG] Reason: Failed to validate POM for project org.apache.xmlrpc:xmlrpc-common at C:\Dokumente und Einstellungen\Jaehnigen\.m2\repository\org\apache\xmlrpc\xmlrpc-common\3.1.1\xmlrpc-common-3.1.1.pom
[DEBUG]
Validation Errors:
[DEBUG] 'dependencies.dependency.version' is missing for org.apache.ws.commons.util:ws-commons-util
[DEBUG]
As artifact resolution fails the necessary jars used by xmlrpc-common and xmlrpc-client are not resolved and downloaded.
It should not be too much work to get the "dependencies.dependency.version" XML properties right.
Thx
Chris
> Could not resolve Maven dependency in repo1
> -------------------------------------------
>
> Key: XMLRPC-163
> URL: https://issues.apache.org/jira/browse/XMLRPC-163
> Project: XML-RPC
> Issue Type: Bug
> Components: Releases
> Affects Versions: 3.1.1
> Reporter: Yuen-Chi Lian
> Priority: Minor
> Attachments: pom.xml
>
>
> Maven can't resolve the dependencies due to dependency management being missing in parent pom. The xmlrpc-server's pom is pointing to a relative parent pom by the way.
> See:
> - http://repo2.maven.org/maven2/org/apache/xmlrpc/xmlrpc-server/3.1/xmlrpc-server-3.1.pom
> - http://repo2.maven.org/maven2/org/apache/xmlrpc/xmlrpc-client/3.1.1/xmlrpc-client-3.1.1.pom
> - http://repo2.maven.org/maven2/org/apache/xmlrpc/xmlrpc-common/3.1.1/xmlrpc-common-3.1.1.pom
> - http://repo2.maven.org/maven2/org/apache/xmlrpc/xmlrpc/3.1.1/xmlrpc-3.1.1.pom
> Here's the log:
> [DEBUG] Retrieving parent-POM: org.apache.xmlrpc:xmlrpc::3.1.1 for project: null:xmlrpc-server:jar:3.1.1 from the repository.
> [WARNING] POM for 'org.apache.xmlrpc:xmlrpc-server:pom:3.1.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM for project org.apache.xmlrpc:xmlrpc-server at Artifact [org.apache.xmlrpc:xmlrpc-server:pom:3.1.1:compile]
> [DEBUG] Reason: Failed to validate POM for project org.apache.xmlrpc:xmlrpc-server at Artifact [org.apache.xmlrpc:xmlrpc-server:pom:3.1.1:compile]
> [DEBUG]
> Validation Errors:
> [DEBUG] 'dependencies.dependency.version' is missing for commons-logging:commons-logging
> [DEBUG] 'dependencies.dependency.version' is missing for javax.servlet:servlet-api
> [DEBUG]
> [DEBUG] org.apache.xmlrpc:xmlrpc-server:jar:3.1.1:compile (selected for compile)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.