Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aether-users] Finding the URL for an Artifact or Dependency

Michel Guymon wrote:

After repoSystem .reslveDependencies is called, is it possible to get a
url for the Dependency that points at the remote repository where the
dependency is found? Would this have to be handled in a
RepositoryListener to track what urls are being used?

The easiest you can do is use MavenDefaultLayout from aether-util to calculate the relative path and append that to your repo's base URL.

What is the use case behind this?


Benjamin


Back to the top