質問

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