0 votes
1 view
in Java by (3.4k points)

What is an artifact and why does Maven need it?

1 Answer

0 votes
by (46.1k points)
An artifact is a file, normally a JAR, that gets extended to a Maven repository.

A Maven build allows one or more artifacts, such as a concentrated JAR and a "sources" JAR.

All artifact has a group ID (normally a reversed domain name, similar com.example.foo), an artifact ID (just a name), and a version string. The three commonly uniquely recognize the artifact.

A project's dependencies are selected as artifacts.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Nov 20, 2019 in Java by Anvi (10.2k points)
0 votes
1 answer
0 votes
1 answer
asked Jul 14, 2019 in Java by Krishna (2.6k points)
0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...