Pregunta

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

¿Fue útil?

Solución

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:

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top