jsuereth / scala-mojo-support

Helper to create maven mojo projects in the Scala languages
BSD 3-Clause "New" or "Revised" License
20 stars 10 forks source link

Branch Maven 3.0 -> Handle primitive types in ReflectionUtil #9

Closed dasbh closed 12 years ago

dasbh commented 12 years ago

Hi Josh, I'm developing a maven plugin for scalastyle in scala using scala-mojo-support. And I wanted add boolean configuration parameter called verbose. However currently mojo does not handle primitive parameters. Throws Can not coerce: java.lang.Boolean into a boolean I'have fixed ReflectionUtil of mojo to handle boxed primitive types. Could you please pull these changes into maven-3.0 branch.

Regards Das

jsuereth commented 12 years ago

looks great! thanks much. I'll try to push a snapshot build in a day or two, before scaladays.

jsuereth commented 12 years ago

As a side note, I think the master branch has a few updates and is targetting maven-3.0 now too. I need to kill the maven-3.0 branch after I get everything merged together. I'll try to do cleanup after ScalaDays when I have some free time.

dasbh commented 12 years ago

Thanks Josh!! Much appreciated.