|Refreshing project dependencies programmatically [message #1831984]
||Fri, 04 September 2020 08:13
| Alexandra Tritean
Registered: March 2020
Is there a way to refresh the project dependencies programmatically?
I will try to explain in a more detailed manner my concern.
I have two maven projects, local-calcParentName-calc-calcModuleName-1.0.0 and local-calcParentName-model-1.0.0, where the second one is a [maven] dependency of the first one, both having version 1.0.0.
The files used from local-calcParentName-model-1.0.0 in local-calcParentName-calc-calcModuleName-1.0.0 will appear as project dependencies.
Now, when changing the version of the dependency to 2.0.0, I will end up with project dependencies from both versions, as you can see in the attached picture.
So, therefore my question, is there a way to force a refresh/update on those dependencies?
I tried a couple of things, such as removing/adding modeling nature, trying to refresh/resolve the resource set of the current Sirius session, but couldn't find anything.
If is not possible, do you think that ending up in this situation may have any side effects on the functionality?
(Size: 21.58KB, Downloaded 9 times)
Powered by FUDForum
. Page generated in 0.04918 seconds