Hello,

It does not compile here, either. I started from scratch (I deleted my Maven 
repository and I took the latest code from SubVersion) and I tried executing 
the command "mvn -Dmaven.test.skip=true -Dprofile=step1 install".

Before (on Friday) it was failing at "mvn -Dmaven.test.skip=true 
-Dprofile=step2 install", but I still could install the Archetypes.

Kind regards,

Andre Powroznik

Here is my console:

Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

P:\>C:

C:\>cd C:\Andre\ServiceMix

C:\Andre\ServiceMix>mvn -Dmaven.test.skip=true -Dprofile=step1 install
[INFO] Scanning for projects...
Downloading: http://www.ibiblio.org/maven2/org/apache/apache/1/apache-1.pom
3K downloaded
[INFO] Reactor build order:
[INFO]   ServiceMix
[INFO]   Servicemix :: Build
[INFO]   ServiceMix :: Core
[INFO]   ServiceMix :: JBI
[INFO]   ServiceMix :: Services
[INFO]   ServiceMix :: Core
[INFO]   ServiceMix :: Audit
[INFO]   ServiceMix :: Common
[INFO]   ServiceMix :: Common
[INFO]   ServiceMix :: Components
[INFO]   ServiceMix :: SOAP
[INFO]   ServiceMix :: SOAP2
[INFO]   ServiceMix :: BeanFlow
[INFO]   ServiceMix :: Tooling
[INFO]   ServiceMix :: Maven2 JBI Plugin
[INFO]   ServiceMix :: Maven2 XFire Plugin
[INFO] -------------------------------------------------------------------------
---
[INFO] Building ServiceMix
[INFO]    task-segment: [install]
[INFO] -------------------------------------------------------------------------
---
[INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for updates
 from apache-releases
[INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for updates
 from servicemix-m2-repo
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'f5e634399a
b0b05c4590bb565a0275bf36e153fb'; remote = '<!DOCTYPE' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'f5e634399a
b0b05c4590bb565a0275bf36e153fb'; remote = '<!DOCTYPE' - IGNORING
[INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for updates
 from apache-incubating
[INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for updates
 from central
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-site-plugin

Reason: Error getting POM for 'org.apache.maven.plugins:maven-site-plugin' from
the repository: Unable to read local copy of metadata: Cannot read metadata from
 'C:\Documents and Settings\P06603\.m2\repository\org\apache\maven\plugins\maven
-site-plugin\maven-metadata-servicemix-m2-repo.xml': entity reference names can
not start with character ' ' (position: START_TAG seen ... list-style: none; }\r
\nli { margin:0; padding: 0; }\r\n\r\n/* HEADER & ... @18:13)
  org.apache.maven.plugins:maven-site-plugin:pom:LATEST




[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Mon May 14 09:23:42 CEST 2007
[INFO] Final Memory: 5M/9M
[INFO] ------------------------------------------------------------------------

C:\Andre\ServiceMix>

-----Message d'origine-----
De : Sm0k3rz [mailto:[EMAIL PROTECTED] 
Envoyé : dimanche 13 mai 2007 17:28
À : [email protected]
Objet : Re: BUILD ERROR FROM MAVEN maven-metadata-servicemix-m2-repo.xml




bsnyder wrote:
> 
> On 5/13/07, Sm0k3rz <[EMAIL PROTECTED]> wrote:
>>
>> Hi to all,
>> yesterday i have made clean install of a SE and all work... but when
>> maven
>> on compyling download an XML my maven don't build my application and i
>> give
>> this error.
>> Do you have any idea, it seam that maven downalod corrupted files..
>>
>> Reason: Error getting POM for 'org.apache.servicemix:servicemix-core'
>> from
>> the repository: Unable to read local copy of metadata: Cannot read
>> metadata
>> from 'C:\Documents and
>> Settings\Administrator\.m2\repository\org\apache\servicemix\servicemix-core\3.2-incubating-SNAPSHOT\maven-metadata-servicemix-m2-repo.xml':
>> entity reference names can not start with character ' ' (position:
>> START_TAG
>> seen ... list-style: none; }\r\nli { margin:0; padding: 0; }\r\n\r\n/*
>> HEADER & ... @18:13)
>>   org.apache.servicemix:servicemix-core:pom:3.2-incubating-SNAPSHOT
> 
> It appears that the maven-metadata-servicemix-m2-repo.xml file is
> corrupt in some way. Just delete it from the local repo and let Maven
> download it again.
> 
> Bruce
> -- 
> perl -e 'print
> unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
> 
> Apache Geronimo - http://geronimo.apache.org/
> Apache ActiveMQ - http://activemq.org/
> Apache ServiceMix - http://servicemix.org/
> Castor - http://castor.org/
> 
> 
Many Thanks Bruce,
but i have delete it but maven dowonload it corupted every time... i have
change a repository from my pom to codehaus instead of incubator apache and
now it work.



-- 
View this message in context: 
http://www.nabble.com/BUILD-ERROR-FROM-MAVEN-maven-metadata-servicemix-m2-repo.xml-tf3734366s12049.html#a10455819
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to