You are previewing Apache Maven 3 Cookbook.

Apache Maven 3 Cookbook

Cover of Apache Maven 3 Cookbook by Srirangan Published by Packt Publishing
  1. Apache Maven 3 Cookbook
    1. Table of Contents
    2. Apache Maven 3 Cookbook
    3. Credits
    4. About the Author
    5. About the Reviewer
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
    8. 1. Basics of Apache Maven
      1. Setting up Apache Maven on Windows
      2. Setting up Apache Maven on Linux
      3. Setting up Apache Maven on Mac
      4. Verifying the Apache Maven installation
      5. Creating a new project
      6. Compiling and testing a project
      7. Understanding the Project Object Model
      8. Understanding the build lifecycle
      9. Understanding build profiles
    9. 2. Software Engineering Techniques
      1. Build automation
      2. Project modularization
      3. Dependency management
      4. Source code quality checks
      5. Test Driven Development
      6. Acceptance testing automation
      7. Deployment automation
    10. 3. Agile Team Collaboration
      1. Creating centralized remote repositories
      2. Performing continuous integration with Hudson
      3. Integrating source code management
      4. Team integration with Apache Maven
      5. Implementing environment integration
      6. Distributed development
      7. Working in offline mode
    11. 4. Reporting and Documentation
      1. Documenting with a Maven site
      2. Generating Javadocs with Maven
      3. Generating unit test reports
      4. Generating code coverage reports
      5. Generating code quality reports
      6. Setting up the Maven dashboard
    12. 5. Java Development with Maven
      1. Building a web application
      2. Running a web application
      3. Enterprise Java development with Maven
      4. Using Spring Framework with Maven
      5. Using Hibernate persistence with Maven
      6. Using Seam Framework with Maven
    13. 6. Google Development with Maven
      1. Setting up the Android development environment
      2. Developing an Android application
      3. Testing and debugging an Android application
      4. Developing a Google Web Toolkit application
      5. Testing and debugging a Google Web Toolkit application
      6. Developing a Google App Engine application
    14. 7. Scala, Groovy, and Flex
      1. Integrating Scala development with Maven
      2. Integrating Groovy development with Maven
      3. Integrating Flex development with Maven
    15. 8. IDE Integration
      1. Creating a Maven project with Eclipse 3.7
      2. Importing a Maven project with Eclipse 3.7
      3. Creating a Maven project with NetBeans 7
      4. Importing a Maven project with NetBeans 7
      5. Creating a Maven project with IntelliJ IDEA 10.5
      6. Importing a Maven project with IntelliJ IDEA 10.5
    16. 9. Extending Apache Maven
      1. Creating a Maven plugin using Java
      2. Making your Java Maven plugin useful
      3. Documenting your Maven plugin
      4. Creating a Maven plugin using Ant
      5. Creating a Maven plugin using JRuby
    17. Index
O'Reilly logo

Source code quality checks

In a perfect world, you are the best programmer alive and you are effortlessly able to mind control every other programmer in your entire team and force him / her to code the way you want.

In the real world, you and your team can, at best, agree upon a set of programming standards and implement automated source code quality checks into your project build to verify that a certain level of code quality is upheld.

These automated source code quality checks and verifications still cannot ensure that the application itself is designed correctly. However, it can help some of the lesser experienced programmers adhere to standards expected of them.

Getting ready

The Apache Maven PMD plugin automatically runs the PMD code analysis ...

The best content for your career. Discover unlimited learning on demand for around $1/day.