Create a MAVEN Web project: MVN archetype:generate-dgroupid=packagename-dartifactid=webappname-darchetypeartifactid= Maven-archetype-webapp-darchetypegroupid=org.apache.maven.archetypes-dinteractivemode=false
Create a generic Java project for maven: MVN archetype:generate-dgroupid=packagename-dartifactid=projectname-dinteractivemode=false
MVN Eclipse:eclipse
--src
-----Main
----------Java
----------Resources
-----Test
---------Java
---------Resources
--target
--pom.xml
Src/main/java |
Application library Sources-java source code files |
Src/main/resources |
Application Library Resources-Repository, automatically copied to the Classes folder |
Src/main/filters |
Resources Filter Files-resource filtering file |
src/main/assembly |
Assembly Descriptor-Description configuration of the component, how to package |
Src/main/config |
Configuration Files-Profiles |
Src/main/webapp |
Web application Sources-web application directory, WEB-INF,JS,CSS, etc. |
Src/main/bin |
Script Library |
Src/test/java |
Unit test Java source code files |
Src/test/resources |
Test the required resource pool |
Src/test/filters |
Test Resource Filter Library |
Src/site |
Some documents |
target/ |
Store the files and directories after the project is built, jar packages, war packages, compiled class files, etc., generated by the MAVEN build |
Pom.xml |
Project description File |
LICENSE.txt |
License |
README.txt |
Read Me
|
MAVEN project structure and commands for creating MAVEN projects