Skip to main content

mvn debug commands


mvn help:describe -Dcmd=phase 
list lifecycle phases along with bound goals 
A Maven command like a single goal or a single phase following the Maven command line:  
mvn [options] [] [] 

mvn help:describe -Dplugin=help 
Describe plugin 

mvn help:describe -Dmojo=describe 
Describe goal 
Display brief information about the describe goal only 
mvn help:describe -Dcmd=clean 
Describe lifecycle 
Describe lifecycle and phases 
mvn help:describe -Dcmd=compiler:compile 
Describe plugin goal 

mvn help:describe -Dplugin=help -Dminimal=true 
Minimal description 
Less information 
mvn help:describe -Dplugin=help -Ddetail 
Full description 
Extra information 
mvn help:active-profiles 

Discover which profiles have been applied to the projects currently being built 

For each project in the build session, it will output a list of profiles which have been applied to that project, along with the source of the profile (POM, settings.xml or profiles.xml) 
mvn help:all-profiles 

Discover all available profiles under the current project 
mvn help:effective-pom 
Effectove POM 

mvn help:system 

view the system information like system properties and environment variables 
mvn help:describe -DgroupId=org.somewhere -DartifactId=some-plugin -Dversion=0.0.0 


mvn help:describe -Dplugin=org.somewhere:some-plugin:0.0.0 


mvn help:describe -Dplugin=org.apache.maven.plugins:maven-help-plugin 


mvn help:describe -Dplugin=help 


mvn help:describe  -DartifactId=rpm-maven-plugin -DgroupId=org.codehaus.mojo 


Comments

Popular posts from this blog

Best freeware - XML editor

As a software developer, I open XML files all the time. I a heavy commercial XML editor. But nothing can compare to a small, thin and free XML editor like 'foxe'. A great feature is has is the alignment of long XML strings to readable XML format (Shift-F8). It help lot of times when the XML file was generated by some tool and was not readable. Homepage: http://www.firstobject.com/dn_editor.htm

SSL in pictures

Here is my summary on SSL (or as I like to call it 'SSL for dummies')

Jenkins error: groovy.lang.MissingPropertyException

I tried to run groovy build step and got below error. This post will describe how I solved the problem. Caught: groovy.lang.MissingPropertyException: No such property: hudson for class: script