Maven commands

Nov19
  • Share

Difficulty: ★☆☆☆☆

When my environment works I always suggest stop touching it. Cause building your project files and using maven can be really a pain in the ass.
The Maven commands are easy to forget, that’s why I’ll list them down:

Go to your project path in CMD:

Check all path variables:

D:\Workspaces\Project> set

Set Maven Home to the correct path:

D:\Workspaces\Project> set MAVEN_HOME=C:\Maven

Build with Maven:

D:\Workspaces\Project> maven wsad:multi-all

Build with Maven with error logs:

D:\Workspaces\Project> maven -e wsad:multi-all

One Response to “Maven commands”

New entry! w00t! :P

x on November 19th, 2008 at 4:44 PM

Leave a comment