mandubian / play-autosource

Play Autosource : 1mn REST/Crud/Async/Typesafe Datasource for Play Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build issues

sgireddy opened this issue · comments

Is it still active or merged somewhere else? Mondubian repositories are not accessible anymore. Publish to local wont work either, slick version won't even compile for 2.0. could you please update?

[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: play-autosource#reactivemongo_2.10;2.0-SNAPSHOT: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[trace] Stack trace suppressed: run last *:update for the full output.
error sbt.ResolveException: unresolved dependency: play-autosource#reactivemongo_2.10;2.0-SNAPSHOT: not fou
nd
[error] Total time: 15 s, completed Mar 24, 2014 10:23:32 PM

was able to fix by publishing to local. So not a major issue but would like to see online repo working.

actually now it's 2.0 and not 2.0-SNAPSHOT as far as I remember!
I should update my articles sometimes :D

On Tue, Mar 25, 2014 at 7:14 AM, sgireddy notifications@github.com wrote:

was able to fix by publishing to local. So not a major issue but would
like to see online repo working.

Reply to this email directly or view it on GitHubhttps://github.com//issues/42#issuecomment-38533962
.

At least the README.md... :-(

Updated the README firstly

Thanks very much for your reactivity !!!
I really appreciate !

I tried to follow your tutorial but I've got some trouble. It seems that your maven packaging goes wrong...
(I'm using : play! 2.1.1 using Java 1.7.0_45 and Scala 2.10.0)

When I build application I get :

[info] Updating {file:/home/loic/workspace/projets/retail-scan/playApp/}playApp...
[error] Server access Error: handshake alert:  unrecognized_name url=https://github.com/mandubian/mandubian-mvn/raw/master/snapshots/play-autosource/reactivemongo_2.10/2.0-SNAPSHOT/maven-metadata.xml
[error] Server access Error: handshake alert:  unrecognized_name url=https://github.com/mandubian/mandubian-mvn/raw/master/snapshots/play-autosource/reactivemongo_2.10/2.0-SNAPSHOT/reactivemongo_2.10-2.0-SNAPSHOT.pom
[error] Server access Error: handshake alert:  unrecognized_name url=https://github.com/mandubian/mandubian-mvn/raw/master/releases/play-autosource/reactivemongo_2.10/2.0-SNAPSHOT/maven-metadata.xml
[error] Server access Error: handshake alert:  unrecognized_name url=https://github.com/mandubian/mandubian-mvn/raw/master/releases/play-autosource/reactivemongo_2.10/2.0-SNAPSHOT/reactivemongo_2.10-2.0-SNAPSHOT.pom
[warn]  module not found: play-autosource#reactivemongo_2.10;2.0-SNAPSHOT
[warn] ==== local: tried
[warn]   /home/loic/servers/play-2.1.1/repository/local/play-autosource/reactivemongo_2.10/2.0-SNAPSHOT/ivys/ivy.xml
[warn] ==== Typesafe Releases Repository: tried
[warn]   http://repo.typesafe.com/typesafe/releases/play-autosource/reactivemongo_2.10/2.0-SNAPSHOT/reactivemongo_2.10-2.0-SNAPSHOT.pom
[warn] ==== Typesafe Snapshots Repository: tried
[warn]   http://repo.typesafe.com/typesafe/snapshots/play-autosource/reactivemongo_2.10/2.0-SNAPSHOT/reactivemongo_2.10-2.0-SNAPSHOT.pom
[warn] ==== Mandubian repository snapshots: tried
[warn]   https://github.com/mandubian/mandubian-mvn/raw/master/snapshots/play-autosource/reactivemongo_2.10/2.0-SNAPSHOT/reactivemongo_2.10-2.0-SNAPSHOT.pom
[warn] ==== Mandubian repository releases: tried
[warn]   https://github.com/mandubian/mandubian-mvn/raw/master/releases/play-autosource/reactivemongo_2.10/2.0-SNAPSHOT/reactivemongo_2.10-2.0-SNAPSHOT.pom
[warn] ==== public: tried
[warn]   http://repo1.maven.org/maven2/play-autosource/reactivemongo_2.10/2.0-SNAPSHOT/reactivemongo_2.10-2.0-SNAPSHOT.pom
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::                       
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: play-autosource#reactivemongo_2.10;2.0-SNAPSHOT: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[error] (*:update) sbt.ResolveException: unresolved dependency: play-autosource#reactivemongo_2.10;2.0-SNAPSHOT: not found

If I change https to http I get :

[info] Updating {file:/home/loic/workspace/projets/retail-scan/playApp/}playApp...
[warn]  module not found: play-autosource#reactivemongo_2.10;2.0-SNAPSHOT   
[warn] ==== local: tried
[warn]   /home/loic/servers/play-2.1.1/repository/local/play-autosource/reactivemongo_2.10/2.0-SNAPSHOT/ivys/ivy.xml
[warn] ==== Typesafe Releases Repository: tried
[warn]   http://repo.typesafe.com/typesafe/releases/play-autosource/reactivemongo_2.10/2.0-SNAPSHOT/reactivemongo_2.10-2.0-SNAPSHOT.pom
[warn] ==== Typesafe Snapshots Repository: tried
[warn]   http://repo.typesafe.com/typesafe/snapshots/play-autosource/reactivemongo_2.10/2.0-SNAPSHOT/reactivemongo_2.10-2.0-SNAPSHOT.pom
[warn] ==== Mandubian repository snapshots: tried
[warn]   http://github.com/mandubian/mandubian-mvn/raw/master/snapshots/play-autosource/reactivemongo_2.10/2.0-SNAPSHOT/reactivemongo_2.10-2.0-SNAPSHOT.pom
[warn] ==== Mandubian repository releases: tried
[warn]   http://github.com/mandubian/mandubian-mvn/raw/master/releases/play-autosource/reactivemongo_2.10/2.0-SNAPSHOT/reactivemongo_2.10-2.0-SNAPSHOT.pom
[warn] ==== public: tried
[warn]   http://repo1.maven.org/maven2/play-autosource/reactivemongo_2.10/2.0-SNAPSHOT/reactivemongo_2.10-2.0-SNAPSHOT.pom
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::                       
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: play-autosource#reactivemongo_2.10;2.0-SNAPSHOT: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[error] (*:update) sbt.ResolveException: unresolved dependency: play-autosource#reactivemongo_2.10;2.0-SNAPSHOT: not found

Any idea on what is the problem ?
Thanks !

I had the same issue, try to setup your local ivy repository by cloning all dependencies (in my case, reactivemongo, play-reactivemongo and play-autosource. Clone each of them, compile then publish-local.

if you are using unix like system, then your local repo looks like this:

val ivyLocal = Seq(
Resolver.file("local Ivy", file(Path.userHome.absolutePath + "/.ivy2/local"))(Resolver.ivyStylePatterns)
)

for windows:
val ivyLocal = Seq(
Resolver.url("local Ivy", url("file://machinename/c$/Users/username/.ivy2/local"))(Resolver.ivyStylePatterns)
)

Then append to your resolves:
resolvers ++= mandubianMavenRepo ++ typesafeRepo ++ sonatypeRepo ++ ivyLocal

NOTE: I am still a beginner, it just works may not be the best approach.