You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I may have identified a bug, though as always, more likely a user error. When the org/groupId is set to w.x.y.z in the build.sc file and I own the groupId w.x.y on Maven/Sontatype/whatever.
I'm getting this error now: Could not find staging profile for groupId: edu.cornell.ncrn.ced2ar. I've uploaded to this groupId before using maven/pom, but the issue might be that the top level groupId associated with the profile is actually just edu.cornell.ncrn.
So I thought on this line ( https://github.com/lihaoyi/mill/blob/master/scalalib/src/mill/scalalib/publish/SonatypeHttpApi.scala#L39 ), maybe it should be checking that profile("name").str is a substring of groupId (rather than equal to it). But I tested it out locally (hopefully correctly using mill/out/dev/launcher/dest/run) using the change .find(profile => profile("name").str.startsWith(groupId) and got the same error. So, I'm not sure what to investigate next.
The text was updated successfully, but these errors were encountered:
I may have identified a bug, though as always, more likely a user error. When the org/groupId is set to
w.x.y.z
in thebuild.sc
file and I own the groupIdw.x.y
on Maven/Sontatype/whatever.I'm getting this error now:
Could not find staging profile for groupId: edu.cornell.ncrn.ced2ar
. I've uploaded to this groupId before using maven/pom, but the issue might be that the top level groupId associated with the profile is actually just edu.cornell.ncrn.So I thought on this line ( https://github.com/lihaoyi/mill/blob/master/scalalib/src/mill/scalalib/publish/SonatypeHttpApi.scala#L39 ), maybe it should be checking that profile("name").str is a substring of groupId (rather than equal to it). But I tested it out locally (hopefully correctly using mill/out/dev/launcher/dest/run) using the change
.find(profile => profile("name").str.startsWith(groupId)
and got the same error. So, I'm not sure what to investigate next.The text was updated successfully, but these errors were encountered: