{"id":15009104,"url":"https://github.com/avinash6784/ansible-maven","last_synced_at":"2025-05-09T01:48:22.904Z","repository":{"id":217116337,"uuid":"84630994","full_name":"avinash6784/ansible-maven","owner":"avinash6784","description":"Ansible role to install apache maven","archived":false,"fork":false,"pushed_at":"2017-12-13T16:18:22.000Z","size":5,"stargazers_count":6,"open_issues_count":0,"forks_count":30,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-09T01:48:17.979Z","etag":null,"topics":["ansible","ansible-role","apache-maven","build-tool","devops","maven"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/avinash6784.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-03-11T07:02:30.000Z","updated_at":"2024-10-07T11:13:40.000Z","dependencies_parsed_at":"2024-01-14T17:27:52.730Z","dependency_job_id":"7f7a28f4-c4e6-41e1-bd13-e912fe014b71","html_url":"https://github.com/avinash6784/ansible-maven","commit_stats":null,"previous_names":["avinash6784/ansible-maven"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinash6784%2Fansible-maven","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinash6784%2Fansible-maven/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinash6784%2Fansible-maven/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinash6784%2Fansible-maven/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avinash6784","download_url":"https://codeload.github.com/avinash6784/ansible-maven/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253176440,"owners_count":21866142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role","apache-maven","build-tool","devops","maven"],"created_at":"2024-09-24T19:23:03.564Z","updated_at":"2025-05-09T01:48:22.880Z","avatar_url":"https://github.com/avinash6784.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Role: Apache Maven 3 [Ansible Playbook Role To Install Maven]\n\nInstall Apache Maven 3, a distributed version control system, on any RHEL/CentOS Linux system.\n\n## Requirements\n\nNone.\n\n## Role Variables\n```yml\n\n#Maven vars\nmaven_major: 3\nmaven_version: 3.3.9\nmaven_home_parent_directory: /opt\nmaven_env_file: \"/etc/profile.d/maven.sh\"\n\n```\n\n## Dependencies\n\nThis role depends on avinash6784.oracle-java role. This is configured for ansible-galaxy install in requirements.yml.\n\n**NOTE**: Requirements are installed as virtual user avinash6784 (avinash6784.oracle-java).\n\nBe sure to install required roles with\n```\nansible-galaxy install --role-file requirements.yml\n```\n\n## Usage and Example Playbook\n\nInstall from Ansible Galaxy\n```\n$ ansible-galaxy install avinash6784.maven\n```\nOr download manually\n```\n$ git clone https://github.com/avinash6784/ansible-maven.git \n```\nThe code should reside in the roles directory of ansible ( See ansible documentation for more information on roles ), in a folder maven.\n\n## Run the playbook\n\nFirst create a playbook including the git role, naming it maven.yml.\n```yml\n- name: Install maven\n  hosts: maven\n  become: true\n  roles:\n    - maven\n    \n$ ansible-playbook -i hosts maven.yml\n```\n\n## Author Informations\n\nThis role was created by [Avinash Pawar](http://devopstechie.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favinash6784%2Fansible-maven","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favinash6784%2Fansible-maven","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favinash6784%2Fansible-maven/lists"}