Skip to content

Latest commit

 

History

History

maven

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

org.hammerlab.sbt:maven

org.hammerlab.sbt:maven

addSbtPlugin("org.hammerlab.sbt" % "maven" % "5.0.0")

Settings for publishing to Maven repositories (especially Maven Central):

  • necessary POM settings
  • add Sonatype "releases" and "snapshots" resolvers

sbt +publish will publish a snapshot to Sonatype for each Scala cross-version, and sbt +publishSigned sonatypeRelease will publish to Sonatype-staging and then release to Maven Central.

Additionally, sbt mavenLocal wraps publishM2, but only operates on -SNAPSHOT-versioned projects.