-
Notifications
You must be signed in to change notification settings - Fork 177
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
[MDEP-952] Partially decouple AbstractFromConfigurationMojo from StringUtils #487
Conversation
@@ -367,7 +367,7 @@ public void setArtifact(String artifact) throws MojoFailureException { | |||
if (artifact != null) { | |||
String packaging = "jar"; | |||
String classifier; | |||
String[] tokens = StringUtils.split(artifact, ":"); | |||
String[] tokens = artifact.split(":"); |
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 is likely the issue. I think the split methods may not be quite the same.
Hooray for tests. I was able to narrow down the problem to the change from StringUtils.split(foo to foo.split. I'm not immediately sure why/how those two split methods differ but they do. So this PR now removes usages of StringUtils except for StringUtils.split. I'll address that carefully in a subsequent PR after more investigation. |
Needs a closer look. This appears to be the change that caused the bug MDEP-952