Posts

Showing posts from December, 2023

Creating a Java project using Maven

  What is Maven Maven is essentially a project management and comprehension tool and as such provides a way to help with managing: Builds Documentation Reporting Dependencies SCMs Releases Distribution Installation Maven is a Java tool, so you must have  Java  installed in order to proceed. First,   download Maven   and follow the   installation instructions . After that, type the following in a terminal or in a command prompt: mvn --version It should print out your installed version of Maven, for example: Apache Maven 3.9.1 (2e178502fcdbffc201671fb2537d0cb4b4cc58f8) Maven home: C:\Program Files\Maven\apache-maven-3.9.1-bin\apache-maven-3.9.1 Java version: 17.0.7, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-17 Default locale: en_US, platform encoding: Cp1252 OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows" Windows Prerequisites Maven is written in Java (and primarily used to build Jav...