maven scala plugin troubles -- scalac compiler plugin

2009-07-22 Thread Nicholas Tung
Hi David and Josh, I'm having some trouble with the maven scala plugin; it doesn't seem to be setting the -Xplugin line correctly when I try to build a project [1]. The configuration passed to the maven-scala-plugin is [2]. I'm running $(mvn install -Dmaven.scala.displayCmd=true). Feel

Re: maven scala plugin troubles -- scalac compiler plugin

2009-07-22 Thread Josh Suereth
Does your scalac plugin depend on any other plugins? If you can point me towards a repository holding your scalac plugin, I can create an integration test for this use case. I'm adding it to the list of known issues. - Josh On Wed, Jul 22, 2009 at 2:43 AM, Nicholas Tung

Re: maven scala plugin troubles -- scalac compiler plugin

2009-07-22 Thread Nicholas Tung
The problem is that my scala plugin project has additional dependencies. These are added to pluginClassPath, but then you only add the first element from pluginClassPath (why the first? this seems a bit arbitrary). If you wouldn't mind fixing this (in github master), I'd appreciate it very much.

Re: maven scala plugin troubles -- scalac compiler plugin

2009-07-22 Thread Josh Suereth
Hey, I just go this email. I'll make the patch and commit shortly. Thanks for the submission! There's still some mismatch since we re-built the scala-tools.org server, so the maven-scala-plugin nightlies are not getting published. I'm going to try to resolve that shortly. - Josh On Wed, Jul

Re: maven scala plugin troubles -- scalac compiler plugin

2009-07-22 Thread Nicholas Tung
On Wed, Jul 22, 2009 at 7:00 PM, Josh Suereth joshua.suer...@gmail.comwrote: Hey, I just go this email. I'll make the patch and commit shortly. Thanks for the submission! There's still some mismatch since we re-built the scala-tools.org server, so the maven-scala-plugin nightlies are not

Re: maven scala plugin troubles -- scalac compiler plugin

2009-07-22 Thread Josh Suereth
It's used in several locations. Anyway, your fix is committed on the master. I'm working on adding support for transitive dependencies now. - Josh On Wed, Jul 22, 2009 at 10:49 PM, Nicholas Tung gatoatigr...@gmail.comwrote: On Wed, Jul 22, 2009 at 7:00 PM, Josh Suereth