How can I print to the console while executing a mvn command (in a phase/goal), but not using Maven Antrun plugin?
Why I reject Antrun solutions:
You can use Groovy Maven Plugin for this.
org.codehaus.gmaven groovy-maven-plugin 2.0 validate execute log.info('Test message: {}', 'Hello, World!')
The configuration above will produce the following output:
[INFO] Test message: Hello, World!