Anyone published to scala-tools.org lately ?

9 views
Skip to first unread message

Maxime Lévesque

unread,
May 14, 2011, 10:17:26 AM5/14/11
to scala...@googlegroups.com

Am I alone in getting this exception ?

[info] == publish ==
java.lang.UnsupportedOperationException: URL repository only support HTTP PUT at the moment
        at org.apache.ivy.util.url.BasicURLHandler.upload(BasicURLHandler.java:180)
        at org.apache.ivy.util.FileUtil.copy(FileUtil.java:140)
        at org.apache.ivy.plugins.repository.url.URLRepository.put(URLRepository.java:84)
        at org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130)
        at org.apache.ivy.plugins.resolver.RepositoryResolver.put(RepositoryResolver.java:227)
        at org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:209)
        at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:282)
        at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:261)
        at org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:170)
        at org.apache.ivy.Ivy.publish(Ivy.java:600)
        at sbt.IvyActions$$anonfun$publish$1.apply(IvyActions.scala:103)
        at sbt.IvyActions$$anonfun$publish$1.apply(IvyActions.scala:96)
        at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:93)
        at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:93)
        at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:85)
        at sbt.IvySbt.liftedTree1$1(Ivy.scala:41)
        at sbt.IvySbt.action$1(Ivy.scala:41)
        at sbt.IvySbt$$anon$1.call(Ivy.scala:50)
        at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:63)
        at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:67)
        at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:67)
        at xsbt.boot.Using$.withResource(Using.scala:11)
        at xsbt.boot.Using$.apply(Using.scala:10)
        at xsbt.boot.Locks$GlobalLock.withFileLock(Locks.scala:67)
        at xsbt.boot.Locks$GlobalLock.liftedTree1$1(Locks.scala:45)
        at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:45)
        at xsbt.boot.Locks$.apply(Locks.scala:31)
        at sbt.IvySbt.withDefaultLogger(Ivy.scala:50)
        at sbt.IvySbt.withIvy(Ivy.scala:82)
        at sbt.IvySbt$Module.withModule(Ivy.scala:93)
        at sbt.IvyActions$.publish(IvyActions.scala:96)
        at sbt.IvyTasks$$anonfun$publishTask$1.apply(BasicProjectTypes.scala:86)
        at sbt.IvyTasks$$anonfun$publishTask$1.apply(BasicProjectTypes.scala:82)
        at sbt.IvyTasks$$anonfun$ivyTask$1.apply(BasicProjectTypes.scala:66)
        at sbt.IvyTasks$$anonfun$ivyTask$1.apply(BasicProjectTypes.scala:66)
        at sbt.TaskManager$Task.invoke(TaskManager.scala:62)

Chris Twiner

unread,
May 15, 2011, 5:53:22 AM5/15/11
to Maxime Lévesque, scala...@googlegroups.com

What is your publish repository configured as? You need to give some more information for others to be able to help.

Maxime Lévesque

unread,
May 15, 2011, 8:18:56 AM5/15/11
to Chris Twiner, scala...@googlegroups.com

Sorry everyone, I had a bug in my project definition that crept in with a careless merge....

For some reason, I didn't think of looking at the right place, I had this  :

  val publishTo = "Scala Tools Nexus" at "file://nexus.scala-tools.org/content/repositories/releases/"

ML

2011/5/15 Chris Twiner <chris....@gmail.com>
Reply all
Reply to author
Forward
0 new messages