Maven
Java build lifecycle commands. Compile, test, package, and deploy projects with dependency and plugin management.
64 commands
Browse by Topic
Install Maven (macOS)
Install Apache Maven build tool using Homebrew on macOS
Check Maven version
Verify Maven is installed and display version with Java details
Create a new Maven project
Generate a new Maven project from the quickstart archetype
Clean and compile
Clean and compile source code.
Package
Create JAR/WAR package.
Install to local repo
Build and install to local repository.
Skip tests
Build without running tests.
Skip test compilation
Skip compiling and running tests.
Run tests
Run unit tests.
Run single test
Run specific test class.
Integration tests
Run integration tests.
Offline build
Build using only local repository.
Parallel build
Build with 4 threads.
Debug output
Build with debug logging.
Dependency tree
Display dependency tree.
Filter tree
Show only matching dependencies.
Resolve dependencies
Download all dependencies.
Analyze dependencies
Find unused and undeclared deps.
Check updates
Show available updates.
Plugin updates
Show plugin updates.
Copy dependencies
Copy deps to lib folder.
Purge local repo
Remove cached dependencies.
Go offline
Download everything for offline use.
Effective POM
Display resolved POM.
Effective settings
Show resolved settings.xml.
Plugin help
Show plugin documentation.
Plugin goal help
Show goal parameters.
Run exec plugin
Execute Java main class.
Generate site
Generate project documentation.
Javadoc
Generate Javadoc.
Source JAR
Create sources JAR.
Build with profile
Activate named profile.
Multiple profiles
Activate multiple profiles.
Deactivate profile
Deactivate a profile.
Active profiles
Show currently active profiles.
All profiles
List all available profiles.
Build module
Build specific module only.
Build with deps
Build module with dependencies.
Build dependents
Build module and dependents.
Resume from
Resume build from module.
Deploy to repo
Deploy artifact to remote repository.
Release prepare
Prepare for release (update versions, tag).
Release perform
Perform the release.
Set version
Update project version.
Discussion
Loading comments...