We publish releases to maven central via oss.sonatype.org, but also snapshots
So to get the latest release a url like
works a treat, or we can use an explicit version instead of LATEST. all good.
However, for an integration test I want to pull in an artifact that is the latest snapshot version (we normally are only building snapshots for one version at a time).
Via a simple URL I hoped:
might work, however I get a 404 not found.
now I do control the build process, so I could host that artifact I need elsewhere, but it would be nice to just get it from the snapshot repo.
Similarly, right now the test infra in question requires a http:// url to retrieve the file. No scripting. If needed I could change that (for example to determine the right version to use), just reducing work
So is it possible to get the ‘latest’ snapshot?