生命周期配置不包括的插件执行:org.liquibase:liquibase

编程入门 行业动态 更新时间:2024-10-25 09:27:57
生命周期配置不包括的插件执行:org.liquibase:liquibase-maven-plugin:3.0.5:update(Plugin execution not covered by lifecycle configuration: org.liquibase:liquibase-maven-plugin:3.0.5:update)

我开始学习如何在hibernate和spring项目中使用liquibase进行迁移。 我在pom.xml中添加了依赖库,但是将其添加到我的pom.xml的构建属性中,我遇到了问题

<plugin> <groupId>org.liquibase</groupId> <artifactId>liquibase-maven-plugin</artifactId> <version>3.0.5</version> <configuration> <propertyFile>src/main/resources/liquibase.properties</propertyFile> </configuration> <executions> <execution> <phase>process-resources</phase> <goals> <goal>update</goal> </goals> </execution> </executions> </plugin>

这是错误的屏幕截图

如果你将它悬停在上面,你会得到这个错误

Plugin execution not covered by lifecycle configuration: org.liquibase:liquibase-maven-plugin:3.0.5:update (execution: default, phase: process-resources)

请帮助我。 我开始学习liquibase

I am beginning to learn how to run migration with liquibase in hibernate and spring project. I have added dependency libraries in pom.xml but on adding this to the build properties of my pom.xml i have issues

<plugin> <groupId>org.liquibase</groupId> <artifactId>liquibase-maven-plugin</artifactId> <version>3.0.5</version> <configuration> <propertyFile>src/main/resources/liquibase.properties</propertyFile> </configuration> <executions> <execution> <phase>process-resources</phase> <goals> <goal>update</goal> </goals> </execution> </executions> </plugin>

this is the screen shot of the error

If you hover over it, you get this error

Plugin execution not covered by lifecycle configuration: org.liquibase:liquibase-maven-plugin:3.0.5:update (execution: default, phase: process-resources)

Kindly assist me. I am beginning to learn liquibase

最满意答案

我猜你正在使用Eclipse? 随之而来的是Eclipse的Maven插件M2Eclipse 。

如果你有兴趣详细了解这篇关于它的文章: https : //www.eclipse.org/m2e/documentation/m2e-execution-not-covered.html

如果你只是想摆脱错误消息,使用eclipse提供的快速解决方案之一。 我只是将其设置为“忽略插件目标”,并添加一个<pluginExecutionFilter> ,它告诉m2eclipse忽略它。

I guess you are using Eclipse? And with it the maven plugin M2Eclipse for Eclipse.

If you are interested in details checkout this article about it: https://www.eclipse.org/m2e/documentation/m2e-execution-not-covered.html

If you just want to get rid of the error message use one of the quick fix solutions offered by eclipse. I just set it to "Ignore Plugin Goal" and that will add a <pluginExecutionFilter> which tell m2eclipse to ignore it.

更多推荐

本文发布于:2023-07-22 19:29:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1222765.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不包括   生命周期   插件   liquibase   org

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!