Footprintless::Resource::MavenProvider - A resource provider for resources retrieved by maven coordinate
version 1.16
Creates a new Footprintless::Resource::MavenProvider
that will use $maven_agent
to retrieve the resources.
$maven_agent
should be an instance of Maven::Agent
.
Downloads $resource
and returns the filename it downloaded to.
If using Maven::MvnAgent
,
the resource will be cached in the local .m2
repository.
All options are passed through to $maven_agent->download()
.
Returns the Footprintless::Resource::Maven
indicated by $spec
.
Returns 1
if $resource
is a hash ref containing an entry for coordinate
,
or if $resource
is a string in the form of a maven coordinate (ex: groupId:artifactId:[packaging]:[classifier]:version).
Lucas Theisen <lucastheisen@pastdev.com>
This software is copyright (c) 2016 by Lucas Theisen.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Please see those modules/websites for more information related to this module.