title: Maven exec plugin not running
body: <p>I am trying to executing a powershell script that writes to a file during a maven build. </p>
  
  <p>I am invoking the build with <code>mvn clean install</code> through Eclipse IDE.</p>
  
  <p>This is the plugin in my pom.xml:</p>
  
  <pre><code>        &lt;plugin&gt;
              &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
              &lt;artifactId&gt;exec-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;1.6.0&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;exec&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
              &lt;configuration&gt;
                  &lt;executable&gt;${project.basedir}/.my-file.ps1&lt;/executable&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  </code></pre>
  
  <p>The powershell script is a hidden file so that's why I have a <code>.</code> in front of the file name.</p>
  
  <p>However, the plugin is not executing and I am following the instructions in the official <a href="http://www.mojohaus.org/exec-maven-plugin/usage.html" rel="nofollow noreferrer">documentation</a>.</p>