Slawomir Jaranowski opened MPLUGIN-419 and commented
We needn't filed for Mojo parameters.
When setters method exist it is called first by Maven.
We can declare Mojo as:
@Mojo( name = "my-mojo" )
public class MyMojo extends AbstractMojo
{
@Parameter
private String param;
public void execute()
{
}
}
In some case will be useful to have possibility to declare as:
@Mojo( name = "my-mojo" )
public class MyMojo extends AbstractMojo
{
@Parameter
public void setParam(String param)
{
// do something with param
}
public void execute()
{
}
}
eg, useful:
- normalization
- validation
- split one input value to more items, the same or other type
Issue Links:
- MPLUGIN-438 Parameter description should be taken from annotated item
Remote Links:
Slawomir Jaranowski opened MPLUGIN-419 and commented
We needn't filed for Mojo parameters.
When setters method exist it is called first by Maven.
We can declare Mojo as:
In some case will be useful to have possibility to declare as:
eg, useful:
Issue Links:
Remote Links: