« Return to Thread: [scala-tools] Enforcing Scala version with Maven

Re: [scala-tools] Enforcing Scala version with Maven

by Josh Suereth :: Rate this Message:

Reply to Author | View in Thread

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 iPhone

On Jun 9, 2009, at 1:50 PM, David Pollak <feeder.of.the.bears@...> wrote:

Folks,

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

 « Return to Thread: [scala-tools] Enforcing Scala version with Maven