From df235b4d92620a668611a363c7f382c6c4ab00e7 Mon Sep 17 00:00:00 2001 From: sirkubax Date: Mon, 17 Aug 2015 19:08:18 +0200 Subject: [PATCH] QuickFix of issue 813 --- packaging/language/maven_artifact.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packaging/language/maven_artifact.py b/packaging/language/maven_artifact.py index 55dfbd33de5..5f20a9af169 100644 --- a/packaging/language/maven_artifact.py +++ b/packaging/language/maven_artifact.py @@ -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)