A package managing system for Java projects.

Installation

Windows

https://phoenixnap.com/kb/install-maven-windows

  1. Download the latest binary zip files
  2. Move that folder to Program Files
  3. Set Windows Environment Variables to include the maven folder
  4. type mvn --version in command line
  5. make sure JAVA_HOME is set up

Arch Linux

  1. sudo pacman -S maven

Setup Maven Project

  1. mvn archetype:generate -DgroupId=cscb07 -DartifactId=lab4 -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.5 -DinteractiveMode=false
  2. You should have the following folders in /src:
  3. Run mvn compile
  4. You can run cd /target/classes and then run the compiled classes
  5. Run mvn test to run each test file within the test folder, and get a test results output

Guides