You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Jamie McCrindle <ja...@gmail.com> on 2006/09/29 12:05:54 UTC

servicemix-service-engine archetype

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.

Re: servicemix-service-engine archetype

Posted by Guillaume Nodet <gn...@gmail.com>.
Yes, please. All documentation improvements are welcome.

On 9/29/06, Jamie McCrindle <ja...@gmail.com> wrote:
> 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 <gn...@gmail.com> 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 <ja...@gmail.com> 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
> >
>


-- 
Cheers,
Guillaume Nodet

Re: servicemix-service-engine archetype

Posted by Jamie McCrindle <ja...@gmail.com>.
worked with 1.0-alpha-4

cheers,
j.

On 9/29/06, Jamie McCrindle <ja...@gmail.com> wrote:
> 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 <gn...@gmail.com> 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 <ja...@gmail.com> 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
> >
>

Re: servicemix-service-engine archetype

Posted by Jamie McCrindle <ja...@gmail.com>.
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 <gn...@gmail.com> 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 <ja...@gmail.com> 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
>

Re: servicemix-service-engine archetype

Posted by Guillaume Nodet <gn...@gmail.com>.
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 <ja...@gmail.com> 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