未涵盖发布wsdl Java M2E插件执行 [英] Publishing wsdl java M2E plugin execution not covered

查看:89
本文介绍了未涵盖发布wsdl Java M2E插件执行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经编写了WSDL,并且想生成Java类.

I have written a WSDL and I want to generate java classes.

我使用 cxf-codegen-plugin 用于maven2,但在Eclipse中出现以下验证错误:

I use the cxf-codegen-plugin for maven2, but I get the following validation error in Eclipse:

生命周期配置未涵盖插件执行: org.apache.cxf:cxf-codegen-plugin:2.2.7:wsdl2java(执行: generate-sources,阶段:generate-sources.)

Plugin execution not covered by lifecycle configuration: org.apache.cxf:cxf-codegen-plugin:2.2.7:wsdl2java (execution: generate-sources, phase: generate-sources).

有人可以帮我解决这个问题吗?或提出其他解决方案?

Can anybody help me to resolve this? Or propose another solution?

推荐答案

错误消息听起来像是来自Maven Eclipse集成(m2e).如果构建是从命令行运行的,而不是从Eclipse内部运行的,那么也许 Eclipse Wiki上的文章可以帮助您配置Eclipse.

The error message sounds like it is coming from the maven eclipse integration (m2e). If the build works from the command line but not from within eclipse then maybe this article on the eclipse wiki can help you to configure eclipse.

此答案显示了另一个maven插件类似问题的解决方案.

This answer shows the solution for a similar problem with another maven plugin.

这篇关于未涵盖发布wsdl Java M2E插件执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆