Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build issues #42

Open
sgireddy opened this issue Mar 25, 2014 · 6 comments
Open

build issues #42

sgireddy opened this issue Mar 25, 2014 · 6 comments

Comments

@sgireddy
Copy link

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

@sgireddy
Copy link
Author

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

@mandubian
Copy link
Owner

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 [email protected] 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
.

@loicknuchel
Copy link
Contributor

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

@mandubian
Copy link
Owner

Updated the README firstly

@loicknuchel
Copy link
Contributor

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 !

@sgireddy
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants