You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem description: I have defined a dependency of one of my modules (let's refer it as A) with ${project.version} in other module (let's refer it as B).
Module A is not sub module of module B but they both share same root module.
As long as module A is imported in my intellij then module B recognize it and I can import and use its class and maven build goes fine.
I case this module A isn't exist in intellij but his artifact with generated version is exist in repository, then I can't use it for coding in my intellij. I'm getting in the editor an error that class can't be resolved.
Note: if I'll build the module using intellij plugin then it will pass although the errors in the editor.
My guess is that in IDE editor the dependencies resolving still works as default and it will use the original version to resolve each dependency.
Bottom line, we must that all project modules are imported in the IDE to manage work without editor errors.
The text was updated successfully, but these errors were encountered:
git clone https://github.com/McFoggy/jgitver-samples
cd jgitver-samples
git checkout intellij
cd intellij/multi
mvn clean install
Can you please describe using this sample app, what you are doing that does not work in IntelliJ.
My fear is that you use jgitver with a real dynamic version (for example using version with commit distance or commit SHA1) in which case each time you commit you would need to mvn install to make the libraries available to your IDE if they are not all loaded in your IDE.
version: 0.4.0
usage context: Intellij IDEA: 2016.1.4
Problem description: I have defined a dependency of one of my modules (let's refer it as A) with ${project.version} in other module (let's refer it as B).
Module A is not sub module of module B but they both share same root module.
As long as module A is imported in my intellij then module B recognize it and I can import and use its class and maven build goes fine.
I case this module A isn't exist in intellij but his artifact with generated version is exist in repository, then I can't use it for coding in my intellij. I'm getting in the editor an error that class can't be resolved.
Note: if I'll build the module using intellij plugin then it will pass although the errors in the editor.
My guess is that in IDE editor the dependencies resolving still works as default and it will use the original version to resolve each dependency.
Bottom line, we must that all project modules are imported in the IDE to manage work without editor errors.
The text was updated successfully, but these errors were encountered: