Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

A Vagrant box to build a basic Java dev box, configured with puppet

License

Notifications You must be signed in to change notification settings

rob-murray/vagrant-javadev-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vagrant-javadev-box

Build a basic Vagrant box set for Java development with Jdk, Postgres and Maven installed via puppet.

This is intended as a base off which to add specific customisation; fork and adapt or use as is.

Installed modules

All as git submodules unless otherwise stated. Also not listing dependancies, only major modules.

Installation

  • If you haven't already, go over to http://www.vagrantup.com/ and follow the installation instructions
  • Add the box precise64 via vagrant box add precise64 http://files.vagrantup.com/precise64.box
  • Clone this repo git clone https://github.com/rob-murray/vagrant-javadev-box.git
  • Init the submodules git submodule update --init
  • All done; vagrant up and box will be provisioned

Usage

Feel free to fork and customise further or use as is.

The directory project is sync'd to /vagrant so place your code in there and hack away.

Ports 8080 and 5432 are mapped to their respective ports on the VM.

Jump onto the VM by vagrant ssh.

Test it out with java -version, mvn -v or psql -h localhost -U postgres.

You may want to edit Postgres config in the puppet/manifests/base.pp file.

Changelog

10-04-2014

  • Update Maven to 3.2.5
  • Automatically download the Maven binary

15-11-2014

  • Update Postgres to 9.3
  • Update Maven to 3.2.3
  • Rename host project directory to project

21-02-2014

  • Update Postgres to 9.2
  • Update Maven to 3.1.1
  • Update Vagrant version 2 config.

14-06-2013

  • Add Postgres, Jdk and Maven.
  • Initial commit with Vagrant version 1 config.

Contributions

Please use the GitHub pull-request mechanism to submit contributions.

License

This project is available for use under the MIT software license. See LICENSE

About

A Vagrant box to build a basic Java dev box, configured with puppet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages