From cb0794cade161a99368c3bad97153ebc8902b1ef Mon Sep 17 00:00:00 2001 From: Olivier Filangi Date: Wed, 21 Feb 2024 17:34:07 +0100 Subject: [PATCH] fix sonatype error --- build.sbt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index b8af917..c6f19a6 100644 --- a/build.sbt +++ b/build.sbt @@ -7,6 +7,7 @@ def getPackageSetting = Seq( version := scala.util.Properties.envOrElse("PROG_VERSION", version_n3 ), scalaVersion := "2.13.12", versionScheme := Some("early-semver"), + publish / skip := true, organization := "com.github.p2m2", organizationName := "p2m2", organizationHomepage := Some(url("https://www6.inrae.fr/p2m2")), @@ -46,9 +47,7 @@ def getPackageSetting = Seq( publishConfiguration := publishConfiguration.value.withOverwrite(true) , publishLocalConfiguration := publishLocalConfiguration.value.withOverwrite(true), pomIncludeRepository := { _ => false }, - publishMavenStyle := true, - publish / skip := true, - publishTo := sonatypePublishTo.value + publishMavenStyle := true ) lazy val root = project.in(file(".")).