Reputation: 270
While executing a phase everything works as expected, when I try to call a plugin (mojo) directly like
mvn net.masterthought:maven-cucumber-reporting:5.5.0:generate
Maven seems to ignore <configuration></configuration>
block of the plugin specified in pom.xml
. And if a parameter of the plugin is required, Maven obviously fails as it thinks it is not set (did you try to look at your pom.xml
, dear Maven?). Is this by designed or I misunderstand something?
Upvotes: 1
Views: 146
Reputation: 35843
I guess you have put the <configuration>
into an <execution>
block.
If this is the case, move it out of <executions>
.
Upvotes: 1