Hello, You don't have to bind it to a phase when you call it in the commandline. The pom fragment doesn't look wrong at all. There must be something wrong in the code itself.
Cheers, Nap On 6/28/06, Russell, Mark <[EMAIL PROTECTED]> wrote:
I have a plugin that I will generally call directly from the commandline (though I don't want to preclude putting it in the lifecycle). Currently this plugin is configured inside a pom project (ie the project itself uses pom for the packaging) When I invoke the plugin from the commandline it seems to be executing 3 times. The configuration from the pom.xml: <build> <plugins> <plugin> <groupId>com.comverse.mvn.plugins</groupId> <artifactId>my-maven-plugin</artifactId> <configuration> <hostName>some.host.com</hostName> <userId>${userId}</userId> <password>${password}</password> </configuration> </plugin> </plugins> </build> Any idea on why this executes three times? Do I have to bind it to a specific phase even though I'm only calling it on the commandline? Mark Russell