I am using IDEA to build a big maven project which contains a lot of submodules. And i could not find a similar feature which provided in eclipse. This feature has block me for years which avoid me to switch to IDEA.
In eclipse, there has a feature named "Enable Workspace Resolution". With this feature, all projects in eclipse workspace will be auto resolved by other project in same workspace (Eclipse will auto update build classpath, and replace dependencies jar path to other project's output folder like target/classes
). Then the dependencies will always point to the latest compiled class file, even you can update the class file in runtime (when debug, it will effect immediately if u did not update method signature but just method content).
For example, for a maven project like:
Project
|- module1
|- module2
|- pom.xml
module1 depends on module2, In eclipse, module1 will not find module2.jar from maven repo but directly from module2/target/classes(compile output folder). But IDEA will always try to find module2.jar from maven repo.
Any ideas?