You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sbt:my-project> sbt publish
[info] Loading global plugins from /Users/michaelahlers/.sbt/1.0/plugins
[info] Loading settings from plugins.sbt ...
[info] Loading project definition from /Users/michaelahlers/Projects/my-project/project
[info] Loading settings from build.sbt ...
[info] Set current project to my-project (in build file:/Users/michaelahlers/Projects/my-project/)
[info] Installing the s3:// URLStreamHandler via java.net.URL.setURLStreamHandlerFactory
[info] Using the existing Ivy URLHandlerDispatcher to handle s3:// URLs
[info] The s3:// URLStreamHandler is already installed
[info] Using the existing Ivy URLHandlerDispatcher to handle s3:// URLs
[info] :: delivering :: my-organization#my-subproject_2.12;1.0.0-SNAPSHOT :: 1.0.0-SNAPSHOT :: integration :: Sun Sep 10 14:55:08 MDT 2017
[info] delivering ivy file to /Users/michaelahlers/Projects/my-project/my-subproject/target/scala-2.12/ivy-1.0.0-SNAPSHOT.xml
[error] java.lang.UnsupportedOperationException: URL repository only support HTTP PUT at the moment
[error] at org.apache.ivy.util.url.BasicURLHandler.upload(BasicURLHandler.java:235)
[error] at org.apache.ivy.util.url.URLHandlerDispatcher.upload(URLHandlerDispatcher.java:82)
[error] at org.apache.ivy.util.FileUtil.copy(FileUtil.java:150)
[error] at org.apache.ivy.plugins.repository.url.URLRepository.put(URLRepository.java:84)
[error] at sbt.internal.librarymanagement.ConvertResolver$LocalIfFileRepo.put(ConvertResolver.scala:369)
[error] at org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130)
[error] at sbt.internal.librarymanagement.ConvertResolver$ChecksumFriendlyURLResolver.put(ConvertResolver.scala:121)
[error] at sbt.internal.librarymanagement.ConvertResolver$ChecksumFriendlyURLResolver.put$(ConvertResolver.scala:108)
[error] at sbt.internal.librarymanagement.ConvertResolver$$anonfun$defaultConvert$lzycompute$1$PluginCapableResolver$1.put(ConvertResolver.scala:168)
[error] at org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:216)
[error] at sbt.internal.librarymanagement.IvyActions$.$anonfun$publish$5(IvyActions.scala:492)
[error] at sbt.internal.librarymanagement.IvyActions$.$anonfun$publish$5$adapted(IvyActions.scala:491)
…
[error] (my-subproject/*:publish) java.lang.UnsupportedOperationException: URL repository only support HTTP PUT at the moment
In a multi-project build, I'm attempting to publish artifacts from a subproject.
For the root project—which I don't want published—I've disabled using these settings (based on a comment from #29):
For the subproject, I'm using:
The plugin is, of course, added to the project:
When publishing, I get this output:
The
publishTo
setting is correct:And the S3 resolver plugin is enabled:
Using SBT 1.0.1.
Is it trying to publish to the local file system (regardless my
publishTo
setting)? Any advice?(Note the truncation, and anonymized identifiers where appropriate.)
The text was updated successfully, but these errors were encountered: