public class EchoProvider extends AbstractMetaDataProvider {
/**
* The string to echo.
*/
private String echo;
/**
* The number of times to echo the string.
*/
private int times;
/**
* {@inheritDoc}
*
* @see de.smartics.maven.plugin.buildmetadata.data.MetaDataProvider#provideBuildMetaData(java.util.Properties)
*/
public void provideBuildMetaData(final Properties buildMetaDataProperties)
throws MojoExecutionException {
if (times > 0) {
for (int i = 0; i < times; i++) {
System.out.println(echo);
}
}
}
}