cookbook 'chef-maven', '~> 0.2.6'
chef-maven (2) Versions 0.2.6 Follow2
Installs/Configures maven
cookbook 'chef-maven', '~> 0.2.6', :supermarket
knife supermarket install chef-maven
knife supermarket download chef-maven
chef-maven Cookbook
Installs and configures Apache Maven. This cookbook doesn't install Java. Make sure to install java for this cookbook to work properly. Look the public Java Cookbook for more details
Requirements
Requires Java
Platforms Supported
The following platforms have been tested with kitchen
- CentOS 6+
- Ubuntu 14.04+
Chef
- Chef 12.1 or later
Cookbooks
This cookbook is dependent on tar
Attributes
-
node['maven']['version']
- specifies the version Check for available versions -
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
Usage
chef-maven::install
Installs the specified version of maven node['maven']['version']
at the specified home directory node['maven']['m2_home']
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Authors: trueCii
Dependent cookbooks
tar ~> 2.1.1 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
chef-maven CHANGELOG
This file is used to list changes made in each version of the maven cookbook.
0.2.6
- Add travis tests
0.2.5
- Fix FC066
0.2.4
- added TESTING.md file
0.2.3
- added test cases, code cleanup
0.2.2
- added license, Contributiion details
0.2.1
- code cleanup
0.2.0
- Added support for Centos
0.1.0
- Initial release
Collaborator Number Metric
0.2.6 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.6 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.6 passed this metric
No Binaries Metric
0.2.6 passed this metric
Testing File Metric
0.2.6 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.6 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.2.6 failed this metric
0.2.6 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.6 passed this metric
No Binaries Metric
0.2.6 passed this metric
Testing File Metric
0.2.6 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.6 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.2.6 passed this metric
0.2.6 passed this metric
Testing File Metric
0.2.6 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.6 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.2.6 failed this metric
0.2.6 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