Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

maven_deploy (8) Versions 0.2.1

Deploy artifacts from maven

Berkshelf/Librarian
Policyfile
Knife
cookbook 'maven_deploy', '= 0.2.1'
cookbook 'maven_deploy', '= 0.2.1', :supermarket
knife cookbook site install maven_deploy
knife cookbook site download maven_deploy
README
Dependencies
Changelog
Quality

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

  1. Fork the repository on Github
  2. Create a named feature branch (i.e. add-new-recipe)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request

Authors and License

Author:: Alexander De Leon (@alexjdl) Author:: Alberto J. Rubio (@yebenes)

Code released under the MIT license.

0.1.0

Initial release of maven_deploy cookbook

0.2.0

Support for multiple maven repositories

Foodcritic Metric
            

0.2.1 failed this metric

FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/6d7f6bb5c771559b3b4014fb/maven_deploy/attributes/default.rb:1
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/6d7f6bb5c771559b3b4014fb/maven_deploy/providers/default.rb:15