Ant and Maven Interview Questions You'll Most Likely Be Asked is a perfect companion to stand ahead above the rest in today’s competitive job market. Rather than going through comprehensive, textbook-sized reference guides, this book includes only the information required immediately for job search to build an IT career. This book puts the interviewee in the driver's seat and helps them steer their way to impress the interviewer.
Table of Contents
1. Build file
2. Ant Scripting
3. Ant Tools
4. Apache Ant Libraries
5. Wild Cards
6. FilterChains and FilterReaders
7. Custom Components and Selectors
8. Maven Basics
9. Directory Structure
10. Life Cycle, Phases
14. Build Profiles
15. HR Questions
a) 200 Ant and Maven Interview Questions, Answers and Proven Strategies for getting hired as an IT professional
b) Dozens of examples to respond to interview questions
c) 51 HR Questions with Answers and Proven strategies to give specific, impressive, answers that help nail the interviews
d) 2 Aptitude Tests download available on www.vibrantpublishers.com
Sample from the book
(Below Questions and Answers are randomly taken from different pages of the book)
65: What are patterns in ant?
ANT uses its own flavor of wildcards they call patterns. They allow matching both of subdirectory name and filename.
66: What does this mean in ant? *.java.
*.java means all files with extension java in the current dir.
67: White wildcard expression to refer to any files in a directory called tt at any depth in the current directory tree.
68: What does this mean in ant? test/*.*
test/*.* means any files in a directory called test hanging directly off the current directory.
69: How will you refer to any files with extension java in any directory one deep off the current directory. How will you write the wildcard expression for that?
107: Define Maven.
Maven can be defined as a software tool for project management and build automation. It is used for building and managing Java projects.
108: How can Maven benefit the development process?
Maven can benefit the development process by employing standard conventions and practices to accelerate development cycle.
109: What is an archetype?
An archetype can be defined as an original pattern from which all other things of the same kind are made.
110: How can compile his application sources using Maven?
In order to compile, change to the directory where pom.xml is created by archetype:generate and execute the following command: