You can also set the property maven.multiproject.site.goals

For example maven.multiproject.site.goals=clean
,multiproject:artifact-callback,site

Arnaud

On 02/05/07, Lukas Theussl <[EMAIL PROTECTED]> wrote:

I'm not sure I follow you. As I said, the site goal only builds the
site, it doesn't do anything else. If you want to run another goal every
time you run site, you can bind it to a pre/postGoal, eg

   <preGoal name="site">
     <attainGoal name="jar:install"/>
   </preGoal>

If you just want to define a chain of goals, write your own custom goal.
Check the scripting docs on the maven site:
http://maven.apache.org/maven-1.x/reference/scripting.html

Cheers,
-Lukas


emerson cargnin wrote:
> ok, i don't do any special configuration when running
> multiproject:install, our default goal. Does the site runs install as
> well?? if not, how can I force it to do it? so that the site would
> also install the jar on the local repository? Of course without having
> to build everything again...
>
> thanks
> emerson
>
> On 30/04/07, Lukas Theussl <[EMAIL PROTECTED]> wrote:
>
>> multiproject:site only runs the site goal for all sub-projects, if any
>> of those depend on a certain artifact to be installed, you need to do
>> that separately. Depending on your setup, you might try to enforce the
>> installation via a preGoal, but I wouldn't recommend that in general.
>>
>> HTH,
>> -Lukas
>>
>>
>> emerson cargnin wrote:
>> > Hi all
>> >
>> > I'm getting compiler errors when build using multiproject:site, so
>> > that I neede to run multiproject:intall before, what then solved the
>> > problem.
>> > Just to clarify my understanding, the multiproject:site is not
>> > suppose to also compile all of the projects? do I need to do it in a
>> > different way/configuration to ensure that all modules are been
>> > recompiled?
>> >
>> > thanks
>> > emerson
>> >
>> > ---------------------------------------------------------------------
>> > 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]
>>
>>
>
> ---------------------------------------------------------------------
> 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