SBT ignores http.nonProxyHosts -
i'm trying sbt not use proxy when publishing artifact. documentation seems point setting following when starting sbt:
-dhttp.nonproxyhosts="localhost|*.xxx"
but doesn't work. post details how set proxy not how ignore it. tried setting:
sbt_opts='http.nonproxyhosts="localhost|*.xxx"'
and
java_opts='http.nonproxyhosts="localhost|*.xxx"'
and escaped pipe ("localhost\|*.xxx"). found issue unresolved on sbt's github page.
any clues appreciated. thanks.
edited - here full command:
java -dhttp.nonproxyhosts="localhost\|*.xxx" -jar {path_to_sbt_jar}/sbt-launch.jar clean packagedartifacts publish
Comments
Post a Comment