i trying install play-sbt 2.5.6 plugin. have made build.sbt, build.properties , plugins.sbt given @ playframework site. using sbt 0.13.12. on launching sbt following error message:
[warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: unresolved dependencies :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: aopalliance#aopalliance;1.0: configuration not found in aopalliance#aopalliance;1.0: 'master(compile)'. missing configuration: 'compile'. required org.sonatype.sisu#sisu-guice;3.1.0 compile [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] [warn] note: unresolved dependencies path: [warn] aopalliance:aopalliance:1.0 [warn] +- org.sonatype.sisu:sisu-guice:3.1.0 [warn] +- org.eclipse.sisu:org.eclipse.sisu.plexus:0.0.0.m5 [warn] +- org.apache.maven:maven-plugin-api:3.2.2 [warn] +- org.apache.maven:maven-core:3.2.2 [warn] +- org.vafer:jdeb:1.3 [warn] +- com.typesafe.sbt:sbt-native-packager:1.0.3 (scalaversion=2.10, sbtversion=0.13) [warn] +- com.typesafe.play:sbt-plugin:2.5.5 (scalaversion=2.10, sbtversion=0.13) (d:\mydata\play\temp\project\plugins.sbt#l3-4) [warn] +- default:temp-build:0.1-snapshot (scalaversion=2.10, sbtversion=0.13) sbt.resolveexception: unresolved dependency: aopalliance#aopalliance;1.0: configuration not found in aopalliance#aopalliance;1.0: 'master(compile)'. missing configuration: 'compile'. required org.sonatype.sisu#sisu-guice;3.1.0 compile @ sbt.ivyactions$.sbt$ivyactions$$resolve(ivyactions.scala:313) ...
i hope can explain how solve problem.
edits:
plugins.sbt
resolvers += "typesafe repository" @ "https://repo.typesafe.com/typesafe/maven-releases"
addsbtplugin("com.typesafe.play" % "sbt-plugin" % "2.5.6")
build.sbt
name := "my-first-app"
version := "1.0.0"
lazy val root = (project in file(".")).enableplugins(playscala).
build.properties
sbt.version=0.13.12
delete ~.ivy2/aopalliance directory , should work fine.
rm -rf ~.ivy2/aopalliance activator ui
Comments
Post a Comment