scala - Unresolved dependencies for np 0.2.0 with SBT 0.13? -


scala 2.10.2 , sbt 0.13

i'm trying use np plugin , added following lines ../0.13/np.sbt:

seq(npsettings:_*)  (npkeys.defaults in (compile, npkeys.np)) ~= {   _.copy(org="me.lessis", version="0.1.0-snapshot") } 

and <home-directory>/.sbt/plugins.sbt

addsbtplugin("me.lessis" % "np" % "0.2.0")  resolvers += resolver.url("sbt-plugin-releases",url("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(resolver.ivystylepatterns) 

when execute sbt run getting :

[info] updating {file:/home/projects/hellosbt/}default-310e5b... [info] resolving me.lessis#np;0.2.0 ... [warn]  module not found: me.lessis#np;0.2.0 [warn] ==== local: tried [warn] /home/.ivy2/local/me.lessis/np/scala_2.10/sbt_0.12/0.2.0/ivys/ivy.xml [warn] ==== sbt-plugin-releases: tried [warn]   http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/me.lessis/np/scala_2.10/sbt_0.12/0.2.0/ivys/ivy.xml [warn] ==== public: tried [warn]   http://repo1.maven.org/maven2/me/lessis/np_2.10_0.12/0.2.0/np-0.2.0.pom [warn]  :::::::::::::::::::::::::::::::::::::::::::::: [warn]  ::          unresolved dependencies         :: [warn]  :::::::::::::::::::::::::::::::::::::::::::::: [warn]  :: me.lessis#np;0.2.0: not found [warn]  :::::::::::::::::::::::::::::::::::::::::::::: [warn]  [warn]  note: unresolved dependencies have attributes.  check these dependencies exist requested attributes. [warn]      me.lessis:np:0.2.0 (sbtversion=0.12, scalaversion=2.10) [warn]  [trace] stack trace suppressed: run last *:update full output. [error] (*:update) sbt.resolveexception: unresolved dependency: me.lessis#np;0.2.0: not found [error] total time: 3 s, completed feb 6, 2014 9:23:17 

what doing wrong ?

for scala 2.10 have use sbt 0.13. tried sbt 0.13

open in browser link: http://dl.bintray.com/sbt/sbt-plugin-releases/me.lessis/np/scala_2.10/

there only:

sbt_0.13/

for scala 2.9.2 need use sbt 0.12

==========================

update:

  • remove global configuration $home/.sbt (plugins.sbt). or make or action fresh user account (new user never used sbt)
  • create empty directory test
  • go test
  • create directory project
  • go project
  • create plugins.sbt content above in question
  • go test directory
  • run sbt test or other command
  • see output - me.lessis#np;0.2.0 should downloaded

Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -