How can I display a message in Maven?
In ant, we do have \"echo\" to display a message, but in maven, how can I do that?
You can use Björn Ekryd's Echo Maven Plugin, which is published in Maven Central:
com.github.ekryd.echo-maven-plugin
echo-maven-plugin
1.2.0
package
echo
war has changed
[INFO] --- maven-war-plugin:2.4:war (default-war) @ mymodule ---
[INFO] Packaging webapp
[INFO] Processing war project
[INFO]
[INFO] --- echo-maven-plugin:1.2.0:echo (default) @ mymodule ---
[INFO] war has changed
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
Also, this plugin has 95% code coverage, which is pretty cool.