archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lenik <le...@bodz.net>
Subject Re: `mvn deploy' failed
Date Fri, 09 Jul 2010 00:15:56 GMT
Yes, I've fixed this problem by deleteing the folder containing the 
broken metadata files.

But this broken artifact is one in a million files in the m2 repository, 
how do I scan/check all the rest? I can 'scan now' a repository in the 
Archiva admin page, but it only discovers if there are new ones, and 
never check the file checksum again the metadata. Is it possible to do 
this integrity-check-and-fix within archiva?

Thanks,
Lenik


On 2010-7-8 09:48, Deng Ching wrote:
> Can you check if the metadata file is correct? It looks like there are some
> escape characters that got in the metadata file..
>
> On Wed, Jul 7, 2010 at 11:30 PM, Lenik<lenik@bodz.net>  wrote:
>
>    
>> The output:
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building SECCA :: SEMS :: Parent
>> [INFO]    task-segment: [deploy]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
>> [INFO] [install:install {execution: default-install}]
>> [INFO] Installing /home/appserv/build/parent/pom.xml to
>> /home/appserv/.m2/repository/com/seccaproject/sems/parent/1-SNAPSHOT/parent-1-SNAPSHOT.pom
>> [INFO] [deploy:deploy {execution: default-deploy}]
>> [INFO] Retrieving previous build number from seccasnapshots
>> [INFO] repository metadata for: 'snapshot
>> com.seccaproject.sems:parent:1-SNAPSHOT' could not be found on repository:
>> seccasnapshots, so will be created
>> Uploading:
>> http://m2.secca-project.com/snapshots/com/seccaproject/sems/parent/1-SNAPSHOT/parent-1-20100707.152611-1.pom
>> 583b uploaded  (parent-1-20100707.152611-1.pom)
>> [INFO] Retrieving previous metadata from seccasnapshots
>> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
>> 'ca2ed90f79e38f171313fe040d7275d48c206350'; remote =
>> '39b09dae90456d0a47c1cc626d8b582235631de6' - RETRYING
>> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
>> 'ca2ed90f79e38f171313fe040d7275d48c206350'; remote =
>> '39b09dae90456d0a47c1cc626d8b582235631de6' - IGNORING
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Error installing artifact's metadata: Error installing metadata:
>> Error updating group repository metadata
>>
>> in epilog non whitespace content is not allowed but got t (position:
>> END_TAG seen ...</metadata>\nt... @9:2)
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 9 seconds
>> [INFO] Finished at: Wed Jul 07 23:26:11 CST 2010
>> [INFO] Final Memory: 9M/17M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>>
>>
>>
>> I have no idea what to do next.
>>
>> Thanks,
>> Lenik
>>
>>      
>
>    


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