我將Jenkins安裝爲CI工具。我還安裝了findbugs插件來查找潛在的錯誤。 (還有checkstyle,pmd等)。 我的項目是一個使用maven結構的gwt項目。 我在jenkins配置頁面寫了目標來執行findbugs。FindBugs通過GWT項目在Jenkins中給出錯誤
clean package findbugs:findbugs
但我得到以下錯誤,並沒有從findbugs得到任何結果。其他插件工作正常。
[INFO] Fork Value is true
[java] The following classes needed for analysis were missing:
[java] com.google.gwt.core.client.GWTBridge
[java] Missing classes: 2
[INFO] xmlOutput is false
FindBugs有什麼區別?我應該改變什麼?
嘗試將gwt-dev.jar添加到類路徑中。這可能與最近使用GWT 2.5進行的清理嘗試有關https://groups.google.com/forum/?fromgroups=#!topic/google-web-toolkit-contributors/JQCU4mQWNX0 – SSR