archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter" <brett.por...@gmail.com>
Subject Re: Error while scanning repository in archiva
Date Wed, 18 Jun 2008 14:43:29 GMT
yes, please - and make sure to attach the pom (edit out bits you think
need to be)

2008/6/18 Benoit Decherf <decherfb@yahoo-inc.com>:
> Can I open a bug for this ?
>
> Benoit
> Benoit Decherf wrote:
>>
>> Archiva fails when it scan the repository:
>>
>> Log file:
>> -------------------------------------------------------------
>> 2008-06-17 13:00:00,436 [pool-1-thread-1] WARN
>>  org.apache.maven.archiva.consumers.DatabaseUnprocessedArtifactConsumer:update-db-project
>>  - Unable to read project model
>> /home/y/share/archiva_data/repositories/snapshots/com/kelkoo/fe-shopping/pwsFrontEnd/11.7.0-SNAPSHOT/pwsFrontEnd-11.7.0-20080617.094510-72.pom
>> : Unable to parse project xml
>> file:/home/y/share/archiva_data/repositories/snapshots/com/kelkoo/fe-shopping/pwsFrontEnd/11.7.0-SNAPSHOT/pwsFrontEnd-11.7.0-20080617.094510-72.pom:
>> Error on line 1 of document  : The value of attribute "xmlns" associated
>> with an element type "null" must not contain the '<' character. Nested
>> exception: The value of attribute "xmlns" associated with an element type
>> "null" must not contain the '<' character.
>> org.apache.maven.archiva.repository.project.ProjectModelException: Unable
>> to parse project xml
>> file:/home/y/share/archiva_data/repositories/snapshots/com/kelkoo/fe-shopping/pwsFrontEnd/11.7.0-SNAPSHOT/pwsFrontEnd-11.7.0-20080617.094510-72.pom:
>> Error on line 1 of document  : The value of attribute "xmlns" associated
>> with an element type "null" must not contain the '<' character. Nested
>> exception: The value of attribute "xmlns" associated with an element type
>> "null" must not contain the '<' character.
>>       at
>> org.apache.maven.archiva.repository.project.readers.ProjectModel400Reader.read(ProjectModel400Reader.java:116)
>>       at
>> org.apache.maven.archiva.consumers.database.ProjectModelToDatabaseConsumer.processArchivaArtifact(ProjectModelToDatabaseConsumer.java:151)
>>       at
>> org.apache.maven.archiva.database.updater.ProcessArchivaArtifactClosure.execute(ProcessArchivaArtifactClosure.java:52)
>>       at
>> org.apache.commons.collections.CollectionUtils.forAllDo(CollectionUtils.java:388)
>>       at
>> org.apache.maven.archiva.database.updater.JdoDatabaseUpdater.updateUnprocessed(JdoDatabaseUpdater.java:154)
>>       at
>> org.apache.maven.archiva.database.updater.JdoDatabaseUpdater.updateAllUnprocessed(JdoDatabaseUpdater.java:88)
>>       at
>> org.apache.maven.archiva.scheduled.executors.ArchivaDatabaseUpdateTaskExecutor.executeTask(ArchivaDatabaseUpdateTaskExecutor.java:68)
>>       at
>> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
>>       at
>> edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
>>       at
>> edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
>>       at
>> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
>>       at
>> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
>>       at java.lang.Thread.run(Thread.java:619)
>> Caused by: org.apache.maven.archiva.xml.XMLException: Unable to parse
>> project xml
>> file:/home/y/share/archiva_data/repositories/snapshots/com/kelkoo/fe-shopping/pwsFrontEnd/11.7.0-SNAPSHOT/pwsFrontEnd-11.7.0-20080617.094510-72.pom:
>> Error on line 1 of document  : The value of attribute "xmlns" associated
>> with an element type "null" must not contain the '<' character. Nested
>> exception: The value of attribute "xmlns" associated with an element type
>> "null" must not contain the '<' character.
>>       at org.apache.maven.archiva.xml.XMLReader.init(XMLReader.java:114)
>>       at org.apache.maven.archiva.xml.XMLReader.<init>(XMLReader.java:82)
>>       at
>> org.apache.maven.archiva.repository.project.readers.ProjectModel400Reader.read(ProjectModel400Reader.java:68)
>>       ... 12 more
>> Caused by: org.dom4j.DocumentException: Error on line 1 of document  : The
>> value of attribute "xmlns" associated with an element type "null" must not
>> contain the '<' character. Nested exception: The value of attribute "xmlns"
>> associated with an element type "null" must not contain the '<' character.
>>       at org.dom4j.io.SAXReader.read(SAXReader.java:482)
>>       at org.dom4j.io.SAXReader.read(SAXReader.java:365)
>>       at org.apache.maven.archiva.xml.XMLReader.init(XMLReader.java:110)
>>       ... 14 more
>>
>> -------------------------------------------------------------------------------------
>>
>>
>>
>> And the pom :
>> ------------------------------------------------------
>> <?xml version="1.0" encoding="UTF-8"?><project
>> xmlns="http://maven.apache.org/POM/4.0.0"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>> http://maven.apache.org/maven-v4_0_0.xsd">
>>  <parent>
>> ....
>> --------------------------------------------------------
>>
>
>



-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

Mime
View raw message