Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8315945
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T21:14:41+00:00 2026-06-08T21:14:41+00:00

I am facultatively commenting out the sbt-gpg-plugin in ~/.sbt/plugin/build.sbt , because I am using

  • 0

I am facultatively commenting out the sbt-gpg-plugin in ~/.sbt/plugin/build.sbt, because I am using a lot of publish-local with different projects, and the query for the GPG password is getting totally on my nerves.

Now I need to re-enable that plugin because I want to push to Sonatype. But somehow sbt does not recheck ~/.sbt/plugin/build.sbt, so even after editing it, uncommenting the line

addSbtPlugin( "com.jsuereth" % "xsbt-gpg-plugin" % "0.6" )

it still doesn’t ask for the password to GPG sign the artifacts. I tried clean, reload, reboot, reboot full, no luck. I know I can reboot the computer, that usually works. But there must be some trick to force sbt to recheck ~/.sbt and recognise the changes in their.

The problem seems to involve that the project itself has project/plugins.sbt, that somehow interferes with the global plugin caching. sbt version is 0.11.3.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T21:14:43+00:00Added an answer on June 8, 2026 at 9:14 pm

    A rather stupid solution, so please do add better answers:

    $ mv ~/.sbt/plugins/build.sbt ~/Desktop
    $ sbt publish-local
    

    This will try to reload the plugins, but fantastically asking them to come in flavour Scala 2.9.2 instead of Scala 2.9.1. So it will end up will problems finding the plugins. Then go back:

    $ mv ~/Desktop/plugins.sbt ~/.sbt/plugins/build.sbt
    $ sbt publish-local
    

    Re-downloads the plugins for Scala 2.9.1, and the GPG plugin is enabled. Voilà.


    Edit: Never ever try to move the file into the base directory ~/.sbt/ – you will screw up so much.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How should be implemented facultative one-to-one relation in Doctrine ORM and Symfony? Suppose there
I want to use XSLT to modify : <Office Code=1 OtherAttribute=5> <Customer CustomerId=0010 CodeModifier=A/>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.