我开始学习如何在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.
更多推荐
发布评论