当我在eclipse中使用appfuse插件构建项目,然后执行 maven test时,输出如下信息: [INFO] Scanning for projects... [INFO] ---------------------------------------------------------------------------- [INFO] Building AppFuse Struts 2 Application [INFO] task-segment: [test] [INFO] ---------------------------------------------------------------------------- [WARNING] POM for 'xml-security:xmlsec:pom:1.3.0:compile' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'wss4j:wss4j:pom:1.5.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [WARNING] POM for 'xfire:saaj-impl:pom:1.3:compile' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. [ERROR] project-execute : com.mycompany:MyAppfuse:war:1.0-SNAPSHOT ( task-segment: [test] ) Diagnosis: Internal error in the plugin manager executing goal 'org.appfuse:maven-warpath-plugin:1.0-m5:add-classes': Unable to find the mojo 'org.appfuse:maven-warpath-plugin:1.0-m5:add-classes' in the plugin 'org.appfuse:maven-warpath-plugin' FATAL ERROR: Error executing Maven for a project [ERROR] reactor-execute : E:/lzh/eclipseworkspace/MyAppfuse Diagnosis: Internal error in the plugin manager executing goal 'org.appfuse:maven-warpath-plugin:1.0-m5:add-classes': Unable to find the mojo 'org.appfuse:maven-warpath-plugin:1.0-m5:add-classes' in the plugin 'org.appfuse:maven-warpath-plugin' FATAL ERROR: Error executing Maven for a project [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Internal error in the plugin manager executing goal 'org.appfuse:maven-warpath-plugin:1.0-m5:add-classes': Unable to find the mojo 'org.appfuse:maven-warpath-plugin:1.0-m5:add-classes' in the plugin 'org.appfuse:maven-warpath-plugin' org/appfuse/AddClassesMojo (Unsupported major.minor version 49.0) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 19 seconds [INFO] Finished at: Thu Feb 28 13:36:30 CST 2008 [INFO] Final Memory: 11M/20M [INFO] ------------------------------------------------------------------------ [INFO] Error for project: AppFuse Struts 2 Application (during org.appfuse:maven-warpath-plugin:1.0-m5:add-classes) [INFO] ------------------------------------------------------------------------ [INFO] Internal error in the plugin manager executing goal 'org.appfuse:maven-warpath-plugin:1.0-m5:add-classes': Unable to find the mojo 'org.appfuse:maven-warpath-plugin:1.0-m5:add-classes' in the plugin 'org.appfuse:maven-warpath-plugin' org/appfuse/AddClassesMojo (Unsupported major.minor version 49.0) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [ERROR] reactor-execute : E:/lzh/eclipseworkspace/MyAppfuse FATAL ERROR: Error executing Maven for a project [INFO] BUILD ERRORS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 19 seconds [INFO] Finished at: Thu Feb 28 13:36:30 CST 2008 [INFO] Final Memory: 11M/20M [INFO] ------------------------------------------------------------------------ 未知原因,待查!
问题关于: Unable to find the mojo 'org.appfuse:maven-warpath-plugin:1.0-m5:add-classes' in the plugin 'org.appfuse:maven-warpath-pl
最新推荐文章于 2024-06-23 14:25:02 发布