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

有帮助吗?

解决方案

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:

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top