9.To create descriptor for the project. Execute the
command:
for eclipse: c:\my-app> mvn eclipse:eclipse
for IntelliJ IDEA: c:\my-app> mvn idea:idea
10.To clean and remove target directory. Execute the
command:
c:\my-app> mvn clean
11.Parallel Artifact Resolution
c:\my-app> mvn -Dmaven.artifact.threads=8 clean install
Or to set
this option permanently (default is 5)
c:\my-app> export MAVEN_OPTS= -Dmaven.artifact.threads=8
12.Parameters to JVM
c:\my-app> export MAVEN_OPTS= -Xmx512m
-XX:MaxPermSize=256 -Dmaven.artifact.threads=8