I'm trying to copy a sub-module to another module without any errors while running the application
here is my structure:
+ -- MyMainProject
+ -- application
| ` -- pom.xml
+ -- domain
| ` -- pom.xml
+ -- bootloader
| `src/main/java
| ` -- pom.xml
+ -- infrastructure <- infrastructure module (has 3 modules)
+ -- infrastructure 1
| ` -- pom.xml
+ -- infrastructure 2
| ` -- pom.xml
+ -- infrastructure 3 <- move this module to application module
| ` -- pom.xml
| -- pom.xml
So what I'm trying to do is to move sub-module infrastructure 3 to application module and then my application module will have infrastructure 3 as a sub-module without any errors.
I'm using intellij, any suggestion please