|
|
@ -32,7 +32,7 @@ DOCUMENTATION = '''
|
|
|
|
---
|
|
|
|
---
|
|
|
|
module: maven_artifact
|
|
|
|
module: maven_artifact
|
|
|
|
short_description: Downloads an Artifact from a Maven Repository
|
|
|
|
short_description: Downloads an Artifact from a Maven Repository
|
|
|
|
version_added: "historical"
|
|
|
|
version_added: "2.0"
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Downloads an artifact from a maven repository given the maven coordinates provided to the module. Can retrieve
|
|
|
|
- Downloads an artifact from a maven repository given the maven coordinates provided to the module. Can retrieve
|
|
|
|
- snapshots or release versions of the artifact and will resolve the latest available version if one is not
|
|
|
|
- snapshots or release versions of the artifact and will resolve the latest available version if one is not
|
|
|
@ -45,54 +45,42 @@ options:
|
|
|
|
group_id:
|
|
|
|
group_id:
|
|
|
|
description: The Maven groupId coordinate
|
|
|
|
description: The Maven groupId coordinate
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
default: null
|
|
|
|
|
|
|
|
version_added: 0.0.1
|
|
|
|
|
|
|
|
artifact_id:
|
|
|
|
artifact_id:
|
|
|
|
description: The maven artifactId coordinate
|
|
|
|
description: The maven artifactId coordinate
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
default: null
|
|
|
|
|
|
|
|
version_added: 0.0.1
|
|
|
|
|
|
|
|
version:
|
|
|
|
version:
|
|
|
|
description: The maven version coordinate
|
|
|
|
description: The maven version coordinate
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: latest
|
|
|
|
default: latest
|
|
|
|
version_added: 0.0.1
|
|
|
|
|
|
|
|
classifier:
|
|
|
|
classifier:
|
|
|
|
description: The maven classifier coordinate
|
|
|
|
description: The maven classifier coordinate
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
version_added: 0.0.1
|
|
|
|
|
|
|
|
extension:
|
|
|
|
extension:
|
|
|
|
description: The maven type/extension coordinate
|
|
|
|
description: The maven type/extension coordinate
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: jar
|
|
|
|
default: jar
|
|
|
|
version_added: 0.0.1
|
|
|
|
|
|
|
|
repository_url:
|
|
|
|
repository_url:
|
|
|
|
description: The URL of the Maven Repository to download from
|
|
|
|
description: The URL of the Maven Repository to download from
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: http://repo1.maven.org/maven2
|
|
|
|
default: http://repo1.maven.org/maven2
|
|
|
|
version_added: 0.0.1
|
|
|
|
|
|
|
|
username:
|
|
|
|
username:
|
|
|
|
description: The username to authenticate as to the Maven Repository
|
|
|
|
description: The username to authenticate as to the Maven Repository
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
version_added: 0.0.1
|
|
|
|
|
|
|
|
password:
|
|
|
|
password:
|
|
|
|
description: The passwor to authenticate with to the Maven Repository
|
|
|
|
description: The passwor to authenticate with to the Maven Repository
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
version_added: 0.0.1
|
|
|
|
|
|
|
|
dest:
|
|
|
|
dest:
|
|
|
|
description: The path where the artifact should be written to
|
|
|
|
description: The path where the artifact should be written to
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
default: false
|
|
|
|
default: false
|
|
|
|
version_added: 0.0.1
|
|
|
|
|
|
|
|
state:
|
|
|
|
state:
|
|
|
|
description: The desired state of the artifact
|
|
|
|
description: The desired state of the artifact
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
default: present
|
|
|
|
default: present
|
|
|
|
choices: [present,absent]
|
|
|
|
choices: [present,absent]
|
|
|
|
version_added: 0.0.1
|
|
|
|
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES = '''
|
|
|
|
EXAMPLES = '''
|