-
Notifications
You must be signed in to change notification settings - Fork 84
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
SDK-306 - Fix to enable the config-prefixed distro properties to succ… #301
Conversation
…essfully install config projects outside of the refapp
…ent information is defined.
log.warn("parent.artifactId missing"); | ||
missingCount++; | ||
} | ||
if (StringUtils.isBlank(parentGroupId)) { | ||
log.warn("parent.groupId is missing"); | ||
missingCount++; | ||
} | ||
if (StringUtils.isBlank(parentVersion)) { | ||
log.warn("parent.version is missing"); |
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.
Not sure why we're removing these lines?
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.
@ibacher / @wikumChamith ... Yeah, not related to this PR, but I removed them because they seem incorrect and I noticed them in my log and investigated. If I have no parent properties at all in my distro, I get these 3 warning messages in my console, which is wrong. We can certainly keep these warnings in place if we first check that at least one property is entered, but honestly I don't understand the logic, because the conditional statement below seems to render all this moot? Based on the conditional below, if you have 1 or 2 missing, then things fail. So the only allowed situation is 0 properties or all 3 properties. So why are we logging a warning above exactly?
maven-plugin/src/main/java/org/openmrs/maven/plugins/Setup.java
Outdated
Show resolved
Hide resolved
After reviewing with @ibacher , I think we are going to table this in favor of deprecating this functionality and focusing on support for content packages. I'm going to close this out, though retain the right to reopen. |
…essfully install config projects outside of the refapp
see https://openmrs.atlassian.net/browse/SDK-306