Executing specific execution id in maven
<p>I am trying to use maven-release-plugin to publish npm packages.  For this I am using frontend-maven-plugin.  The release itself is working well using, except when the maven-release-plugin is transforming the pom.xml version to the next development iteration X.X.X-SNAPSHOT.</p>

<p>For this I want to be able to execute a specific execution id by specifying goal in mvn.</p>

<p>More specifically I am trying to run a goal from frontend-maven-plugin with a specific configuration from the <code>&lt;completionGoals&gt;</code> tag in maven-release-plugin, in order to keep the pom.xml file and package.json versions in sync after the release process.</p>

<p>In the example below I am trying to use the @ symbol to explicitly specify which execution I want to execute in the goal (the "setversion" execution) , but that does not seem to work, I get “Could not find goal 'npm@setversion'” error during the release.  I have tried to use parameters directly in the goal specification but without any success.  </p>

<p>Any ideas?</p>

<pre><code>&lt;plugins&gt;
  &lt;plugin&gt;
    &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
      &lt;artifactId&gt;maven-release-plugin&lt;/artifactId&gt;             
      &lt;configuration&gt;
        &lt;releaseProfiles&gt;gui-komponent-release&lt;/releaseProfiles&gt;
        &lt;completionGoals&gt;com.github.eirslett:frontend-maven plugin:npm@setversion&lt;/completionGoals&gt;
      &lt;/configuration&gt;              
  &lt;/plugin&gt;         
  &lt;plugin&gt;
    &lt;groupId&gt;com.github.eirslett&lt;/groupId&gt;
    &lt;artifactId&gt;frontend-maven-plugin&lt;/artifactId&gt;
    &lt;version&gt;1.2&lt;/version&gt;
    &lt;executions&gt;
      &lt;execution&gt;
        &lt;id&gt;setversion&lt;/id&gt;                     
        &lt;goals&gt;
          &lt;goal&gt;npm&lt;/goal&gt;
        &lt;/goals&gt;
        &lt;phase /&gt; 
        &lt;configuration&gt;                         
          &lt;arguments&gt;version ${project.version}&lt;/arguments&gt;
        &lt;/configuration&gt;
     &lt;/execution&gt;
   ...
</code></pre>