Erik,

You're right: there is problem with a file in the public repository that is probably causing this. A workaround would be to download the 3.1.1-incubating version from subversion and build it locally, so all the correct files end up in your local repository (from http://svn.apache.org/viewvc/incubator/servicemix/tags/servicemix-3.1.1/).

You can also only get the pom.xml file from this location and copy it to you local repository manually, I think.


Gert

Erik Allais wrote:
I try to build a HTTP SU with maven and the 3.1.1 release and i got this
error :
mvn archetype:create -DartifactId=mc-http-su
-DarchetypeGroupId=org.apache.servicemix.tooling \
-DarchetypeArtifactId=servicemix-http-consumer-service-unit
-DarchetypeVersion=3.1.1-incubating
[INFO] Scanning for projects...
[INFO] Reactor build order: [INFO] Unnamed - org.apache.servicemix.samples:MC:pom:1.0-SNAPSHOT
[INFO]   A custom project
[INFO] Searching repository for plugin with prefix: 'archetype'.
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.1.1-incubating/jbi-maven-plugin-3.1.1-incubating.pom
5K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/tooling/tooling/3.1.1-incubating/tooling-3.1.1-incubating.pom
2K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix/3.1.1-incubating/servicemix-3.1.1-incubating.pom
69K downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'507906935d130cfa9b44696270f62e006367533d'; remote =
'a79a1012430e34db6e471c444f0dd77c28be9d0e' - RETRYING
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix/3.1.1-incubating/servicemix-3.1.1-incubating.pom
69K downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'507906935d130cfa9b44696270f62e006367533d'; remote =
'a79a1012430e34db6e471c444f0dd77c28be9d0e' - IGNORING
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.servicemix.tooling:tooling:pom:3.1.1-incubating

Reason: Cannot find parent: org.apache.servicemix:servicemix for project:
org.apache.servicemix.tooling:tooling:pom:3.1.1-incubating for project
org.apache.servicemix.tooling:tooling:pom:3.1.1-incubating


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Wed Jul 18 15:05:17 GMT+01:00 2007
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------

i check the file
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix/3.1.1-incubating/servicemix-3.1.1-incubating.pom
and its seem that there is a well formed problem

Here my webbrowser error :

Erreur d'analyse XML : balise ne correspondant pas. Attendu : </dependency>.
Emplacement :
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix/3.1.1-incubating/servicemix-3.1.1-incubating.pom
Numéro de ligne 820, Colonne 8 :     </exclusion>
-------^


Regards,
Erik

Reply via email to