concept Maven in category security

appears as: Maven
API Security in Action

This is an excerpt from Manning's book API Security in Action.

Use Maven to generate the basic project structure, by running the following command in the folder where you want to create the project:

mvn archetype:generate \
➥    -DgroupId=com.manning.apisecurityinaction \
➥    -DartifactId=natter-api \
➥    -DarchetypeArtifactId=maven-archetype-quickstart \
➥    -DarchetypeVersion=1.4 -DinteractiveMode=false

If this is the first time that you’ve used Maven, it may take some time as it downloads the dependencies that it needs. Once it completes, you’ll be left with the following project structure, containing the initial Maven project file (pom.xml), and an App class and AppTest unit test class under the required Java package folder structure.

On a Linux system you can either install the dependencies using your distribution's package manager, or you can install Homebrew and follow the same instructions for macOS to install Java and Maven. To install Homebrew on Linux, follow the instructions at https://docs.brew.sh/Homebrew-on-Linux.