AW: [m2] archetype plugin

2007-07-16 Thread Hauschel, Fred
Users List Betreff: [m2] archetype plugin hey all, last week i created my first own archetype. All does work fine! This week the plugin replaces ${groupId} and ${artifactId} with the values from the archetype instead of the passed Values from cmdLine ;-( But the plugIn received the cmd line

[m2] archetype plugin

2007-07-16 Thread Hauschel, Fred
hey all, last week i created my first own archetype. All does work fine! This week the plugin replaces ${groupId} and ${artifactId} with the values from the archetype instead of the passed Values from cmdLine ;-( But the plugIn received the cmd line arguments: [INFO] -

Re: [m2] Archetype Plugin parameters and templates

2007-03-08 Thread Jason Melnick
ote: >>> >>> >>>>Hi, >>>> >>>>The M1 Genapp plugin offers the possibility to define custom parameters >>>> >>>> >>>and >>> >>> >>>>templates... So here my questions

[m2] archetype plugin test resources location

2006-11-23 Thread Dave Syer
I like (a bit) the way the archetype plugin copies archetype sources to a new package based on the new project name. How can I do the same thing with test resources? -- View this message in context: http://www.nabble.com/-m2--archetype-plugin-test-resources-location-tf2691992s177.html#a7506731

[m2] Archetype plugin docs have 'package' not 'packageName'

2005-11-24 Thread Wendy Smoak
The Archetype plugin docs list 'package' as an optional parameter (in the first column). It should be 'packageName'. http://maven.apache.org/plugins/maven-archetype-plugin/create-mojo.html -- Wendy - To unsubscribe, e-mail: [EM

Re: [m2] archetype plugin bug?

2005-10-24 Thread Brett Porter
> Sent: sat 2005-10-22 02:01 > To: Maven Users List > Subject: Re: [m2] archetype plugin bug? > > > > you can use -Dpackage to set a different package, but we should > certainly validate the input. Please file a bug in JIRA. > > - Brett > > On 10/21/05, Jon Ek

Re: [m2] archetype plugin bug?

2005-10-24 Thread Jon Ekdahl
From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: sat 2005-10-22 02:01 To: Maven Users List Subject: Re: [m2] archetype plugin bug? you can use -Dpackage to set a different package, but we should certainly validate the input. Please file a bug in JIRA. - Brett On 10/21/05, Jon Ekdahl &l

Re: [m2] archetype plugin bug?

2005-10-21 Thread Brett Porter
you can use -Dpackage to set a different package, but we should certainly validate the input. Please file a bug in JIRA. - Brett On 10/21/05, Jon Ekdahl <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm just getting started on m2 and I believe I stumbled over a bug. > I created a template project with t

[m2] archetype plugin bug?

2005-10-21 Thread Jon Ekdahl
Hi, I'm just getting started on m2 and I believe I stumbled over a bug. I created a template project with the following command: mvn archetype:create -DgroupId=my-group -DarchetypeId=my-app The generated App.java file starts with the line: package my-group; which is not a valid package defin

Re: [m2] Archetype Plugin parameters and templates

2005-09-29 Thread Allan Ramirez
t possible. Thank you in advance, Eric On 9/27/05, Jason van Zyl <[EMAIL PROTECTED]> wrote: On Mon, 2005-09-26 at 21:49 -0400, Eric Jacob wrote: Hi, The M1 Genapp plugin offers the possibility to define custom parameters and templates... So here my questions about

Re: [m2] Archetype Plugin parameters and templates

2005-09-27 Thread Eric Jacob
Genapp plugin offers the possibility to define custom parameters > and > > templates... So here my questions about the M2 Archetype plugin: > > > > (1) Does it offer the same possibilities? > > Yes, the templates for a archetype are actually velocity templates so > more

Re: [m2] Archetype Plugin parameters and templates

2005-09-26 Thread Jason van Zyl
On Mon, 2005-09-26 at 21:49 -0400, Eric Jacob wrote: > Hi, > > The M1 Genapp plugin offers the possibility to define custom parameters and > templates... So here my questions about the M2 Archetype plugin: > > (1) Does it offer the same possibilities? Yes, the templates f

[m2] Archetype Plugin parameters and templates

2005-09-26 Thread Eric Jacob
Hi, The M1 Genapp plugin offers the possibility to define custom parameters and templates... So here my questions about the M2 Archetype plugin: (1) Does it offer the same possibilities? (2) Is it possible to prompt the user for the parameter's value? (3) Where should I start to build m

Re: [m2] Archetype Plugin problem generating Mojo type project (beta-1)

2005-09-25 Thread Eric Jacob
Brett Porter wrote: Yes. Can you file it in JIRA? Thanks, Brett On 9/26/05, Eric Jacob <[EMAIL PROTECTED]> wrote: Hi, I created a plugin skeleton using the following command: m2 archetype:create -DgroupId=com.mycompany.app -DartifactId=my-plugin -DarchetypeArtifactId=maven-archetype-mojo

Re: [m2] Archetype Plugin problem generating Mojo type project (beta-1)

2005-09-25 Thread Brett Porter
Yes. Can you file it in JIRA? Thanks, Brett On 9/26/05, Eric Jacob <[EMAIL PROTECTED]> wrote: > Hi, > > I created a plugin skeleton using the following command: > > m2 archetype:create -DgroupId=com.mycompany.app -DartifactId=my-plugin > -DarchetypeArtifactId=maven-archetype-mojo > > When I try t

[m2] Archetype Plugin problem generating Mojo type project (beta-1)

2005-09-25 Thread Eric Jacob
Hi, I created a plugin skeleton using the following command: m2 archetype:create -DgroupId=com.mycompany.app -DartifactId=my-plugin -DarchetypeArtifactId=maven-archetype-mojo When I try to install the plugin, M2 gives me this error: $ m2 install [INFO] -

Re: [m2] Archetype plugin: How can I define my own project skeleton?

2005-06-16 Thread Brett Porter
We need an archetype archetype! :) - Brett On 6/16/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > Hi, > > 1- You need to create a new m2 project like this : > http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-archetype/maven-archetypes/maven-archetype-quickstart/ > > that contai

Re: [m2] Archetype plugin: How can I define my own project skeleton?

2005-06-16 Thread Emmanuel Venisse
Hi, 1- You need to create a new m2 project like this : http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-archetype/maven-archetypes/maven-archetype-quickstart/ that contains : - pom.xml file - src/main/resources/META-INF/archetype.xml file - src/main/resources/archetype-resources

[m2] Archetype plugin: How can I define my own project skeleton?

2005-06-16 Thread Rahul
Hi, I have a project skeleton/structure that is different from what is generated by Archetype plugin by default. I would like to define a project skeleton that can be used by Archetype to setup projects. I think this is defined by "archetype.xml" packaged under META-INF in the archetype plug