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 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to