ok, it what I thought :-)

SCM providers don't know anythink about maven and goals. It's the role of scm 
plugin.

SCM providers implements SCM commands and scm plugin use them with Maven-SCM 
APIs.

Emmanuel

Sharma, Jaikumar a écrit :
Emmanuel, As per the documentation on http://maven.apache.org/guides/plugin/guide-java-plugin-development.html . A simple Mojo needs to have a '@goal', well I mentioned 'goals' -- mentioned term in a general way. Please see below some snippet from the above mentioned web link.

Well, I think I have not hurt you ;-)

Rgds, Jaikumar

-----------------------------------------------------------------
package sample.plugin;

import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;

/**
 * @goal sayhi
 * @description Says "Hi" to the user
 */
public class GreetingMojo extends AbstractMojo
{
    public void execute() throws MojoExecutionException
    {
        getLog().info("Hello, world.");
    }
}

-----------------------------------------------------------------

-----Original Message-----
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Monday, May 29, 2006 1:14 PM
To: scm-dev@maven.apache.org
Subject: Re: M2 : How to implement goals in SCM provider implementation ?


what do you mean by goals?

Emmanuel

Sharma, Jaikumar a écrit :
 > I am working on SCM provider implementation for MKS. Could somebody
 > throw some lights on goals implementation for SCM provider. I had a look
 > on SCM provider implementation for VSS, but could not find the goals
 > definition in any of the classes ?
> > Thanks! > > Jaikumar


Reply via email to