Merge pull request #845 from sirkubax/issue_813

Fix for maven_artifact failing on function signature
This commit is contained in:
Brian Coca 2015-08-23 18:21:44 -04:00
commit 35d6a515d8

View file

@ -285,7 +285,7 @@ def main():
artifact_id = dict(default=None),
version = dict(default=None),
classifier = dict(default=None),
extension = dict(default=None),
extension = dict(default=None, required=True),
repository_url = dict(default=None),
username = dict(default=None),
password = dict(default=None),
@ -309,7 +309,8 @@ def main():
if not repository_url:
repository_url = "http://repo1.maven.org/maven2"
downloader = MavenDownloader(module, repository_url, repository_username, repository_password)
#downloader = MavenDownloader(module, repository_url, repository_username, repository_password)
downloader = MavenDownloader(module, repository_url)
try:
artifact = Artifact(group_id, artifact_id, version, classifier, extension)