Friday, March 16, 2012

Maven quick tips

mvn ant:ant                     ==> generate build.xml
mvn archtype:generate   ==> generate maven project ---->'generate archtype.goal'
mvn help:effective-pom ==> parent pom included

maven ====> has  3 lifecycle (1=clean 2=default 3=site)
               
clean has 3 phases
                1.1 pre-clean
                1.2 clean
                1.3 post clean

                       
mvn help:system variables can be accessed via ${env.key}

No comments: