Skip to content

Commit

Permalink
Publish to maven only test
Browse files Browse the repository at this point in the history
  • Loading branch information
Seun0925 authored and Seun0925 committed Aug 23, 2024
1 parent d3743e3 commit 603db57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 0 additions & 9 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,8 @@ homepage := Some(url("https://github.com/cdcent/hl7-pet"))

pomIncludeRepository := { _ => false }

publishTo := Some("GitHub cdcgov Apache Maven Packages" at "https://maven.pkg.github.com/cdcgov/hl7-pet")
credentials += Credentials(
"GitHub Package Registry",
"maven.pkg.github.com",
"cdcgov",
System.getenv("GITHUB_TOKEN")
)

scalaVersion:= "2.13.13"

//mainClass in assembly := Some("gov.cdc.hl7pet.DeIdentifierApp")
mainClass := Some("gov.cdc.hl7pet.DeIdentifierApp")
Global / excludeLintKeys += mainClass

Expand Down
2 changes: 2 additions & 0 deletions project/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ inThisBuild(List(
)
))

import xerial.sbt.Sonatype.sonatypeCentralHost
ThisBuild / sonatypeCredentialHost := sonatypeCentralHost

pomIncludeRepository := { _ => false }

Expand Down

0 comments on commit 603db57

Please sign in to comment.