Appendix A. Java7developer—source code installation

 

We all love working with the actual code when reading through a new technical book. It helps you gain a proper working understanding of the material, which you can’t get from reading a code example.

You can download the source code for this book from www.manning.com/evans/ or www.java7developer.com/. We’ll refer to the location that you put the code in as $BOOK_CODE.

The project that holds all of the source code for this book is called java7developer. It’s a mix of Java, Groovy, Scala, and Clojure source code, along with their supporting libraries and resources. It isn’t your typical Java-only source code project, and you’ll need to follow the instructions in this appendix in order to run the build (that is, compile the code and run the tests). We’ll use the Maven 3 build tool to execute various build lifecycle goals, such as example compile and test.

Let’s look at how the source code is laid out for the java7developer project.

A.1. Java7developer source code structure

The java7developer project structure follows the Maven conventions discussed in chapter 12 and is therefore laid out in the following manner:

A.2. Downloading and installing Maven

A.3. Running the java7developer build

A.4. Summary