首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络技术 > 网络基础 >

实施main方法

2012-06-29 
执行main方法Whether you use the java goal or the special support of Java for the exec goal, you mig

执行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

热点排行
Bad Request.