archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maria Odea Ching" <och...@apache.org>
Subject Re: virtual repositories error
Date Wed, 29 Oct 2008 01:26:50 GMT
Hi,

This is probably caused by the empty <groupId> in the merged metadata file
bug [1] [2]. This is a known issue and the fix will be available in 1.2.

Thanks,
Deng

[1] http://jira.codehaus.org/browse/MRM-885
[2] http://jira.codehaus.org/browse/MRM-925


On Tue, Oct 28, 2008 at 5:01 PM, Benoit Decherf <decherfb@yahoo-inc.com>wrote:

> Hi,
>
> I have declared 2 repositories:
>  * internal for all our artifacts.
>  * external : a proxy on repo1.maven.org
>
> And I declare a virtual repositories (releases) to group this 2 repos.
>
> When I try to execute my build I recieve this error :
> (on http://
> <host>/archiva/repository/releases/com/kelkoo/maven/plugins/maven-metadata.xml)
> 53530437 [btpool0-4] ERROR org.mortbay.log -
> /archiva/repository/releases/com/kelkoo/maven/plugins/maven-metadata.xml
> java.lang.IllegalArgumentException: Adding text to an XML document must not
> be null
>       at org.dom4j.DocumentFactory.createText(DocumentFactory.java:174)
>       at org.dom4j.tree.AbstractElement.addText(AbstractElement.java:899)
>       at org.dom4j.tree.AbstractElement.setText(AbstractElement.java:1120)
>       at
> org.apache.maven.archiva.repository.metadata.RepositoryMetadataWriter.write(RepositoryMetadataWriter.java:77)
>       at
> org.apache.maven.archiva.repository.metadata.RepositoryMetadataWriter.write(RepositoryMetadataWriter.java:55)
>       at
> org.apache.maven.archiva.webdav.ArchivaDavResourceFactory.writeMergedMetadataToFile(ArchivaDavResourceFactory.java:987)
>       at
> org.apache.maven.archiva.webdav.ArchivaDavResourceFactory.createResource(ArchivaDavResourceFactory.java:349)
>       at
> org.apache.maven.archiva.webdav.RepositoryServlet.service(RepositoryServlet.java:118)
>
>
> But the query http://<host>/archiva/repository/internal/com/kelkoo/maven/plugins/maven-metadata.xml
> works.
>
> What is the problem ?
> I use archiva 1.1.3.
>
> Benoit
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message