Book Image

Apache Maven 3 Cookbook

By : Srirangan
Book Image

Apache Maven 3 Cookbook

By: Srirangan

Overview of this book

<p>Apache Maven is more than just build automation. When positioned at the very heart of your development strategy, Apache Maven can become a force multiplier not just for individual developers but for agile teams and managers. This book covers implementation of Apache Maven with popular enterprise technologies/frameworks and introduces agile collaboration techniques and software engineering best practices integrated with Apache Maven.</p> <p>The Apache 3 Maven Cookbook is a real-world collection of step-by-step solutions for individual programmers, teams, and managers to explore and implement Apache Maven and the engineering benefits it brings into their development processes.</p> <p>This book helps with the basics of Apache Maven and with using it to implement software engineering best practices and agile team collaboration techniques. It covers a broad range of emergent and enterprise technologies in the context of Apache Maven, and concludes with recipes on extending Apache Maven with custom plugins.</p> <p>We look at specific technology implementations through Apache Maven including Java Web Applications, Enterprise Java Frameworks, Cloud Computing, Mobile / Device development, and more. We also look at Maven integration with popular IDEs including Eclipse, NetBeans, and IntelliJIDEA.</p> <p>The book is rounded off by exploring extending the Apache Maven platform by building custom plugins, integrating them with existing projects, and executing them through explicit command-line calls or with Maven Build Phases.</p>
Table of Contents (16 chapters)
Apache Maven 3 Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Documenting with a Maven site


A Maven project site is the foundation for the end users and the developers alike. End users look to the site for user guides, API docs, and mailing list archives; and developers look to the site for design documents, reports, issue tracking, and release road-maps.

A Maven project site can consist of everything from unit test failures to code quality reports. It makes them available in a simple HTML or "website" format. HTML pages are rendered using a consistent project template.

Additionally it can be presented as a PDF as well.

Maven project sites often contain the project Javadocs and binary releases. They can be published to a remote server for distributed access.

Getting ready

A Maven site exists for a given Maven project. Our first step is, therefore, to create a new Maven project if we don’t have one for the site. Executing the following command in the terminal will create a sample Maven project.

$ mvn archetype:create -DgroupId=org.sonatype.mavenbook -DartifactId...