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

chef-maven (2) Versions 0.2.1

Installs/Configures maven

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

chef-maven Cookbook

Installs and configures Apache Maven

Requirements

Requires JDK

Platforms Supported

  • Debian, Ubuntu
  • Rhel, Centos

Chef

  • Chef 12.1 or later

Attributes

  • node['maven']['install']['type'] - specifies the installation method (package or binaries)
  • node['maven']['version'] - specifies the version (Check for available versions https://maven.apache.org/download.cgi)
  • default['maven']['checksum'] - specifies the checksum for the tar file (shasum -a 256 filename)
  • node['maven']['settings_file'] - maven settings.xml file. Override this attribute to use your custom file
  • node['maven']['user'] - user that maven will run as
  • node['maven']['group'] - group for maven
  • node['maven']['dir_perm'] - permission for maven folder
  • node['maven']['m2_home'] - defaults to /usr/local/apache-maven-#{node['maven']['version']}
  • node['maven']['maven_opts'] - value of MAVEN_OPTS
  • node['maven']['url'] - maven download url
  • node['java']['jdk_version'] - jdk version to install
  • node['java']['install_flavor'] - jdk flavor to install(oracle, oracle_rpm, openjdk, ibm, windows), default openjdk on Linux/Unix platforms

Usage

chef-maven::default

Do a berks update before using the cookbook

Installs from the binaries or package based on the node['maven']['install']['type'] value e.g. Just include chef-maven in your node's run_list:

chef-maven::binaries

Recipe for installing apache maven from binaries

chef-maven::package

Recipe for installing apache maven from packages (yum/apt-get)

Contributing

TODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.

e.g. 1. Fork the repository on Github 2. Create a named feature branch (like add_component_x) 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 using Github

License and Authors

Authors: Sarath

chef-maven

Dependent cookbooks

java ~> 1.50.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

maven CHANGELOG

This file is used to list changes made in each version of the maven cookbook.

0.2.1

  • [Sarath] - code cleanup

0.2.0

  • [Sarath] - Added support for Centos

0.1.0

  • [Sarath] - Initial release

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Collaborator Number Metric
            

0.2.1 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.2.1 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.2.1 failed this metric

FC056: Ensure maintainer_email is set in metadata: chef-maven/metadata.rb:1
FC066: Ensure chef_version is set in metadata: chef-maven/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: chef-maven/metadata.rb:1
Run with Foodcritic Version 11.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.2.1 failed this metric

chef-maven does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.

No Binaries Metric
            

0.2.1 passed this metric

Publish Metric
            

0.2.1 passed this metric

Supported Platforms Metric
            

0.2.1 failed this metric

chef-maven should declare what platform(s) it supports.

Testing File Metric
            

0.2.1 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.2.1 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