Quick Start
Before starting, make sure that:
- the project root contains
pom.xml; - the project contains Maven Wrapper, or
mvnis available on PATH; - a full JDK matching the project’s Java version is already installed. A JRE alone is not sufficient.
Initialize, inspect, and build:
cd /path/to/your/maven-projectjup initjup statusjup run mvn clean packageExample status:
Project: /work/demoBuild tool: Maven 3.9.11 (wrapper)Build executable: /work/demo/mvnwJava version: 17.0.12Java home: /opt/jdks/temurin-17Maven settings: defaultInside an initialized Maven project, jup run mvn uses the nearest saved
project and starts Maven in the current directory. In any other interactive
location, it lists every initialized Maven project. Select one with the arrow
keys and Enter. Frequently and recently used projects rise to the top, and Maven
starts in the selected project root.
In CI or redirected pipelines, no picker is displayed. jup resolves the
nearest initialized project from the current directory and starts Maven there.