Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    SBT publish

    Scheduled Pinned Locked Moved Support
    proget
    2 Posts 1 Posters 8 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      I'm trying to get sbt publishing from the command line to work with ProGet's maven repository system. I can successfully publish as long as I have the isSnapshot set to true, however, that doesn't seem to show up anywhere in ProGet. As soon as I set isSnapshot to false, the publish fails saying it already exists and can't be overwritten (regardless whether I change the version number or anything else).

      relevant bits of build.sbt:

      organization := "MyCorporation"
      scalaVersion := "2.10.6"
      name := "MyOrders-test"
      version := "1.0.1"
      publishTo := Some("packages.mycorp.com" at "http://packages.mycorp.com/maven-feeds/private-maven")
      credentials += Credentials("packages.mycorp.com", "packages.mycorp.com", "myadmin", "redacted")
      //isSnapshot := true
      

      As is probably obvious in the above, my ProGet install is at http://packages.mycorp.com and the url to my maven feed is http://packages.mycorp.com/maven-feeds/private-maven.

      Any ideas why I would be seeing this or any suggestions on how to work through this?

      Product: ProGet
      Version: 4.4.1

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        We actually haven't tried using SBT just yet (in fact, I just learned about it from your post).

        But generally speaking, one of challenges with Maven is that it's convention-based, and doesn't have any documentation on the convention. So it's possible that SBT is using a slightly different convention than Maven or Ivy clients are. Moreover, different "packages" have a convention to behave differently...

        Would you able to attach Fiddler and see where some of the discrepancies in the request/responses might be? Sometimes it's incredibly obvious, and that might allow us to implement yet another undocumented convention. It may be easier to communicate over email, so perhaps fill out a ticket or just email us at support-at-Inedo-com once you have some details?

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation