Code Monkey home page Code Monkey logo

Comments (9)

vanbeast avatar vanbeast commented on May 9, 2024

I have the same issue.

from play2-crud.

hakandilek avatar hakandilek commented on May 9, 2024

I've published the 0.7.4-snapshot version to the maven repository. Can you please check if it works now?

from play2-crud.

depakk avatar depakk commented on May 9, 2024

Seems to be working. Thank you very much! I had another question about your repo which I have emailed you. Please let me know

from play2-crud.

jskye avatar jskye commented on May 9, 2024

unresolved dependency: play2-crud#play2-crud_2.10;0.7.4-SNAPSHOT: not found

from play2-crud.

hakandilek avatar hakandilek commented on May 9, 2024

@jskye, 2.10 dependency does not seem right to me.

Please check out this sample Build.scala file.

from play2-crud.

jskye avatar jskye commented on May 9, 2024

my project uses build.sbt

name := """BatJam FlightPub"""

version := "1.0-SNAPSHOT"

libraryDependencies ++= Seq(
    // Select Play modules
    jdbc,                   // The JDBC connection pool and the play.api.db API
    //anorm,            // Scala RDBMS Library
    //javaJdbc,     // Java database API
    javaEbean,      // Java Ebean plugin
    //javaJpa,      // Java JPA plugin
    //filters,      // A set of built-in filters
    javaCore,           // The core Java API
    // WebJars pull in client-side web libraries
    "org.webjars" %% "webjars-play" % "2.2.1-2",
    "org.webjars" % "bootstrap" % "3.1.1-1",
    "mysql" % "mysql-connector-java" % "5.1.26",
//  "play2-crud" % "play2-crud_2.10" % "0.7.0"
  "play2-crud" %% "play2-crud" % "0.7.4-SNAPSHOT",
  "play2-crud" %% "play2-crud" % "0.7.4-SNAPSHOT" classifier "assets"
  // Add your own project dependencies in the form:
    // "group" % "artifact" % "version"
)

play.Project.playJavaSettings
//lazy val root = (project in file(".")).enablePlugins(PlayJava)

//maven repositories for CRUD admin panel
//resolvers += Resolver.url("release repository", url("http://hakandilek.github.com/maven-repo/releases/"))(Resolver.ivyStylePatterns)
//
//resolvers += Resolver.url("snapshot repository", url("http://hakandilek.github.com/maven-repo/snapshots/"))(Resolver.ivyStylePatterns)
resolvers += "release repository" at "http://hakandilek.github.com/maven-repo/releases/"

resolvers += "snapshot repository" at "http://hakandilek.github.com/maven-repo/snapshots/"
[BatJam FlightPub] $ update
[info] Updating {file:/Users/juliusskye/Desktop/SENG3160%20FPTest/flightpub/}flightpub...
[info] Resolving play2-crud#play2-crud_2.10;0.7.4-SNAPSHOT ...                        
[warn]  module not found: play2-crud#play2-crud_2.10;0.7.4-SNAPSHOT
[warn] ==== local: tried
[warn]   /Users/juliusskye/.ivy2/local/play2-crud/play2-crud_2.10/0.7.4-SNAPSHOT/ivys/ivy.xml
[warn] ==== activator-local: tried
[warn]   file:/Users/juliusskye/.activator/repository/play2-crud/play2-crud_2.10/0.7.4-SNAPSHOT/ivys/ivy.xml
[warn] ==== public: tried
[warn]   http://repo1.maven.org/maven2/play2-crud/play2-crud_2.10/0.7.4-SNAPSHOT/play2-crud_2.10-0.7.4-SNAPSHOT.pom
[warn] ==== typesafe-releases: tried
[warn]   http://repo.typesafe.com/typesafe/releases/play2-crud/play2-crud_2.10/0.7.4-SNAPSHOT/play2-crud_2.10-0.7.4-SNAPSHOT.pom
[warn] ==== typesafe-ivy-releasez: tried
[warn]   http://repo.typesafe.com/typesafe/ivy-releases/play2-crud/play2-crud_2.10/0.7.4-SNAPSHOT/ivys/ivy.xml
[warn] ==== Typesafe Releases Repository: tried
[warn]   http://repo.typesafe.com/typesafe/releases/play2-crud/play2-crud_2.10/0.7.4-SNAPSHOT/play2-crud_2.10-0.7.4-SNAPSHOT.pom
[warn] ==== release repository: tried
[warn]   http://hakandilek.github.com/maven-repo/releases/play2-crud/play2-crud_2.10/0.7.4-SNAPSHOT/play2-crud_2.10-0.7.4-SNAPSHOT.pom
[warn] ==== snapshot repository: tried
[warn]   http://hakandilek.github.com/maven-repo/snapshots/play2-crud/play2-crud_2.10/0.7.4-SNAPSHOT/play2-crud_2.10-0.7.4-SNAPSHOT.pom
[info] Resolving org.fusesource.jansi#jansi;1.4 ...                         
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: play2-crud#play2-crud_2.10;0.7.4-SNAPSHOT: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: play2-crud#play2-crud_2.10;0.7.4-SNAPSHOT: not found

from play2-crud.

hakandilek avatar hakandilek commented on May 9, 2024

I see probably your scalaVersion is still 2.10. Please update it accordingly.

from play2-crud.

jskye avatar jskye commented on May 9, 2024

added scalaVersion := "2.11" to build.sbt still no luck

from play2-crud.

hakandilek avatar hakandilek commented on May 9, 2024

Please check out the provided examples. A simple Build.scala file might do the trick.

from play2-crud.

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.