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

Select Status

RSS

maven_deploy (9) Versions 0.1.1

Deploy artifacts from maven

Policyfile
Berkshelf
Knife
cookbook 'maven_deploy', '= 0.1.1', :supermarket
cookbook 'maven_deploy', '= 0.1.1'
knife supermarket install maven_deploy
knife supermarket download maven_deploy
README
Dependencies
Changelog
Quality 0%

maven_deploy cookbook

Deploys artifacts from standard maven repositories

Supported Platforms

all

Attributes

Basic configuration

<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['maven_deploy']['repository']</tt></td>
<td>String</td>
<td>The URL of your maven repo</td>
<td><tt>true</tt></td>
</tr>
</table>

Repository with Auth configuration

<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['maven_deploy']['respository'][url]</tt></td>
<td>String</td>
<td>The URL of your maven repo</td>
<td><tt>true</tt></td>
</tr>
<tr>
<td><tt>['maven_deploy']['respository'][username]</tt></td>
<td>String</td>
<td>The username for authenticating with your maven repo</td>
<td><tt>true</tt></td>
</tr>
<tr>
<td><tt>['maven_deploy']['respository'][password]</tt></td>
<td>String</td>
<td>The username for authenticating with your maven repo</td>
<td><tt>true</tt></td>
</tr>
</table>

Release/Snapshot repository configuration

<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['maven_deploy']['respository'][snapshot][url]</tt></td>
<td>String</td>
<td>The URL of your maven snaphot repo</td>
<td><tt>true</tt></td>
</tr>
<tr>
<td><tt>['maven_deploy']['respository'][snapshot][username]</tt></td>
<td>String</td>
<td>The username for authenticating with your snapshot maven repo</td>
<td><tt>true</tt></td>
</tr>
<tr>
<td><tt>['maven_deploy']['respository'][snapshot][password]</tt></td>
<td>String</td>
<td>The username for authenticating with your snapshot maven repo</td>
<td><tt>true</tt></td>
</tr>
<tr>
<td><tt>['maven_deploy']['respository'][snapshot][url]</tt></td>
<td>String</td>
<td>The URL of your maven snaphot repo</td>
<td><tt>true</tt></td>
</tr>
<tr>
<td><tt>['maven_deploy']['respository'][release][username]</tt></td>
<td>String</td>
<td>The username for authenticating with your release maven repo</td>
<td><tt>true</tt></td>
</tr>
<tr>
<td><tt>['maven_deploy']['respository'][snapshot][password]</tt></td>
<td>String</td>
<td>The username for authenticating with your release maven repo</td>
<td><tt>true</tt></td>
</tr>
</table>

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

License and Authors

Author:: Alexander De Leon (@alexjdl)

0.1.0

Initial release of maven_deploy cookbook

Foodcritic Metric
            

0.1.1 failed this metric

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