You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the maven multi-module project, when persistence classes are located in different projects, what is correct configuration for the maven plugin ?
I do have sample project (https://github.com/m-pavel/ddl_test) with api and model sub-projects. api contains common classes, model - persistence entities. And I want to generate ddl for 'model' project. The only way I found is:
mvn clean install
mvn com.devskiller.jpa2ddl:jpa2ddl-maven-plugin:0.10.0:generate -pl model
But in this case plugin fails with
[ERROR] Failed to execute goal com.devskiller.jpa2ddl:jpa2ddl-maven-plugin:0.10.0:generate (default-cli) on project model: null: MojoExecutionException: FileSystemNotFoundException
For the maven multi-module project, when persistence classes are located in different projects, what is correct configuration for the maven plugin ?
I do have sample project (https://github.com/m-pavel/ddl_test) with api and model sub-projects. api contains common classes, model - persistence entities. And I want to generate ddl for 'model' project. The only way I found is:
But in this case plugin fails with
Which is similar to #26
How should I configure multi module project for correct generation ?
The text was updated successfully, but these errors were encountered: