title: How to echo in Maven without Antrun plugin?
body: <p>How can I print to the console while executing a mvn command (in a phase/goal), but not using Maven Antrun plugin? </p>
  
  <p>Why I reject Antrun solutions:</p>
  
  <ul>
  <li>The overhead in code to print a single message is massiv.</li>
  <li>The output is no formated like maven output</li>
  <li>I cannot attach a severity to the message (e.g. DEBUG, INFO, ERROR, etc)</li>
  </ul>
  
  <p>Currently an Ant-echo looks like this (see line with "hello world"):</p>
  
  <pre><code>[INFO] --- maven-antrun-plugin:1.7:run (default) @ ejpd-alertmanager-ear ---
  [WARNING] Parameter tasks is deprecated, use target instead
  [INFO] Executing tasks
  main:
   [echo] hello world
  [INFO] Executed tasks
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD SUCCESS
  [INFO] ------------------------------------------------------------------------
  </code></pre>
  
  <p>However, I expect it to look like this (see line with "hello world").</p>
  
  <pre><code>[INFO] --- maven-antrun-plugin:1.7:run (default) @ ejpd-alertmanager-ear ---
  [WARNING] Parameter tasks is deprecated, use target instead
  [INFO] Executing tasks
  [INFO] hello world
  [INFO] Executed tasks
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD SUCCESS
  [INFO] ------------------------------------------------------------------------
  </code></pre>
  
  <p>I'm positive, I am missing something here, since I cannot be the first to raise this demand. Thank you for any smart hint.</p>