How to have 2 interdependant modules with their own config in IntelliJ?
I am an Eclipse user having metaphysical question before fully switching to IntelliJ. I have 2 Maven modules: "main" module which is my main app which uses "shared" module which is shared by misc applications I'd like to: work at the same time on both modules, meaning the changes in "shared" code would be automatically picked by my main app when I run it. Ideally I would not have to be forced to create & install in my .m2 folder the artifact "shared-SNAPSHOT.jar" for my main app to use the updated code. be able to work independantly on each one (own .idea containing each it's own launchconfiguration) while sharing in their own respective git repo their own configuration. It would mean: each can have it's own set of launchconfigurations (the folders in the .idea where are defined the launch configurations) each would have it's own code formatter setting => with this requirement, I want a new dev to be able to just git clone one project and work on it directly with minimal configuration. What I managed to do: If I open the "main" module with a .idea preconfigured inside it is ok: I directly have my formatter & my launch configs. BUT if I then try to open the "shared" module, IntelliJ proposes: either to open in a new window. The problem is then that I have to INSTALL the shared-SNAPSHOT.jar in my .m2 repo in order for the updated code to be seen by my main app. Is there any way for 2 IntelliJ windows to 'see' the code from one another ? or to keep the same window, BUT it adds a new config for the imported "shared" module inside "main"'s .idea folder. Which I don't want because I'd like "main" module to be unaware of "shared" (apart from the maven dependency). And I don't want to force any colleague working on "main" to be forced to also import "shared". Do you have a best practise for me or should I stay with Eclipse ;) ?
Spotify docker-maven-plugin unauthorized: authentication required public repo
maven integration test runOrder is not working
Maven SNAPSHOT version not loaded from Nexus
NoClassDefFoundError when using cxf-codegen-plugin with maven
Exclude hidden folders to generate archetype
How does Maven order modules in the reactor
CAS: How to overlay a package
Can child poms inherit dependency exclusions defined in the parent pom?
Failed to load class “org.slf4j.impl.StaticLoggerBinder” error
How to run maven plugin for only root of multimodule project [duplicate]
deploy maven project in tomcat8 in eclipse
One of the dependencies (ofbcore:ofbcore-xerces:jar:serializer) is nowhere to be found in the internet
What is the proper set up for Maven to communicate with Docker daemon on Mac?
Something like “mvn undeploy” to remove artifacts from Nexus?
artifactId equivalent in Gradle?
How to configure artifactory for private maven repository