读书人

实施main方法

发布时间: 2012-06-29 15:48:47 作者: rapoo

执行main方法
Whether you use the java goal or the special support of Java for the exec goal, you might want to change the scope of the plugin execution. This can be achieved using the classpathScope configuration element, e.g. for a test scope:

<configuration>
...
<classpathScope>test</classpathScope>
...
</configuration>
or, on the command line,

mvn exec:exec [...] -Dexec.classpathScope="java"


http://stackoverflow.com/questions/1089285/maven-run-project

读书人网 >网络基础

热点推荐