Closed mo-costello closed 4 years ago
Plugin jar contains invalid lifecycle-mapping-metadata.xml (META-INF/m2e/lifecycle-mapping-metadata.xml) with empty 'goals' property. As 'dirty' fix you can remove this file from plugin jar .m2/repository/com/devskiller/jpa2ddl/jpa2ddl-maven-plugin/0.9.12/jpa2ddl-maven-plugin-0.9.12.jar. As valid fix takari-lifecycle-plugin need to be updated.
Update will be deployed with the next release
Available in version 0.10.0
Still found it in 0.10.0 The parameters 'packages' for goal com.devskiller.jpa2ddl:jpa2ddl-maven-plugin:0.10.0:generate are missing or invalid
Greetings,
I have just integrated the jpa2ddl maven plugin to automate the scripts generation with Hibernate 5.2.3 and the database migration with Flyway.
While the scripts generation/execution works fine when running a maven build on the project in Eclipse. The plugin integration has caused the following error after every file save or workspace build :
Below is the relevant pom section :
Even when specifying the goal "generate", Eclipse Maven Project Builder will still fail.
Would you please advise ? Thank you and best regards.