Target | Purpose |
compile | generate class files from .java files |
test | Run test cases. If need be compile main and test source (all source in ${base-dir}/src/test/java confirming to **/*Test.java, **/Test*.java **/*TestCase.java and excludes **/Abstract*Test.java and **/Abstract*TestCase.java |
test-compile | Compile only test source and not execute it |
package | Make the jar/war/ear, deploy into target directory |
install | deploy the jar/war/ear (build if necessary) into the local repository (~/.m2/repository) |
clean | Removes target directory |
eclipse:eclipse | Generate eclipse .project files |
Anything that interests me finds place here. Software dominates my interests and hence a good part of this blog as well.
Thursday, September 23, 2010
Frequently used mvn targets
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment