mvn jar:jar doesn't do anything useful.

@execute phase="package" is what you want here (its something similar
to attainGoal)

See: 
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
(hopefully it helps a little here).

- Brett

On 12/30/05, Torsten Curdt <[EMAIL PROTECTED]> wrote:
>
> On 29.12.2005, at 18:36, Brett Porter wrote:
>
> > If you expect to run it as "mvn minijar:minijar", then you should use
> > @execute phase="package" instead of @phase package.
>
> But doesn't that mean it will be called also on a "mvn jar:jar"?
>
> Basically I would like to get the same behavior as:
>
>   <project>
>    <goal name="minijar:minijar">
>      <attainGoal name="jar:jar"/>
>      ...call to plugin...
>    </goal>
>   </project>
>
> cheers
> --
> Torsten
>
>
>

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

Reply via email to