paypal liftmodule availability for lift 2.6 and scala 2.11

18 views
Skip to first unread message

Andrew Bucknell

unread,
Jan 27, 2017, 7:08:00 AM1/27/17
to Lift
I have a liftweb application using the paypal module.

In my build.sbt I have the following resolvers

resolvers ++= Seq(
  "Java.net Maven2 Repository"     at "http://download.java.net/maven/2/",
  "Sonatype scala-tools repo"      at "https://oss.sonatype.org/content/groups/scala-tools/",
  "Sonatype scala-tools releases"  at "https://oss.sonatype.org/content/repositories/releases",
  "Sonatype scala-tools snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
)

and I am using the following dependency

    "net.liftmodules" %% "paypal_2.6" % "1.3-SNAPSHOT"

and my scalaVersion is 
scalaVersion := "2.11.5"

The build was working fine until recently but now I cant find the paypal_2.6_2.11;1.3-SNAPSHOT artifact on sonatype.
Has the module change version or moved?

According to https://github.com/liftmodules/paypal I am using the right version but the build isnt working.
I get an error like this
[info] Resolving net.liftmodules#paypal_2.6_2.11;1.3-SNAPSHOT ...
[warn] Unable to reparse net.liftmodules#paypal_2.6_2.11;1.3-SNAPSHOT from Sonatype scala-tools snapshots, using Mon Sep 22 10:25:59 AEST 2014
even after deleting my .ivy2 cache.

Any suggestions where to find 2.6_2.11?

Diego Medina

unread,
Jan 27, 2017, 7:51:33 AM1/27/17
to Lift
hm, the jar is there


can you try this on a fresh project using the sample from here:


and see if the error still happens?


--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code

---
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Diego Medina
Lift/Scala Consultant
di...@fmpwizard.com
https://blog.fmpwizard.com/

Andrew Bucknell

unread,
Jan 27, 2017, 8:55:29 AM1/27/17
to Lift
Thanks Diego. 
I added    
"net.liftmodules" %% "paypal_2.6" % "1.3-SNAPSHOT" % "compile", 
to the lift_blank build.sbt and it built ok. 

I'll have to figure out what it is but at least now I know the artifact is there.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Andrew Bucknell

unread,
Jan 27, 2017, 9:34:50 AM1/27/17
to Lift
I am not sure this a lift question still but can anyone tell me what causes 
[warn] Unable to reparse net.liftmodules#paypal_2.6_2.11;1.3-SNAPSHOT from Sonatype scala-tools snapshots, using Mon Sep 22 10:25:59 AEST 2014?

Diego Medina

unread,
Jan 27, 2017, 9:46:51 AM1/27/17
to Lift
what sbt version are you using? maybe try to use the same version included in the template I posted

is there any chance you have a locally published version of the jar, as described here 


?




To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Richard Dallaway

unread,
Jan 27, 2017, 9:48:49 AM1/27/17
to Lift
Aside from that I guess we should publish a non-snapshot version and one for 2.12. I'll get that sorted.

Andrew Bucknell

unread,
Jan 27, 2017, 10:15:23 AM1/27/17
to Lift
Thanks Richard - non snapshot would be awesome.
Looks like sbt version is the culprit - I'm using 0.13.12 in my project and the sample project uses 0.13.7.
Threads like this one https://github.com/scala-native/scala-native-example/issues/7 seem to suggest the warning comes with snapshots around sbt 0.13.10 - so the dependency is resolved but the warning is a bit off putting.

Richard Dallaway

unread,
Jan 28, 2017, 5:43:30 AM1/28/17
to lif...@googlegroups.com
Andrew - I’ve just published a non-snapshot release for Paypal.  Give it at least a couple of hours, but it should show up as “paypal_2.6” % “1.3” for Scala 2.10 and 2.11. https://github.com/liftmodules/paypal/releases/tag/2.6-1.3-release

I’ll hopefully get the chance to work on bumping it for Lift 3.0 and Scala 2.12. If anyone needs that urgently, feel free to say.

Richard

Andrew Bucknell

unread,
Jan 28, 2017, 7:12:28 AM1/28/17
to Lift
Thank you! Very much appreciated Richard.
Now I get the much better looking
 
[info] downloading https://repo1.maven.org/maven2/net/liftmodules/paypal_2.6_2.11/1.3/paypal_2.6_2.11-1.3.jar ...
[info] [SUCCESSFUL ] net.liftmodules#paypal_2.6_2.11;1.3!paypal_2.6_2.11.jar (4400ms)
[info] Done updating.


It looks like sbt since 0.13.10 gives a warning on snapshots but testing shows it still builds ok. 
Reply all
Reply to author
Forward
0 new messages