IntelliJ IDEA Working Directory

When you’re switching from one IDE to another, even if the codebase is the same, some differences might occur. This happens e.g. when using relative paths. Assume you have a multi-module Maven project with a structure somewhat like below: +—myApp | \—myApp.component | \—myApp.component.business Trying to execute in IDE the following code present in the myApp.component.business: private final String POM_PATH = "pom.xml"; // ... PomEquippedResolveStage Maven.configureResolver() .workOffline() .loadPomFromFile( POM_PATH ); In Eclipse, by default, it will load the pom....

September 26, 2014 · 1 min