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 ;) ?
Jenkins Integration with Automic for Pipeline Script
Nexus doesn't download the complete artifact content from the Central repository
How to implement auto-incrementing build number in maven project?
How to include particular file from a folder in maven install target directory?
SonarQube fails to connect to database with error “cannot load jdbc driver class 'com.mysql.jdbc.driver'”
How to prevent maven releasing a SNAPSHOT bom file?
Why is maven downloading the same artifact multiple times?
test-verify goal doesn't work with maven-soapui-extension-plugin
Double artifact resolution in Maven/Assembly plugin
What exactly is thread-count parameter in maven
How to build two different project in single repository, using jenkins
Apache spark Hive, executable JAR with maven shade
#Inject is not working in JAX-RS resource [duplicate]
Spring-WS Element Name Has More Than One Mapping
Can't execute “mvn clean package” task in GO CD
java.lang.IllegalStateException: Could not find backup for factory javax.faces.context.FacesContextFactory