InterviewSolution
| 1. |
What Is Maven Artifact? |
|
Answer» An artifact is a file, usually a JAR that gets deployed to a Maven repository. A Maven build PRODUCES one or more artifacts, such as a compiled JAR and a "sources" JAR. Each artifact has a group ID (usually a reversed domain name, like com.example.foo), an artifact ID (just a name), and a VERSION string. The three TOGETHER uniquely identify the artifact. A PROJECT's dependencies are specified as artifacts. An artifact is a file, usually a JAR that gets deployed to a Maven repository. A Maven build produces one or more artifacts, such as a compiled JAR and a "sources" JAR. Each artifact has a group ID (usually a reversed domain name, like com.example.foo), an artifact ID (just a name), and a version string. The three together uniquely identify the artifact. A project's dependencies are specified as artifacts. |
|