What is an artifact descriptor in Maven?

Recently, I had some problems with some Maven dependencies and came across an error: "Could not read the artifact descriptor ...".

My question is not really about the error, but about the artifact descriptor itself. I would like to know what the real problem is or what creates the problem, and I really did not find an explanation of what the artifact descriptors are, so I wondered if anyone could help me.

+4
source share
1 answer

In other words, this is POM. POM is a specific Maven file that describes an artifact .

Maven 3.3.9 Eclipse Aether ( Maven 3.5.0 Maven Resolver API), ArtifactDescriptorReader, :

, . , , , , .

Javadoc readArtifactDescriptor:

, .

, , " ...", , POM . , , POM, - , Maven ..

+3

Source: https://habr.com/ru/post/1667651/


All Articles