2011-11-08 16 views

回答

1

您是否嘗試過解決這裏建議:

Adding classpath to jetty running in maven integration-test

<webAppConfig> 
    <contextPath>/nportal</contextPath> 
    <!-- All I want to do here is add in the /etc/jetty/classes for runtime files. For some reason I have to also add back in the /target/classes directory --> 
    <extraClasspath>${basedir}/target/classes/;${basedir}/etc/jetty/classes/</extraClasspath> 
</webAppConfig> 
+0

以及可能,OP是滿意的,但它沒有回答這個問題。是不是可以從命令行執行它? –

0

從什麼是mvn jetty:help -Ddetail=true -Dgoal=run印刷,它看起來是不是命令行

相關問題