-
Notifications
You must be signed in to change notification settings - Fork 71
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
unable to find libraries with '.' in the group. #168
Comments
I think this is not mima bug, the specification of sbt and/or maven. |
The fact that I have to manually normalize the name makes this a bug somewhere. It's not expected that I do the same for libraryDependencies or other ModuleIDs. |
You mean '.' in the artifactId (or "name" as Ivy calls it). I agree it's a bug. Ideally one that would be fixed in sbt. But we could potentially workaround it in mima. |
Even documenting that you have to do the character replacement would be
pretty good.
…On Wed, Feb 22, 2017 at 7:22 PM, Dale Wijnand ***@***.***> wrote:
You mean '.' in the artifactId (or "name" as Ivy calls it).
I agree it's a bug. Ideally one that would be fixed in sbt. But we could
potentially workaround it in mima.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#168 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABjO3pJMENY1FgJRlmPnh_92fiiqun4oks5rfNEwgaJpZM4MGyRe>
.
|
That breaks libraries that actually have a A way to circumvent that would be to disable cross-versioning, then manually add the right suffix in crossVersion := CrossVersion.disabled
moduleName := {
val name0 = name.value
CrossVersion(platformDepsCrossVersion.value, scalaVersion.value, scalaBinaryVersion.value).fold(name0)(_(name0))
} but with
(sbt abruptly exits, seems this calls |
About the original issue here, things like this don't work: scalaVersion := "2.12.11"
libraryDependencies += "me.jeffshaw.harmony" %% "harmony_cats0.9.0_scalaz7.2" % "1.0" One has to do scalaVersion := "2.12.11"
libraryDependencies += "me.jeffshaw.harmony" %% "harmony_cats0-9-0_scalaz7-2" % "1.0" So I'm not sure there's a point in making mimaPreviousArtifacts := Set("me.jeffshaw.harmony" %% "harmony_cats0.9.0_scalaz7.2" % "1.0") work. #323 should be reverted I think. |
Same problem here. |
gives
Changing it to the following fixes it. It appears to be maven name mangling.
The text was updated successfully, but these errors were encountered: