Dark Night
Dark Night

Reputation: 511

Maven cannot get artifact from my local repository

Trying to get the follwing JAR from my local/internal repository:

httpclient-4.3.1.jar

Maven fails with Error:

ArtifactDescriptionException: Failed to read artifact descriptor for org.apache.....

It works fine with every single other jar but it fails on this apache one. No idea why. Tried clearing .m2\repository, upgrading Maven, eclipse, re-uploading, nothing worked.

Upvotes: 0

Views: 80

Answers (1)

Gayan Mettananda
Gayan Mettananda

Reputation: 1518

Try mvn -U clean install command.

It checks for updates and releases and snapshots on remote repository."-U" forces to check the updates.

Upvotes: 1

Related Questions