2017-09-14 76 views
0

我使用mfpdev adapter build建設我的適配器和我得到這樣的:科爾多瓦 - 讓11353錯誤,而mfpdev構建適配器

PS C:\Users\XXXXXX\adapters\exampleCode> mfpdev adapter build 
Building adapter... 
[INFO] Scanning for projects... 
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for XX.XXX.XXX :exampleCode:adapter:1.0-SNAPSHOT 
[WARNING] 'build.plugins.plugin.version' for com.ibm.mfp:adapter-maven-plugin is missing. @ line 103, column 12 
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. 
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects. 
[WARNING] 
[INFO] 
[INFO]  ------------------------------------------------------------------------ 
[INFO] Building exampleCode 1.0-SNAPSHOT 
[INFO] ------------------------------------------------------------------------ 
[INFO] ------------------------------------------------------------------------ 
[INFO] BUILD FAILURE 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 1.007 s 
[INFO] Finished at: 2017-09-14T11:15:16+02:00 
[INFO] Final Memory: 7M/182M 
[INFO] ------------------------------------------------------------------------ 
[ERROR] 11353 
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 
[ERROR] Re-run Maven using the -X switch to enable full debug logging. 
Error building adapter 
undefined 
Error: An error occurred during an attempt to build the adapter. See the preceding messages for details. 

11353是一個錯誤代碼或其他什麼東西?我該如何解決這個問題?

+0

你是否看到每個適配器或只是一個特定的適配器(自定義)這個問題? –

+0

我在10個適配器上發現了5個錯誤,有趣的是,我的同事在他的iMac上構建它,並沒有得到這個錯誤,他獲得了一個成功的構建,但是我們有相同的回購。 (我正在使用Windows 10) – chebad

回答

1

這個問題的解決辦法是刪除所有子文件夾: C:\Users\yourUserName\.m2\repository

,然後我沒有用: mfpdev adapter build

mvn compile

Maven只是下載所有必需的文件,然後我用MF命令構建它。