Apache Maven 3 Cookbook
Formats:
save 15%!
save 37%!
Free Shipping!
| Also available on: |
|
- Grasp the fundamentals and extend Apache Maven 3 to meet your needs
- Implement engineering practices in your application development process with Apache Maven
- Collaboration techniques for Agile teams with Apache Maven
- Use Apache Maven with Java, Enterprise Frameworks, and various other cutting-edge technologies
- Develop for Google Web Toolkit, Google App Engine, and Android Platforms using Apache Maven
Book Details
Language : EnglishPaperback : 224 pages [ 235mm x 191mm ]
Release Date : August 2011
ISBN : 1849512442
ISBN 13 : 9781849512442
Author(s) : Srirangan
Topics and Technologies : All Books, Cookbooks, Java, Open Source
Table of Contents
PrefaceChapter 1: Basics of Apache Maven
Chapter 2: Software Engineering Techniques
Chapter 3: Agile Team Collaboration
Chapter 4: Reporting and Documentation
Chapter 5: Java Development with Maven
Chapter 6: Google Development with Maven
Chapter 7: Scala, Groovy, and Flex
Chapter 8: IDE Integration
Chapter 9: Extending Apache Maven
Index
- Chapter 1: Basics of Apache Maven
- Setting up Apache Maven on Windows
- Setting up Apache Maven on Linux
- Setting up Apache Maven on Mac
- Verifying the Apache Maven installation
- Creating a new project
- Compiling and testing a project
- Understanding the Project Object Model
- Understanding the build lifecycle
- Understanding build profiles
- Chapter 2: Software Engineering Techniques
- Build automation
- Project modularization
- Dependency management
- Source code quality checks
- Test Driven Development
- Acceptance testing automation
- Deployment automation
- Chapter 3: Agile Team Collaboration
- Creating centralized remote repositories
- Performing continuous integration with Hudson
- Integrating source code management
- Team integration with Apache Maven
- Implementing environment integration
- Distributed development
- Working in offline mode
- Chapter 4: Reporting and Documentation
- Documenting with a Maven site
- Generating Javadocs with Maven
- Generating unit test reports
- Generating code coverage reports
- Generating code quality reports
- Setting up the Maven dashboard
- Chapter 5: Java Development with Maven
- Building a web application
- Running a web application
- Enterprise Java development with Maven
- Using Spring Framework with Maven
- Using Hibernate persistence with Maven
- Using Seam Framework with Maven
- Chapter 6: Google Development with Maven
- Setting up the Android development environment
- Developing an Android application
- Testing and debugging an Android application
- Developing a Google Web Toolkit application
- Testing and debugging a Google Web Toolkit application
- Developing a Google App Engine application
- Chapter 7: Scala, Groovy, and Flex
- Integrating Scala development with Maven
- Integrating Groovy development with Maven
- Integrating Flex development with Maven
- Chapter 8: IDE Integration
- Creating a Maven project with Eclipse 3.7
- Importing a Maven project with Eclipse 3.7
- Creating a Maven project with NetBeans 7
- Importing a Maven project with NetBeans 7
- Creating a Maven project with IntelliJ IDEA 10.5
- Importing a Maven project with IntelliJ IDEA 10.5
- Chapter 9: Extending Apache Maven
- Creating a Maven plugin using Java
- Making your Java Maven plugin useful
- Documenting your Maven plugin
- Creating a Maven plugin using Ant
- Creating a Maven plugin using JRuby
Srirangan
Code Downloads
Download the code and support files for this book.
Submit Errata
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
Errata
- 4 submitted: last submission 10 May 2013Errata type: code| Page number: 18
The recipe Compiling and testing a project contains three maven commands to execute: mvn compile, mvn test, and mvn compile (under the heading How it works...). The second invocation of mvn compile, should have been mvn package
Errata type: Typo | Page number: 8
In the Getting ready section; This can be verified by running the following command line: Java -version However, J in java is in caps and the correct syntax is: java -version
Errata type: Typo | Page number: 16
srirangan,oackt
should be:
srirangan
`-- packt
Errata type: Code | Page number: 193
<myProperties>
<property>
<name>name</name>
<value>Sri</value>
<property>
<property>
<name>age</name>
<value>26</value>
<property>
...
should be:
...
<myProperties>
<property>
<name>name</name>
<value>Sri</value>
</property>
<property>
<name>age</name>
<value>26</value>
</property>
...
Errata type: Typo| Page number: 81
Under the Getting Ready section
To get started, you need to include the dependency of the Maven Surefile plugin should be: To get started, you need to include the dependency of the Maven Surefire plugin
Sample chapters
You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.
- Install, set up, and configure Apache Maven 3 for your development architecture
- Understand the entire Build Lifecycle Concept used in Maven 3
- Develop Enterprise Java applications with Maven
- Learn and implement build automation, dependency management, and test-driven development
- Extend Maven through custom plugins developed in Java, ANT, and JRuby
- Practice agile collaboration and implement continuous integration, centralized repositories, source code integration, team integration, and so on
- Understand reporting project documentation and Maven dashboards
- Integrate various development platforms such as Eclipse, NetBeans, and IntelliJIDEA IDE using Apache Maven 3
- Use the Project Object Model for software development
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.
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.
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.
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.
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.
A practical collection of real-world recipes on efficient Java software development with Apache Maven 3 for individual programmers, managers, and entire teams
This well-detailed Cookbook takes you step by step, doing one task at a time with the latest version of Apache Maven 3. You will find this Cookbook an answer to almost all your needs for building high-quality Java applications with well-explained code and many illustrations to quicken up your learning. If you're a Java developer, it will arm you with all the critical information you need to get to grips with Maven 3, the latest version of the powerful build tool by Apache.
This book is for Java developers, teams, and managers who want to implement Apache Maven in their development process, leveraging the software engineering best practices and agile team collaboration techniques it brings along. The book is also specifically for the developer who wishes to get started in Apache Maven and use it with a range of emergent and enterprise technologies including Enterprise Java, Frameworks, Google App Engine, Android, and Scala.

