To compile and build the PIX project in this book, you need to use Maven 2, a powerful project building and management tool, capable of handling anything from the simplest single-source file project to huge projects over the Internet involving thousands of source files and hundreds of developers all over the world.
If you have worked with Ant, make, or nmake before, you already know the ins and outs of a build tool. Maven 2 has the same general objectives as most:
To manage source code, configuration, and resource files in the project
To orchestrate the compilation of source and unit-test code
To run the actual suite of unit tests and report the results
To assemble the final application
To assist or to carry out integration tests (optional)
To help deploy the final application (optional)
This appendix shows how to use Maven 2 to build the PIX project. The same techniques can apply to any of your Java and/or Spring framework projects.
The official URL for downloading Maven 2 is at
At the time of writing, the latest available version is 2.0.6. All the Maven configuration files in the PIX project have been tested with this version, and should be compatible with any version higher than 2.0.6.
Installing Maven 2 is as simple as making sure that the distribution's
bin directory is in your
PATH environment variable. On Windows, you can set the
PATH using the following ...