-
Notifications
You must be signed in to change notification settings - Fork 14
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
MIP-414 PR #24
MIP-414 PR #24
Conversation
…, renamed PomProperty
} | ||
|
||
/* | ||
<plugin> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we want to keep a sample in here put it in a groovydoc on the class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
private GPathResult getPomProperties() { | ||
return pomXml[PROPERTIES] as GPathResult | ||
} | ||
|
||
@SuppressWarnings('DuplicateStringLiteral') | ||
private String getPropertyValueFromVariable(String variable) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't used anymore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, removed
if (plugin != null) { | ||
coverageAttributeMap.each { key, val -> | ||
PomElement pe = plugin.getConfigProperty(key) | ||
if (pe == null || pe.value != val) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use pe?.value to simplify
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
} | ||
|
||
//@Override | ||
//List<RuleViolation> execute(Application application) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove commented code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Sorry for number of files changed...
MunitMavenPlugin Attributes Rules...
Added rule, tests... Moved MuleXmlParser to different package, renamed PomProperty to PomElement