You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Maria Odea Ching (JIRA)" <ji...@codehaus.org> on 2009/03/20 15:56:13 UTC
[jira] Issue Comment Edited: (MRM-1136) Archiva don't want to
download a snapshot of a maven plugin (merged metadata are empty)
[ http://jira.codehaus.org/browse/MRM-1136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=170416#action_170416 ]
Maria Odea Ching edited comment on MRM-1136 at 3/20/09 9:54 AM:
----------------------------------------------------------------
It seems that the following attributes of the <metadata> tag is what's causing the nodes not to be retrieved. When I removed them from the sample metadata file I was using in the test case, I was able to retrieve the child nodes with the correct values.
xsi:schemaLocation="http://maven.apache.org/METADATA/1.0.0 http://maven.apache.org/xsd/metadata-1.0.0.xsd" xmlns="http://maven.apache.org/METADATA/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
was (Author: oching):
It seems the following attributed of the <metadata> tag is what's causing the nodes not to be retrieved. When I removed them from the sample metadata file I was using in the test case, I was able to retrieve the child nodes with the correct values.
xsi:schemaLocation="http://maven.apache.org/METADATA/1.0.0 http://maven.apache.org/xsd/metadata-1.0.0.xsd" xmlns="http://maven.apache.org/METADATA/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> Archiva don't want to download a snapshot of a maven plugin (merged metadata are empty)
> ---------------------------------------------------------------------------------------
>
> Key: MRM-1136
> URL: http://jira.codehaus.org/browse/MRM-1136
> Project: Archiva
> Issue Type: Bug
> Components: remote proxy
> Affects Versions: 1.1.1, 1.1.3, 1.2-M1, 1.2-M2
> Environment: I have the problem in production (Linux + archiva 1.1.1)
> I reproduced it on my laptop (XP with archiva 1.1.1, 1.1.3, 1.2-M1 and trunk)
> Reporter: Arnaud Heritier
> Assignee: Maria Odea Ching
> Priority: Blocker
> Fix For: 1.2-M2
>
> Attachments: archiva.xml, maven-metadata-codehaus-snapshots.xml, maven-metadata.xml, pom.xml
>
>
> Use case :
> * I want to use idl-maven-plugin 1.1-SNPASHOt from codehaus
> * In archiva I have a group (snapshots) with behind a managed repository (snapshots-proxy) which proxify http://snapshots.repository.codehaus.org/
> * When I launch the build of the project, archiva download metadata for 1.1-SNAPSHOT from codehaus in maven-metadata-codehaus-snapshots.xml which is fine
> * But it creates an empty maven-metadata.xml
> * Maven receive this empty file and try to download 1.1-SNAPSHOT artifacts instead of the last timestamp.
> I attach :
> * A minimal project which uses a local archiva
> * The achiva config file (be careful to deactivate/change the network proxy)
> * maven-metadata-codehaus-snapshots.xml and maven-metadata.xml
--
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