Coder Social home page Coder Social logo

Comments (8)

geirhe avatar geirhe commented on May 24, 2024

s/Local libraries have been deleted/Local directory prefixes have been omitted for security reasons/

from sbt-site.

geirhe avatar geirhe commented on May 24, 2024

A colleague running the same config as me had it working, but when he moved ~/.sbt and ~/.ivy2 away, it broke the same way for him.

from sbt-site.

geirhe avatar geirhe commented on May 24, 2024

All the jar files seem to be the same in .sbt and .ivy2, but there are differences in property- and xml files

from sbt-site.

jsuereth avatar jsuereth commented on May 24, 2024

You have to add the sbt-plugin-releases. Can I see the output shown when you do so?

here's the deployed file: http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/com.jsuereth/sbt-site-plugin/scala_2.9.1/sbt_0.11.3/0.4.0/

Here's a project that's successfully using the plugin:

https://github.com/jsuereth/scala-arm/blob/master/project/plugins.sbt

Note how you have to add the resolver:

resolvers += Resolver.url("sbt-plugin-releases", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)

from sbt-site.

benwing avatar benwing commented on May 24, 2024

Hello jsuereth. I get the same error when trying to build Scoobi 0.4.0, which formerly built properly.

project/plugins.sbt has the following:


resolvers += Resolver.url("scalasbt", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns)

addSbtPlugin("com.jsuereth" % "xsbt-gpg-plugin" % "0.6")

addSbtPlugin("com.jsuereth" % "sbt-site-plugin" % "0.4.0")

resolvers ++= Seq("less is" at "http://repo.lessis.me", "coda" at "http://repo.codahale.com")

addSbtPlugin("me.lessis" % "ls-sbt" % "0.1.1")


Note that it DOES contain the appropriate resolver line. And it still fails.

...

[info] Resolving org.scala-tools.sbt#precompiled-2_8_0;0.11.2 ...
[info] Resolving org.scala-tools.sbt#precompiled-2_9_0;0.11.2 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.jsuereth#sbt-site-plugin;0.4.0: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] com.jsuereth:sbt-site-plugin:0.4.0 (sbtVersion=0.11.2, scalaVersion=2.9.1)
[warn]
[error] {git://github.com/jsuereth/xsbt-ghpages-plugin.git}sbt-ghpages-plugin/*:update: sbt.ResolveException: unresolved dependency: com.jsuereth#sbt-site-plugin;0.4.0: not found
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?

What's going on here? Why is this breaking now?

from sbt-site.

benwing avatar benwing commented on May 24, 2024

OK, seems I was using the sbt that comes with MacPorts, which is 0.11.2, and you only support 0.11.3.

IMO this excessive version dependency in sbt really sucks, but I realize it's not your fault, but something built into sbt.

from sbt-site.

jsuereth avatar jsuereth commented on May 24, 2024

Note: SBT 0.12.x series removes the version dependency for all but the "12" part, so it should be better there!

from sbt-site.

benwing avatar benwing commented on May 24, 2024

Good to hear!

ben

On Mon, Sep 10, 2012 at 9:29 PM, Josh Suereth [email protected]:

Note: SBT 0.12.x series removes the version dependency for all but the
"12" part, so it should be better there!


Reply to this email directly or view it on GitHubhttps://github.com/sbt/sbt-site-plugin/issues/2#issuecomment-8444271.

from sbt-site.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.