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.

Basics of <strong>Apache</strong> <strong>Maven</strong><br />

So what exactly has <strong>Maven</strong> created for us? Simple answer—the following:<br />

|-- pom.xml<br />

`-- src<br />

|-- main<br />

| `-- java<br />

| `-- net<br />

| `-- srirangan,oackt<br />

| `-- maven<br />

| `-- App.java<br />

`-- test<br />

`-- java<br />

`-- net<br />

`-- srirangan,oackt<br />

`-- maven<br />

`-- AppTest.java<br />

11 directories, 3 files<br />

It created a folder for the project which contains the main pom.xml file and the source folder<br />

which contains subfolders for the application and test sources. These then contain the<br />

complete package structure and a sample application with a unit test case.<br />

16

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

Saved successfully!

Ooh no, something went wrong!