NAME

Footprintless::Resource::MavenProvider - A resource provider for resources retrieved by maven coordinate

VERSION

version 1.04

CONSTRUCTORS

new($maven_agent)

Creates a new Footprintless::Resource::MavenProvider that will use $maven_agent to retrieve the resources. $maven_agent should be an instance of Maven::Agent.

METHODS

download($resource, \%options)

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().

resource($spec)

Returns the Footprintless::Resource::Maven indicated by $spec.

supports($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).

AUTHOR

Lucas Theisen <lucastheisen@pastdev.com>

COPYRIGHT AND LICENSE

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.

SEE ALSO

Please see those modules/websites for more information related to this module.