Skip to main content

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

Hi,

I have a POM with a custom packaging type ('grails-plugin') that actual extension is 'zip'. By default Aether doesn't understand this it seems.

How does one get Aether to understand custom packaging types? I tried this:

        final artifactTypeRegistry = new DefaultArtifactTypeRegistry()
        artifactTypeRegistry.add(new DefaultArtifactType('grails-plugin', 'zip', '', 'none'))
        session.setArtifactTypeRegistry(artifactTypeRegistry)

But it didn't appear to work :(

Thank for any help.

Cheers
--
Graeme Rocher
Grails Project Lead
SpringSource

Back to the top