On Thu, Jul 10, 2008 at 1:55 AM, honno <[EMAIL PROTECTED]> wrote:
>
> Hi.
> When i create a service unit project with following the step on the websit
> :http://servicemix.apache.org/22-beginner-creating-our-first-su-module.html
> .
> When i execute the commond by maven:
> mvn archetype:create -DarchetypeArtifactId=servicemix-service-unit
> -DarchetypeGroupId=org.apache.servicemix.tooling
> -DartifactId=tutorial-file-su
>
> Some errors occurs .
> the errors information is :
> ......
> Error creating from archetype
> Embedded error:Error reading the META-INF/archetype.xml descriptor.
> The META-INF/archetype.xml descriptor cannot be found.
> ....
Without the full error, I'm not sure from where this error originates.
But I hazard a guess it's due to Maven not being able to fetch the
archetype to run it. Try moving your local Maven repository aside and
letting Maven create a new one. The local Maven repository is located
in your home directory, as noted below:
Linux/Unix: ~/.m2/repository
Windows: c:\Document and Settings\<USERNAME>\.m2\repository
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Blog: http://bruceblog.org/