What is a Maven artifact?

后端 未结 9 903
悲哀的现实
悲哀的现实 2020-11-29 14:20

What is an artifact and why does Maven need it?

9条回答
  •  囚心锁ツ
    2020-11-29 14:58

    In general software terms, an "artifact" is something produced by the software development process, whether it be software related documentation or an executable file.

    In Maven terminology, the artifact is the resulting output of the maven build, generally a jar or war or other executable file. Artifacts in maven are identified by a coordinate system of groupId, artifactId, and version. Maven uses the groupId, artifactId, and version to identify dependencies (usually other jar files) needed to build and run your code.

提交回复
热议问题