Hello
I know this old thread. Hoping some improvement on this topic last 5 years.
We’re in the process of migrating from the old Maven GWT plugin to the 
newer one. So far, we can successfully compile a single module. Our Login 
module is included as a dependency, and its sources are pulled in that way.

In our current setup, the server module’s POM uses the Mojo GWT plugin to 
compile both the main GWT module and the Login module, and both end up 
packaged into the same WAR file.

We run the server locally and then use the gwt:debug goal for DevMode 
pointing server module war location. If anyone has dealt with a similar 
setup, a working example of a pom.xml would be greatly appreciated.
Thanks

On Tuesday, 9 May 2017 at 08:18:16 UTC-4 Thomas Broyer wrote:

>
>
> On Tuesday, May 9, 2017 at 1:45:00 PM UTC+2, Frederik Van Hoyweghen wrote:
>>
>> I tried both the command line (mvn gwt:compile) and via the IntelliJ 
>> Maven plugin.
>> Indeed, binding the execution to the prepare-package phase and running *mvn 
>> gwt:compile@compile-common *works, and I'm glad it does.
>>
>> If I'm reading what you're saying correctly, this means that there is no 
>> way to invoke all the plugin executions with a simple command?
>> I personally expected *mvn gwt:compile* to invoke everything it needs 
>> (so everything that comes earlier in it's lifecycle, including the 
>> executions I bound to the prepare-package phase),
>> or am I missing something obvious?
>>
>
> "mvn package" (or "mvn prepare-package" if you want, but refer to my 
> second rule of thumb)
>
> See 
> https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
>  
> (in this case specifically the "a build phase is made up of plugin goals" 
> section)
>
> If you'd prefer working with a graph of tasks (like you do in Ant), then 
> again have a look at Gradle.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/google-web-toolkit/ae931a19-075a-4de3-a5b3-5678d5f111f3n%40googlegroups.com.

Reply via email to