Note that there are some explanatory texts on larger screens.

plurals
  1. POUNRESOLVED DEPENDENCIES installing Deadbolt on Play Framework 2.2.1
    primarykey
    data
    text
    <p>I'd like to try Deadbolt. What are the steps to install it on the new Play Framework 2.2.1? What I found is <strong>resolvers</strong> and <strong>dependencies</strong> <a href="http://schaloner.github.io/">here</a>. But where I have to put the resolvers? I don't want to use <code>Build.scala</code> (in Play 2.2 there's <code>build.sbt</code>)</p> <p>And <a href="https://groups.google.com/forum/#!searchin/play-framework/2.2%2420deadbolt/play-framework/hgZve85NyyI/0qPhPYnHOGgJ">here</a> is a line about <strong>plugin</strong>. Where it goes? In my project there isn't <code>plugins.sbt</code> and don't know if Play 2.2 prefers to put it elsewhere.</p> <p><strong>EDIT</strong>: </p> <p><strong>plugin.sbt</strong></p> <pre><code>resolvers ++= Seq( "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/", Resolver.url("Objectify Play Repository", url("http://schaloner.github.io/releases/"))(Resolver.ivyStylePatterns), Resolver.url("Objectify Play Snapshot Repository", url("http://schaloner.github.io/snapshots/"))(Resolver.ivyStylePatterns) ) </code></pre> <p><strong>build.sbt</strong></p> <pre><code> libraryDependencies ++= Seq( javaJdbc, javaEbean, cache, "mysql" % "mysql-connector-java" % "5.1.27", "org.apache.commons" % "commons-email" % "1.3.1", "be.objectify" %% "deadbolt-java" % "2.2-RC2" ) </code></pre> <p><strong>Play console errors:</strong></p> <pre><code>[info] Resolving org.hibernate.javax.persistence#hibernate-jpa-2.0-api;1.0.1.Fin[info] Resolving be.objectify#deadbolt-java_2.10;2.2-RC2 ... [warn] module not found: be.objectify#deadbolt-java_2.10;2.2-RC2 [warn] ==== local: tried [warn] /Users/johndoe/Applications/play-2.2.1/repository/local/be.objectify/deadbolt-java_2.10/2.2-RC2/ivys/ivy.xml [warn] ==== Maven2 Local: tried [warn] file:/Users/johndoe/.m2/repository/be/objectify/deadbolt-java_2.10/2.2-RC2/deadbolt-java_2.10-2.2-RC2.pom [warn] ==== public: tried [warn] http://repo1.maven.org/maven2/be/objectify/deadbolt-java_2.10/2.2-RC2/deadbolt-java_2.10-2.2-RC2.pom [warn] ==== Typesafe Releases Repository: tried [warn] http://repo.typesafe.com/typesafe/releases/be/objectify/deadbolt-java_2.10/2.2-RC2/deadbolt-java_2.10-2.2-RC2.pom [info] Resolving org.fusesource.jansi#jansi;1.4 ... [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED DEPENDENCIES :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: be.objectify#deadbolt-java_2.10;2.2-RC2: not found [warn] :::::::::::::::::::::::::::::::::::::::::::::: [trace] Stack trace suppressed: run last *:update for the full output. [error] (*:update) sbt.ResolveException: unresolved dependency: be.objectify#deadbolt-java_2.10;2.2-RC2: not found [error] Total time: 3 s, completed 12-n </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload