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
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]
-
ote:
>>>
>>>
>>>>Hi,
>>>>
>>>>The M1 Genapp plugin offers the possibility to define custom parameters
>>>>
>>>>
>>>and
>>>
>>>
>>>>templates... So here my questions
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
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
> 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
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
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
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
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
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
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
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
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
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
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]
-
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
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
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
19 matches
Mail list logo