Git Product home page Git Product logo

Comments (10)

nightscape avatar nightscape commented on September 24, 2024 1

I've started slowly moving over to Mill as build tool, so I won't be of help here...

from sbt-release-early.

jvican avatar jvican commented on September 24, 2024

Hello @dpennell, a private repository located where? Bintray? Sonatype?

I've just added support for Sonatype. But I'm not planning to work on this. If you want to give it a shot, I'll provide you guidance and help.

from sbt-release-early.

dpennell avatar dpennell commented on September 24, 2024

Oops, I missed all of the thread updates..

@jvican in my case, the private repository is an on-prem installation of artifactory.
My focus on this has been preempted for the moment - it will likely be a few weeks before I could work on a PR.

from sbt-release-early.

jvican avatar jvican commented on September 24, 2024

Cool @dpennell, I would welcome warmly such a contribution 😄.

Just to give me a little bit more of context: what kind of integration would you need? Isn't it enough to have sbt-sonatype support to publish to artifactory?

from sbt-release-early.

jvican avatar jvican commented on September 24, 2024

@dpennell Can you give more context on this ticket? Like, what would need to be added? Doesn't sbt-sonatype allow you to publish packages to your own artifactory repository? It may very well be the case that this feature is already supported, so I wanna find out what you meant.

from sbt-release-early.

jvican avatar jvican commented on September 24, 2024

I'm closing @dpennell. Whenever you feel like providing more info, we can reopen!

from sbt-release-early.

nightscape avatar nightscape commented on September 24, 2024

We also have this scenario. I'm not deeply into either Artifactory or Sonatype, but would assume that they're using quite different protocols for releasing artifacts. Unfortunately I can't test thoroughly now 😞
Btw, why does sbt-release-early not just use the configured publishTo and credentials?
And would it maybe make sense to add some methods to the UnderlyingPublisher trait and override them in the case objects? That way one could create a new UnderlyingPublisher for e.g. Artifactory.

from sbt-release-early.

jvican avatar jvican commented on September 24, 2024

Absolutely, UnderlyingPublisher was meant to do that, and allow for that addition. However, there's an even easier solution: use the default SonatypePublisher and override publishTo and credentials. The rest should work.

from sbt-release-early.

jvican avatar jvican commented on September 24, 2024

Well, actually, no -- use BintrayPublisher which relies on publishSigned to do the right job. The sonatype publisher delegates to the specific sonatype command.

If that doesn't work, adding Artifactory to UnderlyingPublisher should work. Then, modify the parts of the code that assume that there are only two publishers and you're good to go.

from sbt-release-early.

jvican avatar jvican commented on September 24, 2024

@nightscape You finally interested in taking a stab at this?

from sbt-release-early.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.