Hi,

to be able to unpack/unarchive Maven must know which Unarchiver should be used for this type. 'aar' is not one of the few default supported types, hence the exception. The plugin responsible for packaging the aar-file should also have configured how to unarchive the aar-file. In case of dependency:unpack it is quite simple: I would expect that the packaging plugin is configured in the pom.xml with a <extension>true</extension>. This way Maven can find such information.

However, I can imagine that in case of unpack-dependencies the aar-project.pom isn't used to detect the corresponding Unarchiver. Sounds like an improvement to me.

thanks,
Robert

ps. this is also an interesting usecase for the consumer-pom or the flatten-maven-plugin



Op Mon, 21 Jul 2014 22:40:18 +0200 schreef David Hoffer <dhoff...@gmail.com>:

I'm getting the following error trying to unpack some files from an aar.
 Is this not supported?  Is there any way to do this?

Failed to execute goal
org.apache.maven.plugins:maven-dependency-plugin:2.8:unpack-dependencies
(unpack-service) on project service: Unknown archiver type: No such
archiver: 'aar'. -> [Help 1]

-Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to