bbstilson / sbt-codeartifact

An sbt plugin for publishing packages to AWS CodeArtifact.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sbt-codeartifact keeps on waiting for packages with publish / skip := true

neuromancer85 opened this issue · comments

Hi, I have a few modules in my project that I don't need to publish on CodeArtifact.
For those modules I've set publish / skip := true and in fact they are not present in the repository.
However, sbt-codeartifact keeps on waiting for those packages to be present, resulting in a failed build.
A workaround that I found at the moment is to add

  .settings(
    publish / skip := true,
    codeArtifactWaitForPackageAvailable := false,
    codeArtifactUpdateStatus := false,
  )

to the skipped module.

Thanks for reporting. I will take a look this morning.

This test should cover this failure. I am publishing a patch version now (0.1.4). Maven will take some time to update, but it's on its way.