在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):arktekk/sbt-aether-deploy开源软件地址(OpenSource Url):https://github.com/arktekk/sbt-aether-deploy开源编程语言(OpenSource Language):Scala 71.0%开源软件介绍(OpenSource Introduction):SBT aether deploy pluginDeploys sbt-artifacts using Maven Artifact Provider. The same behaviour as Maven should be expected. project/plugins.sbtaddSbtPlugin("no.arktekk.sbt" % "aether-deploy" % "0.27.0")
/** OR **/
addSbtPlugin("no.arktekk.sbt" % "aether-deploy-signed" % "0.27.0") // For sbt-pgp 2.x support Breaking Changes0.27.0
0.25.0
0.24.0If you want to use 0.18The version to be used by the aetherCoordinates will be scoped using ThisBuild, to work better with the release plugin. To get the old behaviour you will need to add this to your aetherOldVersionMethod := true Logging level of progress has been changed from info to debug. You can turn off the progress logging by adding this to your import aether.AetherKeys._
logLevel in aetherDeploy := Level.Info CaveatIf you see errors similar to what is described in this ticket then you might want to check if you are using a global plugin. There are known incompabilities with Build filepublishTo := {
if ((version in ThisBuild).value.endsWith("SNAPSHOT")) {
Some(Opts.resolver.sonatypeSnapshots)
} else {
Some(Opts.resolver.sonatypeStaging)
}
} This plugin is now an Autoplugin, so there is no need to add extra config to make it work. Override default publish taskoverridePublishSettings Override default publish-local taskoverridePublishLocalSettings Override both publish and publish-local taskoverridePublishBothSettings Overriding the publish-signed task (applies to 'aether-deploy-signed' only)overridePublishSignedSettings Overriding the publish-signed-local task (applies to 'aether-deploy-signed' only)overridePublishSignedLocalSettings Overriding the publish-signed and publish-signed-local task (applies to 'aether-deploy-signed' only)overridePublishSignedBothSettings Add credentialscredentials += Credentials(Path.userHome / ".sbt" / ".credentials") UsageTo deploy to remote Maven repository.
To deploy to local maven repository.
Usage if the publish/publish-local task is overridenTo deploy to remote Maven repository.
To deploy to local maven repository.
ProxiesDocumentation for proxies can be found here Using the plugin with sbt-pgp-plugin 1.1.2-1 or higher and aether-deploy 0.24.0 or belowYou will need to add the sbt-pgp-plugin as described here. enablePlugins(SignedAetherPlugin) // Only required for 0.24.0 and below. SignedAetherPlugin is
// automatically enabled if sbt-pgp is enabled on the project.
disablePlugins(AetherPlugin) // Only required for 0.24.0 and below.
This should now allow aether-deploy task to work with the sbt-pgp-plugin |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论