Closed laurent-thiebaud-gisaia closed 5 years ago
I thought we won't publish ARLAS-proc fat jar to cloudsmith and only regular jar. Am I missing a point?
@sfalquier we said we should publish only the regular jar to Cloudsmith and send the fat jar to the GS.
I was not able to do so. When I only add these lines to build.sbt:
ThisBuild / publishTo := { Some("Cloudsmith API" at "https://maven.cloudsmith.io/gisaia/private/") }
ThisBuild / pomIncludeRepository := { x => false }
ThisBuild / credentials += Credentials("Cloudsmith API", "maven.cloudsmith.io", sys.env.getOrElse("CLOUDSMITH_USER", ""), sys.env.getOrElse("CLOUDSMITH_API_KEY", ""))
Then sbt publish
will send the fat JAR to the GS (I expect it to happen only with gcs:publish
).
If you're not OK with the fat-jar-project solution, I can look deeper to fix it (but I think that to storage the fat jar on GS was a temporary solution).
With your approval, I merge this PR.
Related to https://github.com/gisaia/ARLAS-proc/issues/85