Cover image for Maven for Eclipse.
Maven for Eclipse.
Title:
Maven for Eclipse.
Author:
Shah, Sanjay.
ISBN:
9781783987139
Personal Author:
Physical Description:
1 online resource (191 pages)
Contents:
Maven for Eclipse -- Table of Contents -- Maven for Eclipse -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers, and more -- Why subscribe? -- Free access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Apache Maven - Introduction and Installation -- Introduction to Maven -- Maven's origin -- Maven's principles -- Maven's component architecture -- The Plexus container -- Wagon -- Maven Doxia -- Modello -- Maven SCM -- Maven versus Ant -- Downloading Maven -- Installing Maven -- Installing Maven on Windows -- Installing Maven on Linux and Mac OS -- Verifying the installation of Maven -- Summary -- 2. Installing m2eclipse -- Introduction to m2eclipse -- Downloading Eclipse -- Installing and launching Eclipse -- Methods to install m2eclipse -- Using Eclipse Marketplace -- Using Update Site -- Setting up Maven for use -- Summary -- 3. Creating and Importing Projects -- The Maven project structure -- POM (Project Object Model) -- Maven coordinates -- POM relationships -- A simple POM -- A super POM -- The Maven project build architecture -- Other essential concepts -- Repository -- The local repository -- The central repository -- The remote repository -- Search sequence in repositories -- Project dependencies -- Dependency scopes -- Transitive dependencies -- Plugins and goals -- Site generation and reporting -- Creating a Maven project -- Using an archetype -- Using no archetypes -- Checking out a Maven project -- Importing a Maven project -- Summary -- 4. Building and Running a Project -- The build lifecycle -- The default lifecycle -- The clean lifecycle -- The site lifecycle.

The package-specific lifecycle -- The Maven console -- Building and packaging projects -- Running hello-project -- Summary -- 5. Spicing Up a Maven Project -- Creating the MyDistance project -- Changing the project information -- Adding dependencies -- Adding resources -- The application code -- Adding a form to get an input -- Adding a servlet -- Adding a utility class -- Running an application -- Writing unit tests -- Running unit tests -- Generating site documentation -- Generating unit tests - HTML reports -- Generating javadocs -- Summary -- 6. Creating a Multimodule Project -- Introduction -- Creating a parent project - POM -- Creating a core module -- Creating a webapp module -- Building a multimodule project -- Running the application -- Summary -- 7. Peeking into m2eclipse -- Other features in m2eclipse -- Add Dependency -- Add Plugin -- New Maven Module Project -- Download JavaDoc -- Download Source -- Open Javadoc -- Open POM -- Update Project -- Disable Workspace Resolution -- Disable Maven Nature -- Import Project(s) from SCM -- A form-based POM editor -- An overview -- Analyzing project dependencies -- Working with repositories -- Local Repositories -- Global Repositories -- Project Repositories -- m2eclipse preferences -- Maven -- Discovery -- Archetypes -- User Interface and User Settings -- Installations -- Warnings -- Templates -- Lifecycle Mappings -- Summary -- Index.
Abstract:
If you want to learn about Maven and use it from within Eclipse to develop Java projects, this is the book for you. Prior experience in developing Java projects and using the Eclipse IDE is presumed. Whether you are a beginner or an experienced developer, this book will get you up and running quickly, with a hands-on approach.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: