SAGARFIVE

Tutorials

3.4 What is artifactId ?

  • It is added to the project folder name
  • Indicates the unique base name of the primary artifact being generated by this project.
  • The primary artifact for a project is typically a JAR file.
  • Secondary artifacts like source bundles also use the artifactId as part of their final name.
  • A typical artifact produced by Maven would have the form <artifactId>-<version>.<extension>
  • For example
  • Myapp-1.0.jar
  • Another example:
  • Sample-app-v1.0.jar