title: Why maven executable doesn't run?
body: <p>I have create simple project, only to launch calculator:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" 
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
   http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;groupId&gt;test.maven.executable&lt;/groupId&gt;
  &lt;artifactId&gt;exe1&lt;/artifactId&gt;
  &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
  &lt;packaging&gt;pom&lt;/packaging&gt;
  &lt;name&gt;TestExe&lt;/name&gt;
  &lt;description&gt;test execute with maven different excutables&lt;/description&gt;
  &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
              &lt;artifactId&gt;exec-maven-plugin&lt;/artifactId&gt;
              &lt;executions&gt;
                  &lt;execution&gt;&lt;!-- Run our version calculation script --&gt;
                      &lt;id&gt;Version Calculation&lt;/id&gt;
                      &lt;phase&gt;generate-sources&lt;/phase&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;exec&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;executable&gt;calc&lt;/executable&gt;
                      &lt;/configuration&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>But when I run:</p>
  
  <pre><code>mvn exec:exec
  </code></pre>
  
  <p>I receive error:</p>
  
  <pre><code>[ERROR] BUILD ERROR
  [INFO] ------------------------------------------------------------------------
  [INFO] One or more required plugin parameters are invalid/missing for 'exec:exec'
  
  [0] Inside the definition for plugin 'exec-maven-plugin' specify the following:
  
  &lt;configuration&gt;
    ...
    &lt;executable&gt;VALUE&lt;/executable&gt;
  &lt;/configuration&gt;
  
  -OR-
  
  on the command line, specify: '-Dexec.executable=VALUE'
  </code></pre>
  
  <p>But I have :</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;configuration&gt;
      &lt;executable&gt;calc&lt;/executable&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>What the VALUE must be? I thought that it is the name of executable...</p>
  
  <p>When I use -Dexec.executable=VALUE like <code>-Dexec.executable=calc</code> - it works.
  Also another problem - 
  in docs about plugin: </p>
  
  <pre><code>exec:exec execute programs and Java programs in a separate process. 
  </code></pre>
  
  <p>But when I run with -Dexec.executable=calc - maven wait when I close calculator! Where there separate process?</p>