Oh, I see - when a lifecycle is "forked" (@execute phase), the project
is cloned so that the current build is not corrupted.

If you need access to the project that was used during that stage, add:

/** @parameter expresssion="${executedProject}" */
private MavenProject executedProject;

Which you can then use, for example, to get:
executedProject.getArtifact().getFile()

Looks like this part needs to be added to the docs.

- Brett

On 1/2/06, Torsten Curdt <[EMAIL PROTECTED]> wrote:
> > @execute phase="package" is what you want here (its something similar
> > to attainGoal)
>
> Hm...
>
>   mvn minijar:minijar
>
> does build the package beforehand
> ...but the artifacts are not set :-(
>
> When calling separate goals it works just fine.
>
> What's the problem?
>
> cheers
> --
> Torsten
>
>
>

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

Reply via email to