I have a Spring Boot project, with JAVA and MAVEN, with different sub-modules
In VSCode the JAVA plugin drives the compilation, and I have configured java.import.maven.enabled": true and java.dependency.syncWithFolderExplorer": true
The compilation result with Java differs from the one obtained with Maven.
For example, with Maven I get a successful compilation, but with JAVA i get some errors.
The JAVA plugin is not able to understand the module's structure.
The structure is as follows
- parent project -> pom.xml in the root directory of the project
- modules, each one in each sub-directory
|- module 1 -> pom.xml
|- module 2 -> pom.xml
To build a module with maven, i need to pass the argument -am, so that some dependencies in tha parent pom are executed.
It seems the JAVA plugin is not doing it, or not able to recognize it