17.08.2016 Views

Apache Maven 3 Cookbook

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

IDE Integration<br />

Once your project is created, you can proceed to create a run configuration to execute one<br />

or more <strong>Apache</strong> <strong>Maven</strong> goals. Select Run | Edit Configurations and add a new <strong>Maven</strong> run<br />

configuration by selecting the +icon.<br />

You can now select a working directory, which should be the project root containing the pom.<br />

xml file, specify the <strong>Maven</strong> goals to be executed, and define other IDE / <strong>Maven</strong> options.<br />

Once the run configuration is created, it can be executed through the Run menu option.<br />

How it works...<br />

We have created an <strong>Apache</strong> <strong>Maven</strong> project that is at the same time an IntelliJ IDEA project<br />

as well.<br />

182

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

Saved successfully!

Ooh no, something went wrong!