Domanda

I have a Sonatype Nexus OSS install, and I have artifacts on it. However, when using "LATEST" for the version in the pom.xml, I get an unresolved dependency error. Is there something I have to enable to allow the LATEST keyword? I've looked everywhere

È stato utile?

Soluzione

The Maven client does not true support dynamic revisions. The closest thing it supports are snapshot revisions, where a revision like 1.0-SNAPSHOT, is resolved to the latest time-stamped artifact.

I think you may be confusing the Maven POM with the REST API used by Nexus. This the ability to specify a "LATEST" version:

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top