Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information. Using maven we can build and manage any Java based project.
Allocate an interactive session and run the program. Sample session:
[user@biowulf]$ sinteractive [user@cn3144 ~]$ module load Maven [+] Loading Maven 3.8.6 on cn4471 [+] Loading java 12.0.1 ... [user@cn3144 ~]$ mvn --version Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) Maven home: /usr/local/apps/Maven/3.8.6 Java version: 12.0.1, vendor: Oracle Corporation, runtime: /usr/local/java/jdk-12.0.1 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.18.0-348.12.2.el8_5.x86_64", arch: "amd64", family: "unix" [user@cn3144 ~]$ exit salloc.exe: Relinquishing job allocation 46116226 [user@biowulf ~]$