java learning fourth stage (Maven basis)

The role of 1.Mevan
1. To help us manage the jar package
2.maven built a lot of plug-ins, you can easily help us compile the code
3.maven can be a key test to help us test code
4.maven can be a key package, configure files, code, integrate resources
2.Maven first core function
1. jar package management
maven project will not copy the jar to the project, and is introduced by the coordinates of the jar,
we can maven project pom.xml file to write our jar of coordinates, maven
software will automatically go to the warehouse to find the jar package jar package our
second largest core function 3.Maven of
"a key structure", a command complete all compilers , testing, operation, package, deploy,
install 4.Maven of
1. maven software to extract the directory with no spaces Chinese and
2. the configuration environment variable
New variable:
key: MAVEN_HOME
value: maven installation path, not to the bin
in path set
% MAVEN_HOME% \ bin
3. configure settings.xml
about 54 rows to configure the local warehouse location, recommended configuration, or in default c drive, the greatest impact on the system
of local warehouse location
5. how good maven
needs Over maven pom.xml and dialogue
own information 1. Project
2. The project required jar package
3. The project required plug-ins

Published 70 original articles · won praise 59 · views 2549

Guess you like

Origin blog.csdn.net/Ruoice/article/details/104317049