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
this bug first appeared with SBT 1.9.0, worked fine in older versions
to reproduce the bug run publish on the following project
val root = (project in file(".")).aggregate(api,service)
lazy val api = project.settings(publishTo := Some(Resolver.mavenLocal))
lazy val service = project.settings(skip/publish := true)
problem
I am getting
[error] stack trace is suppressed; run last service / publishConfiguration for the full output
[error] stack trace is suppressed; run last publishConfiguration for the full output
[error] (service / publishConfiguration) Repository for publishing is not specified.
[error] (publishConfiguration) Repository for publishing is not specified.
[error] Total time: 0 s, completed Jun 5, 2023, 11:01:56 PM
SBT forces me to set publishTo to Some even for modules which are never supposed to be published
expectation
publishTo set to None (which is a default value) should be fine in modules with skip/publish := true