You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jon Ekdahl <Jo...@Xlent.Se> on 2005/10/21 14:21:45 UTC
[m2] archetype plugin bug?
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 definition, so the code won't compile
("mvn compile" fails).
Maybe I'm not using the plugin correctly, but it shouldn't be generating
faulty code, right? Is this actually a bug, and if so, how do I go about
reporting it?
Regards, Jon
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] archetype plugin bug?
Posted by Brett Porter <br...@gmail.com>.
Yes, Maven 2 has a maven-archetype-plugin in the components list. We
haven't had an opportunity to create projects for the Maven2 plugins
yet
On 10/24/05, Jon Ekdahl <Jo...@xlent.se> wrote:
>
> Brett (or anyone else),
>
> I can't seem to find the proper component in JIRA to file this issue.
> When I try to create a new issue there is no maven-archetype-plugin
> project in the drop-down. Should I file it under Maven2?? (sounds weird...)
>
> Regards, Jon
>
> ________________________________
>
> From: Brett Porter [mailto:brett.porter@gmail.com]
> 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 <Jo...@xlent.se> wrote:
> >
> > 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 definition, so the code won't compile
> > ("mvn compile" fails).
> >
> > Maybe I'm not using the plugin correctly, but it shouldn't be generating
> > faulty code, right? Is this actually a bug, and if so, how do I go about
> > reporting it?
> >
> > Regards, Jon
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] archetype plugin bug?
Posted by Jon Ekdahl <Jo...@Xlent.Se>.
Brett (or anyone else),
I can't seem to find the proper component in JIRA to file this issue.
When I try to create a new issue there is no maven-archetype-plugin
project in the drop-down. Should I file it under Maven2?? (sounds weird...)
Regards, Jon
________________________________
From: Brett Porter [mailto:brett.porter@gmail.com]
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 <Jo...@xlent.se> wrote:
>
> 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 definition, so the code won't compile
> ("mvn compile" fails).
>
> Maybe I'm not using the plugin correctly, but it shouldn't be generating
> faulty code, right? Is this actually a bug, and if so, how do I go about
> reporting it?
>
> Regards, Jon
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] archetype plugin bug?
Posted by Brett Porter <br...@gmail.com>.
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 <Jo...@xlent.se> wrote:
>
> 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 definition, so the code won't compile
> ("mvn compile" fails).
>
> Maybe I'm not using the plugin correctly, but it shouldn't be generating
> faulty code, right? Is this actually a bug, and if so, how do I go about
> reporting it?
>
> Regards, Jon
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org