javapandit.net
  • Home
  • Quick Java
    • Exception Handling
    • Collections Framework
  • Java Best Practices
  • Web Services
    • Web Service Basics
    • Ten Basic webservice concepts
    • XML
    • Apache Axis
    • Restful Web Services
  • JMS Concepts
    • JMS- MySQL
  • Hadoop
    • NoSQL DATABASEs
    • Apache Sqoop
    • Hadoop Interview Questions
  • Java 5
  • Java 8
    • Java 8 : Lambda Expressions
  • JDBC
  • Java Architect
    • Enterprise application re-platforming strategies
    • Java Memory Management
  • Java Programs
  • Technical Tips
    • How to set JAVA_HOME environment variable
    • How to create an auto increment field in Oracle?
    • Linux Commands
  • Best Java Interview Questions
    • Java Interview Questions- YouTube
  • Interview Questions
    • Java Tech interview Questions
    • Core Java Interview Questions >
      • core tech questions1
      • Java Collection interview questions
      • Java Concurrency
    • Servlets Interview Questions
    • JSP Interview Questions
    • Java Web Services Interview Questions
    • EJB Interview Questions
    • XML Interview Questions
    • JMS Interview Questions
  • Struts Interview Questions
    • Struts 2 Interview Questions
  • Java EE Architects Interview Questions
    • Java Architect Interview Questions
    • Top 10 reasons for Java Enterprise Application Performance Problems
    • Web Application Scalability Questions for IT Architect
  • JavaPandit's Blog
  • Web Services Interview Questions
  • Servlets And JSP
  • Oracle SOA Interview Questions
    • Open ESB /JBI
    • BPEL Language
  • Log4J
  • Ant
  • Maven
  • JMeter
  • JUnit
  • Apache POI Framework
  • ORCALE SERVICE BUS (OSB) Interview Questions
  • J2EE Patterns
    • Model-View-Controller (MVC)
    • Front Controller
    • DAO
    • Business Delegate
    • Session Facade
    • Service Locator
    • Transfer Object
    • Design Patterns >
      • Creational Patterns >
        • Singleton
      • Behavioural Patterns
      • Structural Patterns
    • Intercepting Filter
  • SQL Interview Questions/Lab
  • Best Wall Papers
    • Devotional Songs
  • Java Community
  • HIBERNATE
  • ORACLE CC&B
    • Oracle CC&B Interview Questions
  • Docker
  • Little Princess
    • Sai Tanvi Naming Ceremony Celebrations
    • Rice Feeding Ceremony
    • Sai Tanvi Gallery
  • APPSC Career Guidance
    • AP History
    • Indian Polity
    • Indian Economy
    • Science & Technology
    • Mental Ability and Reasoning
    • Disaster Management
    • Current Affairs and Events
    • General Sciences >
      • Biology
      • Physics
      • Chemistry
    • Previous Question Papers
  • About Us
  • Contact US
<font color="blue"><b>Maven Project Directory Structure:</b> </font>
src/main/java - Application/Library sources
src/main/resources - Application/Library resources
src/main/filters - Resource filter files
src/main/assembly - Assembly descriptors
src/main/config - Configuration files
src/main/scripts - Application/Library scripts
src/main/webapp - Web application sources
src/test/java - Test sources
src/test/resources - Test resources
src/test/filters - Test resource filter files
src/site - Site
LICENSE.txt - Project's license
NOTICE.txt - Notices and attributions required by libraries that the project depends on
README.txt - Project's readme
Maven Archetypes:

Archetype is a Maven project templating toolkit. An archetype is defined as an original pattern or model from which all other things of the same kind are made. The names fits as we are trying to provide a system that provides a consistent means of generating Maven projects. Archetype will help authors create Maven project templates for users, and provides users with the means to generate parameterized versions of those project templates.


Using an Archetype
To create a new project based on an Archetype, you need to call mvn archetype:generate goal, like the following:

mvn archetype:generate

<font color="blue"><b>Maven Archetypes list:</b> </font>
Archetype ArtifactIds Description
maven-archetype-archetype - An archetype which contains a sample archetype.
maven-archetype-j2ee-simple - An archetype which contains a simplifed sample J2EE application.
maven-archetype-mojo- An archetype which contains a sample a sample Maven plugin.
maven-archetype-plugin- An archetype which contains a sample Maven plugin.
maven-archetype-plugin-site- An archetype which contains a sample Maven plugin site.
maven-archetype-portlet- An archetype which contains a sample JSR-268 Portlet.
maven-archetype-quickstart- An archetype which contains a sample Maven project.
maven-archetype-simple- An archetype which contains a simple Maven project.
maven-archetype-site- An archetype which contains a sample Maven site which demonstrates some of the supported document types like APT, XDoc, and FML and demonstrates how to i18n your site.
maven-archetype-site-simple- An archetype which contains a sample Maven site.
maven-archetype-webapp- An archetype which contains a sample Maven Webapp project.
Prev 1 2 3 4 Next
Powered by Create your own unique website with customizable templates.