I am new to Ansible and am trying to get a download from an Archiva 
respository.  I am using the extra called maven_artifact.  I can 
successfully download an artifact from Maven Central but not from my local 
Archiva.  By all accounts, Archiva is working properly.  It could be 
something as simple as me not getting the URL right when using Archiva, but 
I can't tell.  The URL Ansible assembles does not appear to be anything 
Archiva would understand, according to the Archiva REST API.

Is this supposed to work at all? If so, how?

Thanks in advance

This works:

---
- hosts: localhost
  connection: local
  tasks:
  - name: Get federation artifact
    maven_artifact:
     group_id: junit
     artifact_id: junit
     version: 4.11
     repository_url: 'http://repo1.maven.org/maven2'
     dest: ./junit.jar
...

This does not work:

---
- hosts: localhost
  connection: local
  tasks:
  - name: Get federation artifact
    maven_artifact:      
      group_id: org.webgme.guest
      artifact_id: WeatherFederateProject-java 
      version: LATEST
      repository_url: 'http://cpswtng_archiva:8080'
      dest: ./WeatherFederateProject.jar
...

  

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/cb1dcc74-9603-4b04-bb99-1db538db8bfb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to