| -U,–update-snapshots | Forces a check for updated releases and snapshots on remote repositories |
| -up,–update-plugins | Ineffective, only kept for backward compatibility |
| -V,–show-version | Display version information WITHOUT stopping build |
| -v,–version | Display version information |
| -X,–debug | Produce execution debug output |
Executing
Lifecyle
mvn lifecyle
- Example calling the site lifecycle will call the associate phases (i.e. pre-site, site, post-site, site-deploy).
mvn site
Goal
- Calling the goal of a plugin
mvn plugin:goal
- Example: calls the site goal from the site plugin.
mvn site:site
How to
Execute phases and goals
Phases and goals may be executed in sequence.
mvn clean dependency:copy-dependencies package
This command will:
