Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
project
src
.gitignore
.travis.yml Add sbt test to travis Apr 10, 2018
LICENSE
README.md
build.sbt

README.md

Build Status

akka-http-pac4j

A wrapper around pac4j (www.pac4j.org) built using AkkaHTTP

One time publishing configuration

  • Set Sonatype account information
    • Place in $HOME/.sbt/(sbt-version 0.13 or 1.0)/sonatype.sbt the following configuration:
    credentials += Credentials("Sonatype Nexus Repository Manager",
            "oss.sonatype.org",
            "(Sonatype user name)",
            "(Sonatype password)")
    
    • Create a PGP key pair:
      • sbt pgp-cmd gen-key which should generate an output like...
      Please enter the name associated with the key: Developer
      Please enter the email associated with the key: developer@gmail.com
      Please enter the passphrase for the key: ***************
      Please re-enter the passphrase for the key: ***************
      [info] Creating a new PGP key, this could take a long time.
      [info] Public key := /Users/developer/.sbt/gpg/pubring.asc
      [info] Secret key := /Users/developer/.sbt/gpg/secring.asc
      [info] Please do not share your secret key.   Your public key is free to share.
      
    • Send your key to a public Key Server
      • Obtain your key id using sbt pgp-cmd list-keys which should output...
      /Users/developer/.sbt/gpg/pubring.asc
      -------------------------------------
      pub	RSA@2048/2bb8c19d	2018-12-03
      uid	                	Developer <developer@gmail.com>
      
      • Export your key using sbt pgp-cmd send-key 2bb8c19d hkp://keyserver.ubuntu.com
      Sending PublicKeyRing(PublicKey(9884fa162bb8c19d, Developer <developer@gmail.com>, RSA@2048)) to HkpServer(http://keyserver.ubuntu.com:11371)
      
  • Support links

Publishing artifacts

  • Modify the version in build.sbt. If the project version has "SNAPSHOT" suffix, your project will be published to the snapshot repository of Sonatype
    version      := "0.4.1-SNAPSHOT"
    
  • Publish using sbt publishSigned
You can’t perform that action at this time.