Yes the xml file being downloaded turns out to be HTML and therefore can't be
processed.  A workaround is to go into the .m2/repository directory and
delete the org.apache.servicemix folder and re-build.  It takes longer
because it hase to redownload but it will keep you running.  I haven't
isolated the problem any further.  

Paul



Sm0k3rz 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
> 

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

Reply via email to