2018-04-25 14:28:19 UTC
I am developing a maven plugin in a multi module environment which requires the compilepath of maven. Every single of my projects has a pom.xml, tycho and my plugin are declared in my parent pom.
Tycho reads the dependencies from the manifest and adds just two maven dependencies to that (pomDependencies is set to consider).
For sure Iâve set ârequiresDependencyCollection = ResolutionScope.RUNTIME_PLUS_SYSTEMâ in my Mojo Annotation.
Well, everything just works fine on my CLI but as soon as I try to do a âmaven updateâ (Project right click -> Maven -> Update ProjectâŠ) the classpath doesnât get fully resolved. âproject.getArtifacts()â just contains my two pom dependencies, all tycho dependencies are missing. If I am executing a âmvn clean installâ on my CLI the same method returns all necessary dependencies.
Can anyone tell me what I am doing wrong with this?
Thank you very much! Any help will be appreciated!