You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Ryadh Amar <ma...@gmail.com> on 2009/12/23 19:29:24 UTC
The latest camel java archetype (2.1.0) is not working correctly
Hello Community,
When I run the following
mvn archetype:generate -DarchetypeGroupId=org.apache.camel.archetypes
-DarchetypeArtifactId=camel-archetype-java -DarchetypeVersion=2.1.0
-DgroupId=com.corp.projects -DartifactId=camel-jira-ws
Everything looks ok, but glancing at the generated pom.xml in the newly
created project, it seems the archetype didn't pick the groupId and the
artifactID
=================================
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
=================================
the 2.0.0 archetype works fine.
just a FYI
Should a JIRA issue be raised?
--
View this message in context: http://old.nabble.com/The-latest-camel-java-archetype-%282.1.0%29-is-not-working-correctly-tp26905679p26905679.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: The latest camel java archetype (2.1.0) is not working correctly
Posted by Hadrian Zbarcea <hz...@gmail.com>.
Hi Ryadh,
Thanks for pointing that out. Yes, a jira should be created, please
mark it as a bug. If you know what the cause is and could submit a
patch, even better.
Thanks,
Hadrian
On Dec 23, 2009, at 1:29 PM, Ryadh Amar wrote:
>
> Hello Community,
> When I run the following
> mvn archetype:generate -DarchetypeGroupId=org.apache.camel.archetypes
> -DarchetypeArtifactId=camel-archetype-java -DarchetypeVersion=2.1.0
> -DgroupId=com.corp.projects -DartifactId=camel-jira-ws
> Everything looks ok, but glancing at the generated pom.xml in the
> newly
> created project, it seems the archetype didn't pick the groupId and
> the
> artifactID
>
> =================================
> <groupId>${project.groupId}</groupId>
> <artifactId>${project.artifactId}</artifactId>
> <packaging>jar</packaging>
> <version>1.0-SNAPSHOT</version>
> =================================
>
> the 2.0.0 archetype works fine.
> just a FYI
>
> Should a JIRA issue be raised?
> --
> View this message in context: http://old.nabble.com/The-latest-camel-java-archetype-%282.1.0%29-is-not-working-correctly-tp26905679p26905679.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
Re: The latest camel java archetype (2.1.0) is not working correctly
Posted by Jon Anstey <ja...@gmail.com>.
Darn! Looks like a change I made to support Maven 3 broke Maven 2. I've put
a fix on trunk so the artifact/group substitution will work for next time.
On Wed, Dec 23, 2009 at 2:59 PM, Ryadh Amar <ma...@gmail.com>wrote:
>
> Hello Community,
> When I run the following
> mvn archetype:generate -DarchetypeGroupId=org.apache.camel.archetypes
> -DarchetypeArtifactId=camel-archetype-java -DarchetypeVersion=2.1.0
> -DgroupId=com.corp.projects -DartifactId=camel-jira-ws
> Everything looks ok, but glancing at the generated pom.xml in the newly
> created project, it seems the archetype didn't pick the groupId and the
> artifactID
>
> =================================
> <groupId>${project.groupId}</groupId>
> <artifactId>${project.artifactId}</artifactId>
> <packaging>jar</packaging>
> <version>1.0-SNAPSHOT</version>
> =================================
>
> the 2.0.0 archetype works fine.
> just a FYI
>
> Should a JIRA issue be raised?
> --
> View this message in context:
> http://old.nabble.com/The-latest-camel-java-archetype-%282.1.0%29-is-not-working-correctly-tp26905679p26905679.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
--
Cheers,
Jon
Camel in Action: http://manning.com/ibsen
Blog: http://janstey.blogspot.com