1. Go inside jose directory in command-line.

$ cd jose

2. Build the project using the following command.

$ mvn clean install

3. Go inside custom-lifecycle/com.packt.lifecycle.sample directory in command-line.

$ cd ../custom-lifecycle/com.packt.lifecycle.sample

4. Build the project using the following command.

$ mvn clean install

5. Go inside custom-lifecycle/com.packt.lifecycle.sample.project directory in command-line.

$ cd ../../custom-lifecycle/com.packt.lifecycle.sample.project

6. Build the project using the following command.

$ mvn clean install

7. Go inside lifecycle-ext directory in command-line.

$ cd ../../lifecycle-ext/com.packt.lifecycle.ext

8. Build the project using the following command.

$ mvn clean install

9. Go inside lifecycle-ext directory in command-line.

$ cd ../../lifecycle-ext/com.packt.lifecycle.ext.project

10. Build the project using the following command.

$ mvn clean install