Maven - Artifact - (Component|Module|Library)

Card Puncher Data Processing

Maven - Artifact - (Component|Module|Library)

About

Artifact in Maven.

An Artifact is the data storage unit of a repository.

It's at the same time:

(Ie artifacts can be transferred to and from repositories)

Artifacts are generally resources generated by an application such as:

  • website
  • jar/war

but can be any file.

Generally, they are simply library packaged as JAR file from a project.

Identifier / Coordinates

A coordinates is a property that defines uniquely an artifact.

See Coordinate

Naming

A typical artifact produced by Maven would have the form:

<artifactId>-<version>-<classifier>.<extension> 

where:

In many cases, the dependencies will refer to jar artifacts with no classifier.

for example,

  • myapp-1.0-windows64.jar

artifactId

The artifactId is the Maven jargon for the project name (ie a project descriptive name).

artifactId indicates the unique base name of an artifact.

Secondary artifacts like source bundles also use the artifactId as part of their final name.





Discover More
Sparkmagic Hello
Jupyter - SparkMagic

Sparkmagic is a kernel that provides Ipython magic for working with Spark clusters through Livy in Jupyter notebooks. installation ...
Idea Maven Dependency Tree
Maven - Dependency

dependency management in Maven. Dependency are artifact where your software depends on. Dependency are defined in the pom.xml, section dependencies. When you build an application, Maven will search...



Share this page:
Follow us:
Task Runner