A vagrant environment with Ubuntu, Java 8, and Maven 3.5
To run:
- Download and install virtualbox and vagrant for your OS
- From a command line
- Clone the repo into some directory on your computer: https://github.com/sadam0930/vagrant-maven-interview-test
- cd into the directory that was cloned
- Run
vagrant up && vagrant ssh
- After several minutes this should terminate without errors (a bunch of red in the middle is ok and expected). You should now be in the virtual machine and see
vagrant@localhost
in the cmd line - Run
cd /vagrant
- Run
ls -la
- Notice that the file hello from the repository is listed here. You can edit the files on your local file system and see them in the vagrant VM.
- Complete the tutorial from https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html
- When finished run
exit
and thenvagrant halt