科尔多瓦 - 让11353错误,而mfpdev构建适配器

问题描述:

我使用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

这个问题的解决办法是删除所有子文件夹: C:\Users\yourUserName\.m2\repository

,然后我没有用: mfpdev adapter build

mvn compile

Maven只是下载所有必需的文件,然后我用MF命令构建它。