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

Generates <executeGoal> / <executePhase> from @goal and @phase annotations, which is incorrect #16

Closed argv-minus-one closed 11 years ago

argv-minus-one commented 11 years ago

When writing a Scala mojo, if no @executeGoal or @executePhase annotation is present on the mojo, the plugin descriptor generated has <executeGoal> and <executePhase> 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.

jsuereth commented 11 years ago

Cool. thanks agian for the fix!