You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Brandon Goodin <br...@gmail.com> on 2006/11/27 19:39:44 UTC

Multimodule Build

Hey All,

This may be a dumb question. But, I have a aggregate pom with three
modules. One of the modules makes use of the webstart plugin. The
webstart plugin fails when using 'mvn install'. It is necessary for me
to call 'mvn webstart:jnlp' when building this module without calling
'install'. When building from the aggregate pom, how do i get the
webstart project to build using 'webstart:jnlp' instead of 'install'.
The other two modules work fine using the install. I tried setting
<defaultGoal>webstart:jnlp</defaultGoal> in the webstart module. It
does call the appropriate webstart:jnlp but then fails after it
completes the goal because it still attempts to call install right
after.

Thanks
Brandon

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Multimodule Build

Posted by "dawn.angelito" <da...@simulalabs.com>.
Hi Brandon,

As far as I know, there's no way that the default goals bound in the Maven
lifecycle phases will not be executed. So even if you set "mvn
webstart:jnlp" as the default goal for a module, it will still execute
"install".

Dawn


Brandon Goodin wrote:
> 
> Hey All,
> 
> This may be a dumb question. But, I have a aggregate pom with three
> modules. One of the modules makes use of the webstart plugin. The
> webstart plugin fails when using 'mvn install'. It is necessary for me
> to call 'mvn webstart:jnlp' when building this module without calling
> 'install'. When building from the aggregate pom, how do i get the
> webstart project to build using 'webstart:jnlp' instead of 'install'.
> The other two modules work fine using the install. I tried setting
> <defaultGoal>webstart:jnlp</defaultGoal> in the webstart module. It
> does call the appropriate webstart:jnlp but then fails after it
> completes the goal because it still attempts to call install right
> after.
> 
> Thanks
> Brandon
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Multimodule-Build-tf2713584s177.html#a7573801
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Multimodule Build

Posted by Brandon Goodin <br...@gmail.com>.
Sorry this was a misinterpreted need. For some reason after my modules
complete install they start again. I research this and see if there is
any information regarding it.

Brandon

On 11/27/06, Brandon Goodin <br...@gmail.com> wrote:
> Hey All,
>
> This may be a dumb question. But, I have a aggregate pom with three
> modules. One of the modules makes use of the webstart plugin. The
> webstart plugin fails when using 'mvn install'. It is necessary for me
> to call 'mvn webstart:jnlp' when building this module without calling
> 'install'. When building from the aggregate pom, how do i get the
> webstart project to build using 'webstart:jnlp' instead of 'install'.
> The other two modules work fine using the install. I tried setting
> <defaultGoal>webstart:jnlp</defaultGoal> in the webstart module. It
> does call the appropriate webstart:jnlp but then fails after it
> completes the goal because it still attempts to call install right
> after.
>
> Thanks
> Brandon
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org