Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aether-users] Getting Aether to understand packaging types

Graeme Rocher wrote:

However, I can't work out how to get Aether (outside of Maven) to
understand this custom packaging type. Right now it tries to resolve a JAR
file (which fails)

As I asked before, you might want to share how you invoke Aether to resolve your artifact. With "how" I mean the code snippet detailing the involved APIs and relevant method parameters.

I went down the path of using a custom ArtifactTypeRegistry, but it seems
that is not what is required?

Depends on the use case, in general the ArtifactTypeRegistry supports the artifact descriptor reader to map dependency types to artifact coordinates.


Benjamin


Back to the top