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

Support parameter inheritance #14

Closed rossabaker closed 11 years ago

rossabaker commented 11 years ago

Based on https://github.com/fusesource/mvnplugins/commit/218166deccf02b63e9bffecea3b17f5e2ae14099.

Seen in the wild in https://github.com/scalate/scalate/blob/94e67bb9e1de6aa2fc8950f289c48b2d4806e21b/maven-scalate-plugin/src/main/java/org/fusesource/scalate/maven/SiteGenMojo.scala.

Confession: I don't understand the compiler API enough yet to understand the code change, but it makes the integration test work.

I'm still chewing on the other half of the mvnplugins commit, but I think Scalate needs that, too. This is probably Part 1 of 2.

jsuereth commented 11 years ago

Cool! I'll have to re-examine how I was using the compiler here soon.