Wayne, You are right I use " mvn hotdeploy:exploded "as recommended by the MOJO creator at: http://code.google.com/p/ctpjava/wiki/MavenSeamHotdeployPluginUsage I tried your approach with mvn (groupId):maven-hotdeploy-plugin:(version):exploded it goes further into the execution but it fails complaining the configuration is not being passed to the plugin. I looked deeper in the plugin sourcecode and I see a custom lifecycle being used. I'm quite confused by now. How can I invoke the plugin custom lifecycle? Maybe that why the parameters are not being passed to the plugin ? <lifecycles> <lifecycle> <id>hotdeploy</id> <phases> <phase> <id>compile</id> <executions> <execution> <goals> <goal>compile</goal> <goal>exploded</goal> </goals> </execution> </executions> </phase> </phases> </lifecycle> </lifecycles> Guillaume
________________________________ From: Wayne Fay [mailto:[email protected]] Sent: Mon 4/6/2009 12:57 PM To: Maven Users List Subject: Re: Plugin does not exist or no valid version could be found > [INFO] Searching repository for plugin with prefix: 'hotdeploy'. > [INFO] The plugin 'org.apache.maven.plugins:maven-hotdeploy-plugin' does not > exi > st or no valid version could be found The plugin groupId Maven is looking for is org.apache.maven.plugins. The groupId of your plugin must be something different. I bet you're doing "mvn hotdeploy" and hoping it will just work. Try "mvn (groupId):maven-hotdeploy-plugin:(version):hotdeploy", assuming "hotdeploy" is the name of your Mojo. Also, you should not use the artifactId maven-*-plugin since that is reserved for official Maven plugins. Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ____________________________________________________________________________________________________ This electronic mail (including any attachments) may contain information that is privileged, confidential, and/or otherwise protected from disclosure to anyone other than its intended recipient(s). Any dissemination or use of this electronic email or its contents (including any attachments) by persons other than the intended recipient(s) is strictly prohibited. If you have received this message in error, please notify us immediately by reply email so that we may correct our internal records. Please then delete the original message (including any attachments) in its entirety. Thank you.
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
