bbstilson / sbt-codeartifact

An sbt plugin for publishing packages to AWS CodeArtifact.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

One project with consumer and publisher

ramimoshe opened this issue · comments

how can i do that
codeArtifactUrl variable is "https://com-example-1234567890.d.codeartifact.us-west-2.amazonaws.com/maven/private" in case of producing
and kind of list in case of consuming

can i change the name of codeArtifactUrl (e.g: codeArtifactUrlProducing & codeArtifactUrlConsuming)?

I recommend adding another resolver for consuming, like so:

resolvers += codeartifact.CodeArtifactRepo.fromUrl("consuming-url")

Hey I ended up adding another key codeArtifactResolvers for consuming. This will add credentials as well. Hopefully that helps. Checkout the readme here for an example.