maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "S. Ali Tokmen" <>
Subject Maven2/Maven3 plugin development: Ensuring only the available parameters are allowed
Date Tue, 07 Jan 2014 18:38:17 GMT
Dear Maven users

I am one of the owners of Codehaus CARGO, which has a Maven2/Maven3
plugin; and would have a question with regards to how parameters are

We defined our MOJOs with parameters (you can see
for example), but what happens is that if a user unwillingly puts a
parameter in the wrong place then the plugin execution doesn't stop.

As an example, I can write the below POM and build still works (even
thought the MOJO has no parameter called "foo"):


Is there any way I can instruct by MOJO to fail if there is an unknown

Please advise

Thank you


S. Ali Tokmen

My IM, GSM, PGP and other contact details
are on

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message