7 February 2019

Maven: Useful Command Line Goodness

I always forget useful maven commands because they are not often needed.

Describe plugin goals and configuration.

  $ mvn help:describe -DgroupId=com.liferay -DartifactId=com.liferay.portal.tools.service.builder -Ddetail=true

Skip tests

  $ mvn clean install -Dmaven.test.skip=true

Don’t trim the stack trace

  $ mvn clean install -DtrimStackTrace=false
tags: maven - command line - revert - remove - unversioned

Less Is More