1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

QuickFix of issue 813

This commit is contained in:
sirkubax 2015-08-17 19:08:18 +02:00 committed by Matt Clay
parent 6e198ff51a
commit 83b03752c5

View file

@ -285,7 +285,7 @@ def main():
artifact_id = dict(default=None), artifact_id = dict(default=None),
version = dict(default=None), version = dict(default=None),
classifier = dict(default=None), classifier = dict(default=None),
extension = dict(default=None), extension = dict(default=None, required=True),
repository_url = dict(default=None), repository_url = dict(default=None),
username = dict(default=None), username = dict(default=None),
password = dict(default=None), password = dict(default=None),
@ -309,7 +309,8 @@ def main():
if not repository_url: if not repository_url:
repository_url = "http://repo1.maven.org/maven2" 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: try:
artifact = Artifact(group_id, artifact_id, version, classifier, extension) artifact = Artifact(group_id, artifact_id, version, classifier, extension)