17.08.2016 Views

Apache Maven 3 Cookbook

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 6<br />

However, as displayed in the following code, the GWT application's POM file contains<br />

additional dependencies to GWT artifacts:<br />

<br />

<br />

com.google.gwt<br />

gwt-servlet<br />

2.1.0-1<br />

compile<br />

<br />

<br />

com.google.gwt<br />

gwt-user<br />

2.1.0-1<br />

provided<br />

<br />

<br />

<br />

<br />

<br />

org.codehaus.mojo<br />

gwt-maven-plugin<br />

2.1.0-1<br />

<br />

<br />

<br />

compile<br />

generateAsync<br />

test<br />

<br />

<br />

<br />

<br />

<br />

<br />

The build plugin configuration shown in the preceding code now synchronizes the <strong>Maven</strong> GWT<br />

project with the <strong>Maven</strong> build lifecycle.<br />

137

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!