Maven artifact is known as a file (generally a jar) that is extended to the Maven repository. Maven build generates multiple artifacts comprising of source jar and compiled jar. GroupId, artifactId, and version together form an artifact and all of the three combined solely identifies it.
The below code snippet shows an example of the Maven artifact.
<dependency>
<groupId> org.selenium </groupId>
<artifactId> seleniumJava </artifactId>
<version> 4.0.2 </version>
</dependency>