Hello,

I want to bind a custom plugin goal to a phase in the
maven-release-plugin's lifecycle, but when I attempt to do so, the
binding appears to be ignored:

  <build>
    <plugins>
      <plugin>
        <groupId>my.group</groupId>
        <artifactId>my-maven-plugin</artifactId>
        <executions>
          <execution>
            <phase>scm-commit-release</phase>
            <goals><goal>my-goal</goal></goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

In the above example, I'm attempting to bind to the "scm-commit-release"
phase, which I see defined in maven-release-plugin's components
descriptor [1].  But when I run "mvn release:prepare",
my-maven-plugin:my-goal is not invoked.

Is this not possible?  I'm using Maven v2.0.6 with maven-release-plugin
v1.0-alpha-1.

Thanks,
Steve Rowe

[1]
<http://svn.apache.org/viewvc/maven/release/tags/maven-release-manager-1.0-alpha-1/src/main/resources/META-INF/plexus/components.xml?revision=528665&view=markup>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to