cookbook 'maven_deploy', '~> 0.3.0'
maven_deploy (9) Versions 0.3.0 Follow2
Deploy artifacts from maven
cookbook 'maven_deploy', '~> 0.3.0', :supermarket
knife supermarket install maven_deploy
knife supermarket download maven_deploy
maven_deploy cookbook
Deploys artifacts from standard maven repositories
Supported Platforms
All Platforms
Attributes
There are different configurations according to the defined attributes:
Basic configuration
Key | Description | Type | Default |
---|---|---|---|
['maven_deploy']['repositories']['repository'] | The url of maven repository | String | * |
Repository with auth configuration
Key | Description | Type | Default |
---|---|---|---|
['maven_deploy']['repositories']['repository'][url] | The url of maven repository | String | * |
['maven_deploy']['repositories']['repository'][username] | The username for authenticating with your maven repository | String | * |
['maven_deploy']['repositories']['repository'][password] | The password for authenticating with your maven repository | String | * |
Release repository configuration
Key | Description | Type | Default |
---|---|---|---|
['maven_deploy']['repositories']['repository'][releases][url] | The url of maven release repository | String | * |
['maven_deploy']['repositories']['repository'][releases][username] | The username for authenticating with your maven release repository | String | * |
['maven_deploy']['repositories']['repository'][releases][password] | The password for authenticating with your maven release repository | String | * |
Snapshot repository configuration
Key | Description | Type | Default |
---|---|---|---|
['maven_deploy']['repositories']['repository'][snapshots][url] | The url of maven snapshot repository | String | * |
['maven_deploy']['repositories']['repository'][snapshots][username] | The username for authenticating with your maven snapshot repository | String | * |
['maven_deploy']['repositories']['repository'][snapshots][password] | The password for authenticating with your maven snapshot repository | String | * |
Usage
In your recipe:
maven_deploy "junit" do group_id "junit" artifact_id "junit" deploy_to "/tmp/junit.jar" version "latest" end
Contributing
- Fork the repository on Github
- Create a named feature branch (i.e.
add-new-recipe
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request
Authors and License
Author:: Alexander De Leon (@alexjdl)
Author:: Alberto J. Rubio (@yebenes)
Code released under the MIT license.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
0.1.0
Initial release of maven_deploy cookbook
0.2.0
Support for multiple maven repositories
Collaborator Number Metric
0.3.0 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.0 failed this metric
FC064: Ensure issues_url is set in metadata: maven_deploy/metadata.rb:1
FC065: Ensure source_url is set in metadata: maven_deploy/metadata.rb:1
FC066: Ensure chef_version is set in metadata: maven_deploy/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: maven_deploy/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: maven_deploy/providers/default.rb:60
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.0 passed this metric
Testing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.3.0 failed this metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.0 failed this metric
FC064: Ensure issues_url is set in metadata: maven_deploy/metadata.rb:1
FC065: Ensure source_url is set in metadata: maven_deploy/metadata.rb:1
FC066: Ensure chef_version is set in metadata: maven_deploy/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: maven_deploy/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: maven_deploy/providers/default.rb:60
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.0 passed this metric
Testing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.3.0 failed this metric
FC065: Ensure source_url is set in metadata: maven_deploy/metadata.rb:1
FC066: Ensure chef_version is set in metadata: maven_deploy/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: maven_deploy/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: maven_deploy/providers/default.rb:60
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.3.0 passed this metric
Testing File Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.3.0 failed this metric
0.3.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number