I created a composite project as follows:
myproject → Composite project
- myproject-data → Single Module Add-on
- myproject-rest → Rest Service Application
- myproject-backoffice → Single Module Application(Java)
- myproject-backoffice_for_client → Single Module Application(Java)
myproject-data is the module provides data, we define all the entities in the module.
myproject-rest, myproject-backoffice and myproject-backoffice_for_client depends on myproject-data.
myproject-rest is used for providing Rest Services for React JS and React Native front-end application.
myproject-backoffice is used for company’s CS or admin to operate.
myproject-backoffice_for_client is used for clients to log in to operate.
myproject-data will manage all the database change(all the liquibase changelogs are in the module)
Problems: I want to insert records to SEC_ROLE_ASSIGNMENT table in the liquibase changelog in myproject-data, but the table is not created. I think it is add-on dependent issue. How can I make an add-on module depend on an existing module?
In my case, if I can let the myproject-data module depends on io.jmix.security:jmix-security-data add-on, it will solve my issue.