jsuereth/scala-mojo-support — pull request #16 by argv-minus-one (2013-04-02 05:52:22+00:00)
Title: Generates <executeGoal> / <executePhase> from @goal and @phase annotations, which is incorrect

When writing a Scala mojo, if no `@executeGoal` or `@executePhase` annotation is present on the mojo, the plugin descriptor generated has `` and `` elements anyway, taken from the `@goal` and `@phase` annotations. This is wrong; those elements should be generated from `@executeGoal` and `@executePhase` annotations only.

This change fixes it.