Maven -- 未完待续

 Maven

Understand Maven

POM (project object model)

artifactId: used for the name of the program.

groupId: ?

packaging: java-jar, cpp-?

version:

 

groupId+artifactId+version == coordinates of the project. (must be unique combination)

 

Features are enabled by using POM are:

  • dependency management.
  • remote repository.
  • universal reuse of build logic.
  • tool portability and integration.
  • easy searching and filtering of project artifacts.

 

Maven life cycle

 

posted @ 2018-11-29 20:44  andychhr  阅读(121)  评论(0编辑  收藏  举报