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 have a multi-module sbt build in which only some of the submodules should be published. I have set up publishArtifact := true in those that should be published, and publishArtifact := false in those that should not. I am also setting publishTo := Some(repo) in those that should be published, and publishTo := None in those that should not.
The standard Ivy publish plugin works fine with this. However, with fm-sbt-s3-resolver, I get Repository for publishing is not specified errors for those repositories that have publishArtifact := false.
The text was updated successfully, but these errors were encountered:
This actually sounds similar to an issue I've seen. I'm not sure if it's related to the fm-sbt-s3-resolver plugin or not since it happens for me in projects that only publish to Sonatype. Here is what my settings end up looking like for modules that I don't want published:
I have a multi-module sbt build in which only some of the submodules should be published. I have set up
publishArtifact := true
in those that should be published, andpublishArtifact := false
in those that should not. I am also settingpublishTo := Some(repo)
in those that should be published, andpublishTo := None
in those that should not.The standard Ivy publish plugin works fine with this. However, with fm-sbt-s3-resolver, I get
Repository for publishing is not specified
errors for those repositories that havepublishArtifact := false
.The text was updated successfully, but these errors were encountered: