archiva-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maria Odea Ching (JIRA)" <>
Subject [jira] Commented: (MRM-727) Archiva does not download plugin artifacts
Date Mon, 10 Mar 2008 03:18:28 GMT


Maria Odea Ching commented on MRM-727:

Christian, I think the dom4j problem is a different one. I got those errors from the geronimo
logs as well (see below), but not from proxying but during the repo scanning.. 

11:00:07,819 ERROR [DatabaseUnprocessedArtifactConsumer:update-db-project] Unable to process
model /home/deng/TestFiles/internal/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom
due to : org.dom4j.InvalidXPathException : Invalid XPath expression: '//project'. Caused by:
org.dom4j.InvalidXPathException: Invalid XPath expression: '//project'. Caused by: org/dom4j/Element
        at org.dom4j.xpath.DefaultXPath.parse(
        at org.dom4j.xpath.DefaultXPath.<init>(
        at org.dom4j.DocumentFactory.createXPath(
        at org.dom4j.tree.AbstractNode.createXPath(
        at org.apache.maven.archiva.xml.XMLReader.createXPath(
        at org.apache.maven.archiva.xml.XMLReader.getElement(
        at org.apache.maven.archiva.consumers.database.ProjectModelToDatabaseConsumer.processArchivaArtifact(
        at org.apache.maven.archiva.database.updater.ProcessArchivaArtifactClosure.execute(
        at org.apache.commons.collections.CollectionUtils.forAllDo(
        at org.apache.maven.archiva.database.updater.JdoDatabaseUpdater.updateUnprocessed(
        at org.apache.maven.archiva.database.updater.JdoDatabaseUpdater.updateAllUnprocessed(
        at org.apache.maven.archiva.scheduled.executors.ArchivaDatabaseUpdateTaskExecutor.executeTask(
        at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$

> Archiva does not download plugin artifacts
> ------------------------------------------
>                 Key: MRM-727
>                 URL:
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.0.1
>         Environment: Ubuntu 7.10 x64, jdk1.6.0_04 x64, geronimo 2.0.2, maven 2.0.8 on
>            Reporter: Christian Domsch
>            Assignee: Maria Odea Ching
>             Fix For: 1.0.2
>         Attachments: maven-resources-plugin-maven-metadata-central.xml, MRM-727-build-stack-trace.txt,
MRM-727-geronimo-tomcat-log-, MRM727.diff, settings-wrong.xml
> When i have an initially blank local maven repo and for example start maven with "mvn
clean", no artifacts get downloaded. Maven is configured via the attached settings.xml. When
i monitor the tcp traffic, i see that the GET (in this case for the maven-metadata.xml for
maven-clean-plugin) request issued to archiva is the correct one. Archiva responses with a
> When I browse the repository file system on the server where archiva stores its files,
i see that a maven-metadata-central.xml was stored. the contents of this file are not correct,
> From trial and error I found out, that any request to a plugin related maven-metadata.xml
file will fail. If I try the same for a "normal" artifact maven-metadata.xml (like the one
for commons-lang) then archiva downloads the correct file.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message