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
The recommendation plugin traverses up the project hierarchy to find a suitable recommendation in one of the parent projects, which is a good feature.
But as soon as the "--parallel" switch comes into play, a common parant project recommendation container gets requested by multiple threads in parallel.
My builds fail because a not completely preinitialized recommendation-HashMap is returned by the MavenBomRecommendationProvider in those situations.
Currenly we only use the MavenBomRecommendationProvider but by reviewing the code I found the same issue in:
MavenBomRecommendationProvider
DependencyLockProvider.groovy
IvyRecommendationProvider.groovy
PropertyFileRecommendationProvider.java
I will prepare two pull requests with fixes. One for the MavenBomRecommendationProvider which I tested successfully in my project and another one for the other three fixes.
Could you please review my code changes and merge the changes if suitable?
Thanks!
Regards
Christian
The text was updated successfully, but these errors were encountered:
cbue
pushed a commit
to cbue/nebula-dependency-recommender-plugin
that referenced
this issue
Dec 19, 2017
Hi!
The recommendation plugin traverses up the project hierarchy to find a suitable recommendation in one of the parent projects, which is a good feature.
But as soon as the "--parallel" switch comes into play, a common parant project recommendation container gets requested by multiple threads in parallel.
My builds fail because a not completely preinitialized recommendation-HashMap is returned by the MavenBomRecommendationProvider in those situations.
Currenly we only use the MavenBomRecommendationProvider but by reviewing the code I found the same issue in:
I will prepare two pull requests with fixes. One for the MavenBomRecommendationProvider which I tested successfully in my project and another one for the other three fixes.
Could you please review my code changes and merge the changes if suitable?
Thanks!
Regards
Christian
The text was updated successfully, but these errors were encountered: