{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/2547","repository_url":"https://api.github.com/repos/ansible/ansible-modules-extras","labels_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/2547/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/2547/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/2547/events","html_url":"https://github.com/ansible/ansible-modules-extras/issues/2547","id":164820059,"number":2547,"title":"maven_artifact can't get artifact from local repo.","user":{"login":"chchrist","id":177884,"avatar_url":"https://avatars.githubusercontent.com/u/177884?v=3","gravatar_id":"","url":"https://api.github.com/users/chchrist","html_url":"https://github.com/chchrist","followers_url":"https://api.github.com/users/chchrist/followers","following_url":"https://api.github.com/users/chchrist/following{/other_user}","gists_url":"https://api.github.com/users/chchrist/gists{/gist_id}","starred_url":"https://api.github.com/users/chchrist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chchrist/subscriptions","organizations_url":"https://api.github.com/users/chchrist/orgs","repos_url":"https://api.github.com/users/chchrist/repos","events_url":"https://api.github.com/users/chchrist/events{/privacy}","received_events_url":"https://api.github.com/users/chchrist/received_events","type":"User","site_admin":false},"labels":[{"id":437719791,"url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels/affects_2.0","name":"affects_2.0","color":"5319e7","default":false},{"id":132898023,"url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels/bug_report","name":"bug_report","color":"fbca04","default":false},{"id":132898205,"url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels/needs_info","name":"needs_info","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/milestones/3","html_url":"https://github.com/ansible/ansible-modules-extras/milestones/2.2.0","labels_url":"https://api.github.com/repos/ansible/ansible-modules-extras/milestones/3/labels","id":1756452,"number":3,"title":"2.2.0","description":"","creator":{"login":"alikins","id":15162,"avatar_url":"https://avatars.githubusercontent.com/u/15162?v=3","gravatar_id":"","url":"https://api.github.com/users/alikins","html_url":"https://github.com/alikins","followers_url":"https://api.github.com/users/alikins/followers","following_url":"https://api.github.com/users/alikins/following{/other_user}","gists_url":"https://api.github.com/users/alikins/gists{/gist_id}","starred_url":"https://api.github.com/users/alikins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alikins/subscriptions","organizations_url":"https://api.github.com/users/alikins/orgs","repos_url":"https://api.github.com/users/alikins/repos","events_url":"https://api.github.com/users/alikins/events{/privacy}","received_events_url":"https://api.github.com/users/alikins/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":73,"state":"open","created_at":"2016-05-09T20:33:36Z","updated_at":"2016-11-04T16:12:45Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-07-11T11:55:05Z","updated_at":"2016-11-06T10:44:18Z","closed_at":null,"body":"<!--- Verify first that your issue/request is not already reported in GitHub -->\n##### ISSUE TYPE\n\n<!--- Pick one below and delete the rest: -->\n- Bug Report\n##### COMPONENT NAME\n\n<!--- Name of the plugin/module/task -->\n\nmaven_artifact\n##### ANSIBLE VERSION\n\n<!--- Paste verbatim output from “ansible --version” between quotes below -->\n\n```\nansible 2.0.2.0\n```\n##### CONFIGURATION\n\n<!---\nMention any settings you have changed/added/removed in ansible.cfg\n(or using the ANSIBLE_* environment variables).\n-->\n##### OS / ENVIRONMENT\n\n<!---\nMention the OS you are running Ansible from, and the OS you are\nmanaging, or say “N/A” for anything that is not platform-specific.\n-->\n\nN/A\n##### SUMMARY\n\n<!--- Explain the problem briefly -->\n\nmaven_artifact can't get artifact from local repo as is looking for maven-metadata.xml and locally is maven-metadata-local.xml\n##### STEPS TO REPRODUCE\n\n<!---\nFor bugs, show exactly how to reproduce the problem.\nFor new features, show how the feature would be used.\n-->\n\nJust try to point to your local maven repository.\n\n<!--- Paste example playbooks or commands between quotes below -->\n\n```\n- name: get artifact from local repo\n  local_action: maven_artifact\n  args:\n    group_id: acme\n    artifact_id: cms\n    extension: zip\n    classifier: foo\n    version: \"{{ artifact_version }}\"\n    repository_url: \"~/.m2/repository\"\n    state: present\n    dest: /tmp\n  register: artifact\n```\n\n<!--- You can also paste gist.github.com links for larger files -->\n##### EXPECTED RESULTS\n\n<!--- What did you expect to happen when running the steps above? -->\n\nIt should be able to find the maven-metadata-local.xml\n##### ACTUAL RESULTS\n\n<!--- What actually happened? If possible run with high verbosity (-vvvv) -->\n\n<!--- Paste verbatim command output between quotes below -->\n\n```\n\"msg\": \"unknown url type: ~/.m2/repository/acme/foo/cms/1.10-SNAPSHOT/maven-metadata.xml\"}\n```\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/comments/258672882","html_url":"https://github.com/ansible/ansible-modules-extras/issues/2547#issuecomment-258672882","issue_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/2547","id":258672882,"user":{"login":"ansibot","id":6585283,"avatar_url":"https://avatars.githubusercontent.com/u/6585283?v=3","gravatar_id":"","url":"https://api.github.com/users/ansibot","html_url":"https://github.com/ansibot","followers_url":"https://api.github.com/users/ansibot/followers","following_url":"https://api.github.com/users/ansibot/following{/other_user}","gists_url":"https://api.github.com/users/ansibot/gists{/gist_id}","starred_url":"https://api.github.com/users/ansibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansibot/subscriptions","organizations_url":"https://api.github.com/users/ansibot/orgs","repos_url":"https://api.github.com/users/ansibot/repos","events_url":"https://api.github.com/users/ansibot/events{/privacy}","received_events_url":"https://api.github.com/users/ansibot/received_events","type":"User","site_admin":false},"created_at":"2016-11-06T10:44:18Z","updated_at":"2016-11-06T10:44:18Z","body":"@chchrist ping, this issue is still waiting on your feedback. We will close the issue if you do not respond.\n[click here for bot help](https://github.com/ansible/ansibullbot/blob/master/ISSUE_HELP.md)\n<!--- boilerplate: issue_closure --->"}}
{"actor":{"display_login":"ansibot"}}