ah, right, i'm using 1.0-alpha-3 which i guess is the one that comes with maven 2.0.4. i'll update and try again.
would you like me to add something to the servicemix docs (http://incubator.apache.org/servicemix/main/notes-on-creating-jbi-component-using-maven2.html) to that effect (i.e. that you need 1.0-alpha-4 or above) if it works? cheers, j. On 9/29/06, Guillaume Nodet <[EMAIL PROTECTED]> wrote:
It works fine for me. Could you check the version of the arachetype plugin you use in ~/.m2/repository/org/apache/maven/plugins/maven-archetype-plugin ? I'm using 1.0-alpha-4 which seems the most recent. On 9/29/06, Jamie McCrindle <[EMAIL PROTECTED]> wrote: > hi, > > i'm getting the following error trying to create a component using the > mvn archetype plugin: > > [ERROR] BUILD ERROR > [INFO] ------------------------------------------------------------------------ > [INFO] Error creating from archetype > > Embedded error: Error reading the META-INF/archetype.xml descriptor. > The META-INF/archetype.xml descriptor cannot be found. > > i'm running the following: > > mvn archetype:create -DarchetypeGroupId=org.apache.servic > mix.tooling -DarchetypeArtifactId=servicemix-service-engine -DarchetypeVersio > =3.0-incubating -DgroupId=org.apache.servicemix.xslt -DartifactId=servicemix- > slt > > looking at the servicemix-service-engine plugin it looks like the > archetype.xml is under META-INF/maven/archetype.xml. > > i moved the archetype.xml from META-INF/maven/archetype.xml to > META-INF/archetype.xml in the jar and tried again and it seems to have > worked. > > JIRA? > > cheers, > j. > -- Cheers, Guillaume Nodet
