executing assembly:assembly trigger all phases upto package to run. So your
antrun should work.

-D


On 5/26/06, David Smiley <[EMAIL PROTECTED]> wrote:

On 2006-05-25 12:01:30 -0400, "dan tran" <[EMAIL PROTECTED]> said:

>
> bind antrun plugin at generate-sources phase.
>
> see antrun plugin's instructions for detail

I know I could do that... I was wondering if there was some way I could
ensure that this happens before assembly:assembly happens.  AFAIK, the
whole assembly thing is not part of the build lifecycle, and so I can't
ensure things happen before or after any particular goal (like
assembly:assembly)
~ David

>
> -D
>
>
> On 5/25/06, David Smiley <[EMAIL PROTECTED]> wrote:
>>
>> I want to use the assembly plugin but some of the files to be assembled
>> need to be generated beforehand (not classpath stuff).  So how do I
>> get, say an ant-based generation process to be invoked prior to
>> invocation of assembly:assembly?  In maven 1 I would have used a
>> preGoal; but with Maven 2 I am not sure what to do.
>>
>> I looked around but can't seem to figure out a way to do this.
>>
>> THANKS
>>
>> ~ David Smiley
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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