« Return to Thread: [scala-tools] Enforcing Scala version with Maven
Did, I forgot to notify you.On Wed, Jun 10, 2009 at 11:33, Josh Suereth <joshua.suereth@...> wrote:
Np!DavidB, want your ok before adding Heiko as a committee
Sent from my iPhoneJosh,The parameter will *not* make the build fail but only log with a leading "error" instead of a leading "warning". The Mojo should additionally throw an Exception. I did this locally and it worked. If you give me access to the repo I will patch it.Heiko2009/6/10 Josh Suereth <joshua.suereth@...joshua.suereth@...>
Yes, there is a configuration parameter to do this. Unfortunately, a lot of libraries have scala-library listed as a "provided" dependency, which does not get enforced.
I believe Heiko already sent the configuration parameter you can use.
Sent from my iPhoneFolks,Is there any way we can use Maven to enforce Scala versions such that libraries compiled with a certain version of Scala can only be used with the same version of Scala?Thanks,David
--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp
--
My blog: heikoseeberger.name
Follow me: twitter.com/hseeberger
OSGi on Scala: www.scalamodules.org
Lift, the simply functional web framework: liftweb.net
« Return to Thread: [scala-tools] Enforcing Scala version with Maven
| Free embeddable forum powered by Nabble | Forum Help |