Detailed pom file common elements

Element name effect
modelVersion POM model version
groupId Item identifier
artifactId Identifier member
packaging Packaging means such as: jar, war
version The current version of the project (if not a formal package should be added SNAPSHOT meaning in the current version after version is a snapshot version)
dependencies Required for the project depend on the collection contains more dependency elements
dependency GroupId aritifactId version relies contains elements of the element belonging dependencies element
build Information needed to build the project, mainly for the compilation settings
resources The required collection contains more resource elements of this project is build elements
resource Resource elements belong resources
directory Described storage resource directory belong to resource elements
sourceDirectory Source folder belongs to build elements

Reference Links:
https://blog.csdn.net/Coder_Qiang/article/details/83306721

Published 24 original articles · won praise 4 · Views 8840

Guess you like

Origin blog.csdn.net/qq_36638446/article/details/104560819