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
Requires Java
The following platforms have been tested with kitchen
- CentOS 6+
- Ubuntu 14.04+
- Chef 12.1 or later
This cookbook is dependent on tar
node['maven']['version']
- specifies the version Check for available versionsdefault['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 filenode['maven']['user']
- user that maven will run asnode['maven']['group']
- group for mavennode['maven']['dir_perm']
- permission for maven foldernode['maven']['m2_home']
- defaults to /usr/local/apache-maven-#{node['maven']['version']}node['maven']['maven_opts']
- value of MAVEN_OPTSnode['maven']['url']
- maven download url
Installs the specified version of maven node['maven']['version']
at the specified home directory node['maven']['m2_home']
- 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
Authors: trueCii