-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NCLSUP-377: Guard against null plugin version #866
Conversation
Is this all that is needed or is something else wrong? This same pattern of |
Codecov Report
@@ Coverage Diff @@
## master #866 +/- ##
============================================
+ Coverage 83.57% 83.83% +0.25%
- Complexity 1866 1869 +3
============================================
Files 115 115
Lines 6906 6908 +2
Branches 1198 1198
============================================
+ Hits 5772 5791 +19
+ Misses 662 648 -14
+ Partials 472 469 -3
Continue to review full report at Codecov.
|
I think that while the |
I have a potentially simpler fix within |
That would make this change unnecessary? In any case, I was going to at a testcase to this pull request. |
Lets discuss offline. |
Looks good, I would just like a test as per our meeting |
We have a
Map<ProjectVersionRef, Plugin>
whereplugin.getVersion()
isnull
. As seen below, theplugin
value has no version specified in the POM. However, the keyprojectVersionRef
has a version specified (org.apache.maven.plugins:maven-surefire-plugin:2.12.4
).