Выполнение плагина не покрывается ошибкой конфигурации жизненного цикла в eclipse с плагиномManagement в родительском poJAVA

Программисты JAVA общаются здесь
Гость
Выполнение плагина не покрывается ошибкой конфигурации жизненного цикла в eclipse с плагиномManagement в родительском po

Сообщение Гость »


I have jaxws-maven-plugin in parent pom.xml in the pluginManagement tag and I am referring to this plugin in the child pom.

mvn clean install is running fine. But, eclipse is complaining that
"Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:jaxws-maven-plugin:1.12:wsimport (execution: FirstWsdl, phase: generate-sources)".

Could you suggest how to avoid this error in eclipse?

parent pom

Код: Выделить всё


...

org.codehaus.mojo
jaxws-maven-plugin
1.12


FirstWsdl

wsimport

generate-sources

location/file.wsdl

file.wsdl

com.xxx.package





${basedir}/generated
true
true
true






...


child pom

Код: Выделить всё


org.codehaus.mojo
jaxws-maven-plugin


I looked at this question and reply How to solve "Plugin execution not covered by lifecycle configuration" for Spring Data Maven Builds, but, should I use pluginManagement both in parent and child pom to avoid this error?


Источник: https://stackoverflow.com/questions/194 ... se-with-pl

Вернуться в «JAVA»