Re: RE: M2 : How to implement goals in SCM provider implementation ?

2006-06-05 Thread Emmanuel Venisse
to:[EMAIL PROTECTED]
Sent: Monday, June 05, 2006 3:32 PM
To: scm-dev@maven.apache.org
Subject: Re: M2 : How to implement goals in SCM provider implementation
?


 >
 > Do you have some errors when you run the scm plugin?
 > <<  Do you mean, if I have the correct / running version of scm plugin
 > is installed ? if yes, then yes, I can see al the gols listed in that
using
 >
 >   command : mvn help:describe -DgroupId=org.apache.maven.plugins
 > -DartifactId=maven-scm-plugin -Dfull=true >>>

I meant when you run scm:validate with the mks provider.

 >
 > Why do you add a main method in MksScmProvider?
 > <<< It had been add to test the results of scmURL, this has to be
 > removed >>>

It would be better to implement junit tests so you'll can check the test
coverage.

 >
 > Thanks for your help!

No Problem

Emmanuel





RE: M2 : How to implement goals in SCM provider implementation ?

2006-06-05 Thread Sharma, Jaikumar
Title: RE: M2 : How to implement goals in SCM provider implementation ?





I run mvn scm:validate in the folder where the test pom is located, it
gave me the following, or I had to run different command line ?


D:\Plugin_Tests>mvn scm:validate
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'scm'.
[INFO]


[INFO] Building Unnamed - com.mycompany.testplugin:testmksplugin:jar:1.0
[INFO]    task-segment: [scm:validate] (aggregator-style)
[INFO]


[INFO] Preparing scm:validate
[INFO] No goals needed for project - skipping
Downloading:
file:C:\Lang\maven-2.0.4/Repository/org/apache/maven/scm/maven-scm-p
rovider-local/1.0-beta-3/maven-scm-provider-local-1.0-beta-3.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading:
file:C:\Lang\maven-2.0.4/Repository/org/apache/maven/scm/maven-scm-p
rovider-bazaar/1.0-beta-3/maven-scm-provider-bazaar-1.0-beta-3.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[WARNING]
    Artifact org.codehaus.plexus:plexus-utils:jar:1.1:runtime
retains local scope 'runtime' overriding broader scope 'compile'
    given by a dependency. If this is not intended, modify or remove
the local scope.


Downloading:
file:C:\Lang\maven-2.0.4/Repository/org/apache/maven/scm/maven-scm-p
rovider-bazaar/1.0-beta-3/maven-scm-provider-bazaar-1.0-beta-3.jar
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading:
file:C:\Lang\maven-2.0.4/Repository/org/apache/maven/scm/maven-scm-p
rovider-vss/1.0-beta-3/maven-scm-provider-vss-1.0-beta-3.jar
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading:
file:C:\Lang\maven-2.0.4/Repository/org/apache/maven/scm/maven-scm-p
rovider-local/1.0-beta-3/maven-scm-provider-local-1.0-beta-3.jar
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.


Missing:
--
1) org.apache.maven.scm:maven-scm-provider-bazaar:jar:1.0-beta-3


  Try downloading the file manually from the project website.


  Then, install it using the command:
  mvn install:install-file -DgroupId=org.apache.maven.scm
-DartifactId=maven-scm-provider-bazaar \
  -Dversion=1.0-beta-3 -Dpackaging=jar -Dfile=/path/to/file


  Path to dependency:
    1)
org.apache.maven.plugins:maven-scm-plugin:maven-plugin:1.0-beta-3
    2) org.apache.maven.scm:maven-scm-provider-bazaar:jar:1.0-beta-3


2) org.apache.maven.scm:maven-scm-provider-vss:jar:1.0-beta-3


  Try downloading the file manually from the project website.


  Then, install it using the command:
  mvn install:install-file -DgroupId=org.apache.maven.scm
-DartifactId=maven-scm-provider-vss \
  -Dversion=1.0-beta-3 -Dpackaging=jar -Dfile=/path/to/file


  Path to dependency:
    1)
org.apache.maven.plugins:maven-scm-plugin:maven-plugin:1.0-beta-3
    2) org.apache.maven.scm:maven-scm-provider-vss:jar:1.0-beta-3


3) org.apache.maven.scm:maven-scm-provider-local:jar:1.0-beta-3


  Try downloading the file manually from the project website.


  Then, install it using the command:
  mvn install:install-file -DgroupId=org.apache.maven.scm
-DartifactId=maven-scm-provider-local \
  -Dversion=1.0-beta-3 -Dpackaging=jar -Dfile=/path/to/file


  Path to dependency:
    1)
org.apache.maven.plugins:maven-scm-plugin:maven-plugin:1.0-beta-3
    2) org.apache.maven.scm:maven-scm-provider-local:jar:1.0-beta-3


--
3 required artifacts are missing.


for artifact:
  org.apache.maven.plugins:maven-scm-plugin:maven-plugin:1.0-beta-3


from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://svn.apache.org/maven-snapshot-repository)



[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 2 seconds
[INFO] Finished at: Mon Jun 05 15:40:05 GMT+05:30 2006
[INFO] Final Memory: 3M/6M
[INFO]





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



> 
> Do you have some errors when you run the scm plugin?
> <<  Do you mean, if I have the correct / runni

Re: M2 : How to implement goals in SCM provider implementation ?

2006-06-05 Thread Emmanuel Venisse


Do you have some errors when you run the scm plugin?
<<  Do you mean, if I have the correct / running version of scm plugin 
is installed ? if yes, then yes, I can see al the gols listed in that using


  command : mvn help:describe -DgroupId=org.apache.maven.plugins 
-DartifactId=maven-scm-plugin -Dfull=true >>>


I meant when you run scm:validate with the mks provider.



Why do you add a main method in MksScmProvider?
<<< It had been add to test the results of scmURL, this has to be 
removed >>>


It would be better to implement junit tests so you'll can check the test 
coverage.



Thanks for your help!


No Problem

Emmanuel



Re: M2 : How to implement goals in SCM provider implementation ?

2006-06-05 Thread Emmanuel Venisse
It depends of your log implementation. How do you use them? Do you use scm logger like in other 
providers?


When you execute scm-api with a mojo like the scm plugin, the log level used is INFO and if you use 
-X maven parameter, it will be DEBUG.


Emmanuel

Jaikumar Sharma a écrit :

Emmanuel,
 
As you mentioned, pom corrected, but there is no breakthrough, not 
getting any test result for the tag   mentioend below in the 
test pom.
 
1. Can I get some Info or type of log message while testing (which I 
specify in MksScmProvider class in the main implementation class) ?
2. My basic objective is just to get log type of message first, just to 
get an idea whether the implementation class is executed during my test.
 
Please suggest !
 
Regards,
 
 
 
 
Sharma, Jaikumar a écrit :
 


Thanks Emmanuel, pom.xml is corrected, but at the first hand I would
like to know the following to get the better idea of the sequence of
execution from the entry point of the plugin :

1.components.xml contains the entry point of the pluing ? If yes, in
my case main entry point mentioned is components.xml is MksScmProvider. 

It's the entry point of the provider. Maven-SCM find the provider to use 
with the second token in the connection url that must be the role-hint 
of one of the providers.



  


org.apache.maven.scm.provider.ScmProvider

  mks


org.apache.maven.scm.provider.mks.MksScmProvider



  


so, in my view, this class is executed and chanin of methods also as
called from this only ? So, in my case it is not responding any
error or something irrspective of whatever I specify in :

   
 scm:mks:"[EMAIL [EMAIL PROTECTED]"
 

Something else can be checked ? As I can see in case of other
provider implementations xpp3 (xml pull parser ? Do I have to tweak
or change something in this too ? 

If you don't have general settings that can be used by all scm 
connection, you don't need to create a provider settings loaded by xpp3, 
depends on the provider usage. A sample of parameter that can be general 
for the cvs provider is the compression level to use for all commands.


Emmanuel


Jaikumar

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Friday, June 02, 2006 11:00 AM
To: scm-dev@maven.apache.org <mailto:scm-dev@maven.apache.org>
Subject: Re: M2 : How to implement goals in SCM provider implementation ?


Your pom is totally wrong. It must be:



 4.0.0
 com.mycompany.mytestscm
 testmksplugin
 1.0

 
 scm:mks:"[EMAIL [EMAIL PROTECTED]"
 

 

 
  
 org.apache.maven.scm
 maven-scm-plugin
 1.0-beta-3
 

   org.apache.maven.scm
   maven-mks-provider

1.0 

 
  
 

 





Sharma, Jaikumar a écrit :
 > Hi Emmanuel, I am using the following pom.xml to connect to
 > Mks-Provider :
 >
 > 
 >
 > 4.0.0

 > com.mycompany.mytestscm >
testmksplugin

 > 1.0

 > > > 

 >  
 > org.apache.maven.scm
 > maven-scm-plugin
 > 1.0-beta-3

 >  > > 

 >

 >  > > 

 >  
 > org.apache.maven.scm
 > maven-mks-provider
 > 1.0
 >
 >  

 > > scm:mks:"[EMAIL [EMAIL PROTECTED]"

 >  
 >

 >  >  > >  > > 

 >
 > -Original Message-
 > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
 > Sent: Thursday, June 01, 2006 7:49 PM
 > To: scm-dev@maven.apache.org <mailto:scm-dev@maven.apache.org>
 > Subject: Re: M2 : How to implement goals in SCM provider
 > implementation ?
 >
 >
 > What is  ? Where do you put it?
 >
 > Can you provide a sample scm url for mks? I guess
 > scm:mks:"[EMAIL PROTECTED]" isn't one, right? If it is, I'm not sure

 > it's correct because you don't have info about path to the
project on a MKS

 >
 > Server or locally or something else, Note that I don't know how mks
 > works and 

Re: M2 : How to implement goals in SCM provider implementation ?

2006-06-05 Thread Emmanuel Venisse

No it isn't necessary. They are added when new providers are added in svn.

Emmanuel

Sharma, Jaikumar a écrit :
Is it necessary that a any new SCM provider should be registered in 
maven-scm-providers list first before compilation / test of the new 
implementation ?
 
Regards.
 
-Original Message-

*From:* Sharma, Jaikumar
*Sent:* Monday, June 05, 2006 12:17 PM
*To:* scm-dev@maven.apache.org
*Subject:* M2 : How to implement goals in SCM provider implementation ?

Emmanuel,
 
As you mentioned, pom corrected, but there is no breakthrough, not

getting any test result for the tag   mentioend below in
the test pom.
 
 How can I know, my main implementation class is instantiated ? 
 
Please suggest !
 
Regards,
 
 
Sharma, Jaikumar a écrit :
 


Thanks Emmanuel, pom.xml is corrected, but at the first hand I
would like to know the following to get the better idea of the
sequence of execution from the entry point of the plugin :

1.components.xml contains the entry point of the pluing ? If
yes, in my case main entry point mentioned is components.xml is
MksScmProvider. 


It's the entry point of the provider. Maven-SCM find the provider to
use with the second token in the connection url that must be the
role-hint of one of the providers.


  


org.apache.maven.scm.provider.ScmProvider

  mks


org.apache.maven.scm.provider.mks.MksScmProvider



  


so, in my view, this class is executed and chanin of methods
also as called from this only ? So, in my case it is not
responding any error or something irrspective of whatever I
specify in :

   
 scm:mks:"[EMAIL [EMAIL PROTECTED]"
 

Something else can be checked ? As I can see in case of other
provider implementations xpp3 (xml pull parser ? Do I have to
tweak or change something in this too ? 


If you don't have general settings that can be used by all scm
connection, you don't need to create a provider settings loaded by
xpp3, depends on the provider usage. A sample of parameter that can
be general for the cvs provider is the compression level to use for
all commands.

Emmanuel


Jaikumar

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Friday, June 02, 2006 11:00 AM
To: scm-dev@maven.apache.org <mailto:scm-dev@maven.apache.org>
    Subject: Re: M2 : How to implement goals in SCM provider implementation 
?


Your pom is totally wrong. It must be:



 4.0.0
 com.mycompany.mytestscm
 testmksplugin
 1.0

 
 scm:mks:"[EMAIL [EMAIL PROTECTED]"
 

 

 
  
 org.apache.maven.scm
 maven-scm-plugin
 1.0-beta-3
 

   org.apache.maven.scm
   maven-mks-provider

1.0 

 
  
 

 





Sharma, Jaikumar a écrit :
 > Hi Emmanuel, I am using the following pom.xml to connect to
 > Mks-Provider :
 >
 > 
 >
 > 4.0.0

 > com.mycompany.mytestscm >
testmksplugin

 > 1.0

 > > > 

 >  
 > org.apache.maven.scm
 > maven-scm-plugin
 > 1.0-beta-3

 >  > > 

 >

 >  > > 

 >  
 > org.apache.maven.scm
 > maven-mks-provider
 > 1.0
 >
 >  

 > > scm:mks:"[EMAIL [EMAIL PROTECTED]"

 >  
 >

 >  >  > >  > > 

 >
 > -Original Message-
 > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
 > Sent: Thursday, June 01, 2006 7:49 PM
 > To: scm-dev@maven.apache.org <mailto:scm-dev@maven.apache.org>
 > Subject: Re: M2 : How to implement goals in SCM provider
 > implementation ?
 >
  

Re: M2 : How to implement goals in SCM provider implementation ?

2006-06-05 Thread Emmanuel Venisse
if you use a mks scm url in your pom and you use one of tha scm mojo and you don't get an error 
about non existent provider, your mks provider is used.


Emmanuel

Sharma, Jaikumar a écrit :

Emmanuel,
 
As you mentioned, pom corrected, but there is no breakthrough, not 
getting any test result for the tag   mentioend below in the 
test pom.
 
 How can I know, my main implementation class is instantiated ? 
 
Please suggest !
 
Regards,
 
 
Sharma, Jaikumar a écrit :
 


Thanks Emmanuel, pom.xml is corrected, but at the first hand I would
like to know the following to get the better idea of the sequence of
execution from the entry point of the plugin :

1.components.xml contains the entry point of the pluing ? If yes, in
my case main entry point mentioned is components.xml is MksScmProvider. 

It's the entry point of the provider. Maven-SCM find the provider to use 
with the second token in the connection url that must be the role-hint 
of one of the providers.



  


org.apache.maven.scm.provider.ScmProvider

  mks


org.apache.maven.scm.provider.mks.MksScmProvider



  


so, in my view, this class is executed and chanin of methods also as
called from this only ? So, in my case it is not responding any
error or something irrspective of whatever I specify in :

   
 scm:mks:"[EMAIL [EMAIL PROTECTED]"
 

Something else can be checked ? As I can see in case of other
provider implementations xpp3 (xml pull parser ? Do I have to tweak
or change something in this too ? 

If you don't have general settings that can be used by all scm 
connection, you don't need to create a provider settings loaded by xpp3, 
depends on the provider usage. A sample of parameter that can be general 
for the cvs provider is the compression level to use for all commands.


Emmanuel


Jaikumar

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Friday, June 02, 2006 11:00 AM
To: scm-dev@maven.apache.org <mailto:scm-dev@maven.apache.org>
    Subject: Re: M2 : How to implement goals in SCM provider implementation ?


Your pom is totally wrong. It must be:



 4.0.0
 com.mycompany.mytestscm
 testmksplugin
 1.0

 
 scm:mks:"[EMAIL [EMAIL PROTECTED]"
 

 

 
  
 org.apache.maven.scm
 maven-scm-plugin
 1.0-beta-3
 

   org.apache.maven.scm
   maven-mks-provider

1.0 

 
  
 

 





Sharma, Jaikumar a écrit :
 > Hi Emmanuel, I am using the following pom.xml to connect to
 > Mks-Provider :
 >
 > 
 >
 > 4.0.0

 > com.mycompany.mytestscm >
testmksplugin

 > 1.0

 > > > 

 >  
 > org.apache.maven.scm
 > maven-scm-plugin
 > 1.0-beta-3

 >  > > 

 >

 >  > > 

 >  
 > org.apache.maven.scm
 > maven-mks-provider
 > 1.0
 >
 >  

 > > scm:mks:"[EMAIL [EMAIL PROTECTED]"

 >  
 >

 >  >  > >  > > 

 >
 > -Original Message-
 > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
 > Sent: Thursday, June 01, 2006 7:49 PM
 > To: scm-dev@maven.apache.org <mailto:scm-dev@maven.apache.org>
 > Subject: Re: M2 : How to implement goals in SCM provider
 > implementation ?
 >
 >
 > What is  ? Where do you put it?
 >
 > Can you provide a sample scm url for mks? I guess
 > scm:mks:"[EMAIL PROTECTED]" isn't one, right? If it is, I'm not sure

 > it's correct because you don't have info about path to the
project on a MKS

 >
 > Server or locally or something else, Note that I don't know how mks
 > works and mks command lines.
 >
 > Emmanuel
 >
 > Sharma, Jaikumar a écrit :

 > > Fine, I have compiled it now by setting the packaging to 'jar',
but > > now > it is giving 'NullPointerExecption' after I try to
pass the

 > parameters to
 >  >
 >

RE: M2 : How to implement goals in SCM provider implementation ?

2006-06-05 Thread Sharma, Jaikumar
Title: Message



Is it necessary that a any new SCM 
provider should be registered in maven-scm-providers list first before 
compilation / test of the new implementation ? 
 
Regards.
 

-Original Message-From: Sharma, 
Jaikumar Sent: Monday, June 05, 2006 12:17 PMTo: 
scm-dev@maven.apache.orgSubject: M2 : How to implement goals in SCM 
provider implementation ?

  Emmanuel,
   
  As you mentioned, pom corrected, but there is no breakthrough, not 
  getting any test result for the tag   mentioend below in 
  the test pom.
   
   How can I know, my main implementation class is 
  instantiated ? 
   
  Please suggest !
   
  Regards,
   
   
  Sharma, Jaikumar a écrit : 
  Thanks 
Emmanuel, pom.xml is corrected, but at the first hand I would like 
to know the following to get the better idea of the sequence of 
execution from the entry point of the plugin : 1.components.xml contains the entry point 
of the pluing ? If yes, in my case main entry point mentioned is 
components.xml is MksScmProvider. It's the entry point of the provider. 
  Maven-SCM find the provider to use with the second token in the 
  connection url that must be the role-hint of one of the providers. 
  
  

org.apache.maven.scm.provider.ScmProvider 
  mks
org.apache.maven.scm.provider.mks.MksScmProvider 

  


so, in my view, this class is executed and chanin of methods also 
as called from this only ? So, in my case it is not responding any 
error or something irrspective of whatever I specify in :
 scm:mks:"[EMAIL [EMAIL PROTECTED]"
 

Something else can be checked ? As I can see in case of other 
provider implementations xpp3 (xml pull parser ? Do I have to tweak 
or change something in this too ? If you don't have general settings that can 
  be used by all scm connection, you don't need to create a provider 
  settings loaded by xpp3, depends on the provider usage. A sample of 
  parameter that can be general for the cvs provider is the compression level to 
  use for all commands. Emmanuel


  Jaikumar -Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Friday, June 02, 2006 11:00 AM
To: scm-dev@maven.apache.org
Subject: Re: M2 : How to implement goals in SCM provider implementation ?


Your pom is totally wrong. It must be:



 4.0.0
 com.mycompany.mytestscm
 testmksplugin
 1.0

 
 scm:mks:"[EMAIL [EMAIL PROTECTED]"
 

 

 
  
 org.apache.maven.scm
 maven-scm-plugin
 1.0-beta-3
 

   org.apache.maven.scm
   maven-mks-provider
1.0 

 
  
 

 





Sharma, Jaikumar a écrit :
 > Hi Emmanuel, I am using the following pom.xml to connect to
 > Mks-Provider :
 >
 > 
 >
 > 4.0.0
> com.mycompany.mytestscm 
> testmksplugin  > 1.0
> > >   >  
 > org.apache.maven.scm
 > maven-scm-plugin
 > 1.0-beta-3
>  > > 
  >
>  > >  
 >  
 > org.apache.maven.scm
 > maven-mks-provider
 > 1.0
 >
 >  
> > scm:mks:"[EMAIL 
[EMAIL PROTECTED]"  >  
 >
>  >  > 
>  > >  
 >
 > -----Original Message-
 > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
 > Sent: Thursday, June 01, 2006 7:49 PM
 > To: scm-dev@maven.apache.org
 > Subject: Re: M2 : How to implement goals in SCM provider
 > implementation ?
 >
 >
 > What is  ? Where do you put it?
 >
 > Can you provide a sample scm url for mks? I guess
 > scm:mks:"[EMAIL PROTECTED]" isn't one, right? If it is, I'm not sure
> it's correct because you don't have info about path to the 
project on a MKS  >
 > Server or locally or something else, Note that I don't know how mks
 > works and mks command lines.
 >
 > Emmanuel
 >
 > Sharma, Jaikumar a écrit :
> > Fine, I have compiled it now by setting the packaging to 
'jar', but > > now > it is giving 'NullPointerExecption' 
after I try to pass the  > parameters to
 >  >
 >  > 
 >  >  
 >  >   scm:mks:"[EMAIL PROTECTED]"
 >  >  
 >  > 
 >  >
 >  > Parameter  username and password in the form as mentioned above, it
 >  > expects as a parameter of MksSc

Re: M2 : How to implement goals in SCM provider implementation ?

2006-06-02 Thread Emmanuel Venisse



Sharma, Jaikumar a écrit :
Thanks Emmanuel, pom.xml is corrected, but at the first hand I would 
like to know the following to get the better idea of the sequence of 
execution from the entry point of the plugin :


1.components.xml contains the entry point of the pluing ? If 
yes, in my case main entry point mentioned is components.xml is 
MksScmProvider.


It's the entry point of the provider. Maven-SCM find the provider to use with the second token in 
the connection url that must be the role-hint of one of the providers.





  

  
org.apache.maven.scm.provider.ScmProvider

  mks
  
org.apache.maven.scm.provider.mks.MksScmProvider 



  


 so, in my view, this class is executed and chanin of methods also as 
called from this only ? So, in my case it is not responding any error or 
something irrspective of whatever I specify in :


   
 scm:mks:"[EMAIL PROTECTED]@project"
 

Something else can be checked ? As I can see in case of other provider 
implementations xpp3 (xml pull parser ? Do I have to tweak or change 
something in this too ?


If you don't have general settings that can be used by all scm connection, you don't need to create 
a provider settings loaded by xpp3, depends on the provider usage.
A sample of parameter that can be general for the cvs provider is the compression level to use for 
all commands.


Emmanuel



Jaikumar   





   


-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Friday, June 02, 2006 11:00 AM
To: scm-dev@maven.apache.org
Subject: Re: M2 : How to implement goals in SCM provider implementation ?


Your pom is totally wrong. It must be:



 4.0.0
 com.mycompany.mytestscm
 testmksplugin
 1.0

 
 scm:mks:"[EMAIL PROTECTED]@project"
 

 

 
  
 org.apache.maven.scm
 maven-scm-plugin
 1.0-beta-3
 

   org.apache.maven.scm
   maven-mks-provider
   1.0 

 
  
 

 





Sharma, Jaikumar a écrit :
 > Hi Emmanuel, I am using the following pom.xml to connect to
 > Mks-Provider :
 >
 > 
 >
 > 4.0.0
 > com.mycompany.mytestscm
 > testmksplugin

 > 1.0
 >   
 >   
 > 

 >  
 > org.apache.maven.scm
 > maven-scm-plugin
 > 1.0-beta-3
 >
 >
 > 

 >
 > 
 >   
 > 

 >  
 > org.apache.maven.scm
 > maven-mks-provider
 > 1.0
 >
 >  
 >   
 > scm:mks:"[EMAIL PROTECTED]@project"

 >  
 >
 >   
 > 
 >   
 > 
 >   
 > 

 >
 > -----Original Message-
 > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
 > Sent: Thursday, June 01, 2006 7:49 PM
 > To: scm-dev@maven.apache.org
 > Subject: Re: M2 : How to implement goals in SCM provider
 > implementation ?
 >
 >
 > What is  ? Where do you put it?
 >
 > Can you provide a sample scm url for mks? I guess
 > scm:mks:"[EMAIL PROTECTED]" isn't one, right? If it is, I'm not sure
 > it's correct because you don't have info about path to the project on 
a MKS

 >
 > Server or locally or something else, Note that I don't know how mks
 > works and mks command lines.
 >
 > Emmanuel
 >
 > Sharma, Jaikumar a écrit :
 >  > Fine, I have compiled it now by setting the packaging to 'jar', but 
 > > now  > it is giving 'NullPointerExecption' after I try to pass the

 > parameters to
 >  >
 >  > 
 >  >  
 >  >   scm:mks:"[EMAIL PROTECTED]"
 >  >  
 >  > 
 >  >
 >  > Parameter  username and password in the form as mentioned above, it
 >  > expects as a parameter of MksScmProvider classs'
 >  >
 >  > Please suggest!
 >  >
 >  >
 >  >
 >  > -Original Message-
 >  > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
 >  > Sent: Thursday, June 01, 2006 6:38 PM
 >  > To: scm-dev@maven.apache.org
 >  > Subject: Re: M

RE: M2 : How to implement goals in SCM provider implementation ?

2006-06-01 Thread Sharma, Jaikumar
Title: RE: M2 : How to implement goals in SCM provider implementation ?





Thanks Emmanuel, pom.xml is corrected, but at the first hand I would like to know the following to get the better idea of the sequence of execution from the entry point of the plugin :

    1.components.xml contains the entry point of the pluing ? If yes, in my case main entry point mentioned is components.xml is MksScmProvider.

        
          
            
          org.apache.maven.scm.provider.ScmProvider
          mks
          org.apache.maven.scm.provider.mks.MksScmProvider
            
          
        


 so, in my view, this class is executed and chanin of methods also as called from this only ? So, in my case it is not responding any error or something irrspective of whatever I specify in :

       
 scm:mks:"[EMAIL PROTECTED]@project"
 


Something else can be checked ? As I can see in case of other provider implementations xpp3 (xml pull parser ? Do I have to tweak or change something in this too ?

Jaikumar        





    


-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]] 
Sent: Friday, June 02, 2006 11:00 AM
To: scm-dev@maven.apache.org
Subject: Re: M2 : How to implement goals in SCM provider implementation ?



Your pom is totally wrong. It must be:





 4.0.0
 com.mycompany.mytestscm
 testmksplugin
 1.0


 
 scm:mks:"[EMAIL PROTECTED]@project"
 


 


 
  
 org.apache.maven.scm
 maven-scm-plugin
 1.0-beta-3
 
    
   org.apache.maven.scm
   maven-mks-provider
   1.0 
    
 
  
 


 







Sharma, Jaikumar a écrit :
> Hi Emmanuel, I am using the following pom.xml to connect to 
> Mks-Provider :
> 
> 
> 
> 4.0.0
> com.mycompany.mytestscm 
> testmksplugin
> 1.0
>    
>    
> 
>  
> org.apache.maven.scm
> maven-scm-plugin
> 1.0-beta-3
>     
> 
> 
> 
>  
>    
> 
>  
> org.apache.maven.scm
> maven-mks-provider
> 1.0 
>    
>  
>    
> scm:mks:"[EMAIL PROTECTED]@project"
>  
>    
>    
> 
>    
> 
>    
> 
> 
> -Original Message-----
> From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 01, 2006 7:49 PM
> To: scm-dev@maven.apache.org
> Subject: Re: M2 : How to implement goals in SCM provider 
> implementation ?
> 
> 
> What is  ? Where do you put it?
> 
> Can you provide a sample scm url for mks? I guess
> scm:mks:"[EMAIL PROTECTED]" isn't one, right? If it is, I'm not sure 
> it's correct because you don't have info about path to the project on a MKS
> 
> Server or locally or something else, Note that I don't know how mks
> works and mks command lines.
> 
> Emmanuel
> 
> Sharma, Jaikumar a écrit :
>  > Fine, I have compiled it now by setting the packaging to 'jar', but  
> > now  > it is giving 'NullPointerExecption' after I try to pass the
> parameters to
>  >
>  > 
>  >  
>  >   scm:mks:"[EMAIL PROTECTED]"
>  >  
>  > 
>  >
>  > Parameter  username and password in the form as mentioned above, it
>  > expects as a parameter of MksScmProvider classs'
>  >
>  > Please suggest!
>  > 
>  >
>  >
>  > -Original Message-
>  > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]]
>  > Sent: Thursday, June 01, 2006 6:38 PM
>  > To: scm-dev@maven.apache.org
>  > Subject: Re: M2 : How to implement goals in SCM provider
>  > implementation ?
>  >
>  >
>  > your provider must be a jar (default type) and not a plugin.
>  >
>  > Emmanuel
>  >
>  > Sharma, Jaikumar a écrit :
>  >  > Hi Emmanuel,
>  >  > Something unusual, which I am not aware of, while building the
>  > plugin  > it  > says java 0 mojo descriptors. Could you please see,
>  > where I am wrong ?  >
>  >  > Regards, Jaikumar
>  >  &

Re: M2 : How to implement goals in SCM provider implementation ?

2006-06-01 Thread Emmanuel Venisse

Your pom is totally wrong. It must be:



4.0.0
com.mycompany.mytestscm
testmksplugin
1.0


scm:mks:"[EMAIL PROTECTED]@project"





 
org.apache.maven.scm
maven-scm-plugin
1.0-beta-3

   
  org.apache.maven.scm
  maven-mks-provider
  1.0 

   

 








Sharma, Jaikumar a écrit :

Hi Emmanuel, I am using the following pom.xml to connect to Mks-Provider :



4.0.0
com.mycompany.mytestscm 
testmksplugin

1.0
   
   


 
org.apache.maven.scm
maven-scm-plugin
1.0-beta-3


  

 
   


 
org.apache.maven.scm
maven-mks-provider
1.0 
   

 
   
scm:mks:"[EMAIL PROTECTED]@project"

 
   
   

   

   



-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 01, 2006 7:49 PM
To: scm-dev@maven.apache.org
Subject: Re: M2 : How to implement goals in SCM provider implementation ?


What is  ? Where do you put it?

Can you provide a sample scm url for mks? I guess 
scm:mks:"[EMAIL PROTECTED]" isn't one, right? If it is, I'm not sure 
it's correct because you don't have info about path to the project on a MKS


Server or locally or something else, Note that I don't know how mks 
works and mks command lines.


Emmanuel

Sharma, Jaikumar a écrit :
 > Fine, I have compiled it now by setting the packaging to 'jar', but
 > now
 > it is giving 'NullPointerExecption' after I try to pass the 
parameters to

 >
 > 
 >  
 >   scm:mks:"[EMAIL PROTECTED]"
 >  
 > 
 >
 > Parameter  username and password in the form as mentioned above, it
 > expects as a parameter of MksScmProvider classs'
 >
 > Please suggest!
 > 
 >

 >
 > -Original Message-----
 > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
 > Sent: Thursday, June 01, 2006 6:38 PM
 > To: scm-dev@maven.apache.org
 > Subject: Re: M2 : How to implement goals in SCM provider
 > implementation ?
 >
 >
 > your provider must be a jar (default type) and not a plugin.
 >
 > Emmanuel
 >
 > Sharma, Jaikumar a écrit :
 >  > Hi Emmanuel,
 >  > Something unusual, which I am not aware of, while building the
 > plugin  > it  > says java 0 mojo descriptors. Could you please see,
 > where I am wrong ?  >
 >  > Regards, Jaikumar
 >  > 
--

 >  > -
 >  >
 >  > D:\Plugin_Development\maven-mks-provider>mvn clean install [INFO]
 >  > Scanning for projects... [INFO]
 >  >
 > 
 


 >
 >  >
 >  > [INFO] Building Unnamed -
 >  > org.apache.maven.scm:maven-mks-provider:maven-plugin:1.0
 >  > [INFO]task-segment: [clean, install]
 >  > [INFO]
 >  >
 > 
 


 >
 >  >
 >  > [INFO] [clean:clean]
 >  > [INFO] Deleting directory
 >  > D:\Plugin_Development\maven-mks-provider\target
 >  > [INFO] Deleting directory
 >  > D:\Plugin_Development\maven-mks-provider\target\classes
 >  > [INFO] Deleting directory
 >  > D:\Plugin_Development\maven-mks-provider\target\test-classes
 >  > [INFO] [plugin:descriptor]
 >  > [INFO] Using 2 extractors.
 >  > [INFO] Applying extractor for language: java
 >  > [INFO] Extractor for language: java found 0 mojo descriptors.
 > [INFO]  > Applying extractor for language: bsh [INFO] Extractor for
 > language: bsh  > found 0 mojo descriptors. [INFO]
 > [resources:resources] [INFO] Using  > default encoding to copy
 > filtered resources. [INFO] [compiler:compile]  > Compiling 6 source
 > files to  > D:\Plugin_Development\maven-mks-provider\target\classes
 >  >
 >  > [INFO] [resources:testResources]
 >  > [INFO] Using default encoding to copy filtered resources. [INFO]  >
 > [compiler:testCompile] [INFO] No sources to compile [INFO]  >
 > [surefire:test] [INFO] No tests to run. [INFO] [jar:jar] [INFO]
 > Building  > jar:  >
 > 
D:\Plugi

Re: M2 : How to implement goals in SCM provider implementation ?

2006-06-01 Thread Rinku

Hi Jaikumar,

See : http://maven.apache.org/ref/current/maven-model/maven.html about 
where the  information should be located in a pom.xml


Cheers,
Rahul


Sharma, Jaikumar wrote:


Hi Emmanuel, I am using the following pom.xml to connect to 
Mks-Provider :




4.0.0
com.mycompany.mytestscm 
testmksplugin

1.0
   
   


 
org.apache.maven.scm
maven-scm-plugin
1.0-beta-3


  

 
   


 
org.apache.maven.scm
maven-mks-provider
1.0 
   

 
   
scm:mks:"[EMAIL PROTECTED]@project"

 
   
   

   

   



-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 01, 2006 7:49 PM
To: scm-dev@maven.apache.org
Subject: Re: M2 : How to implement goals in SCM provider implementation ?


What is  ? Where do you put it?

Can you provide a sample scm url for mks? I guess 
scm:mks:"[EMAIL PROTECTED]" isn't one, right? If it is, I'm not sure 
it's correct because you don't have info about path to the project on 
a MKS


Server or locally or something else, Note that I don't know how mks 
works and mks command lines.


Emmanuel

Sharma, Jaikumar a écrit :
> Fine, I have compiled it now by setting the packaging to 'jar', but
> now
> it is giving 'NullPointerExecption' after I try to pass the 
parameters to

>
> 
>  
>   scm:mks:"[EMAIL PROTECTED]"
>  
> 
>
> Parameter  username and password in the form as mentioned above, it
> expects as a parameter of MksScmProvider classs'
>
> Please suggest!
> 
>

>
> -Original Message-
> From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 01, 2006 6:38 PM
> To: scm-dev@maven.apache.org
> Subject: Re: M2 : How to implement goals in SCM provider
> implementation ?
>
>
> your provider must be a jar (default type) and not a plugin.
>
> Emmanuel
>
> Sharma, Jaikumar a écrit :
>  > Hi Emmanuel,
>  > Something unusual, which I am not aware of, while building the
> plugin  > it  > says java 0 mojo descriptors. Could you please see,
> where I am wrong ?  >
>  > Regards, Jaikumar
>  > 
--

>  > -
>  >
>  > D:\Plugin_Development\maven-mks-provider>mvn clean install [INFO]
>  > Scanning for projects... [INFO]
>  >
> 
 


>
>  >
>  > [INFO] Building Unnamed -
>  > org.apache.maven.scm:maven-mks-provider:maven-plugin:1.0
>  > [INFO]task-segment: [clean, install]
>  > [INFO]
>  >
> 
 


>
>  >
>  > [INFO] [clean:clean]
>  > [INFO] Deleting directory
>  > D:\Plugin_Development\maven-mks-provider\target
>  > [INFO] Deleting directory
>  > D:\Plugin_Development\maven-mks-provider\target\classes
>  > [INFO] Deleting directory
>  > D:\Plugin_Development\maven-mks-provider\target\test-classes
>  > [INFO] [plugin:descriptor]
>  > [INFO] Using 2 extractors.
>  > [INFO] Applying extractor for language: java
>  > [INFO] Extractor for language: java found 0 mojo descriptors.
> [INFO]  > Applying extractor for language: bsh [INFO] Extractor for
> language: bsh  > found 0 mojo descriptors. [INFO]
> [resources:resources] [INFO] Using  > default encoding to copy
> filtered resources. [INFO] [compiler:compile]  > Compiling 6 source
> files to  > D:\Plugin_Development\maven-mks-provider\target\classes
>  >
>  > [INFO] [resources:testResources]
>  > [INFO] Using default encoding to copy filtered resources. [INFO]  >
> [compiler:testCompile] [INFO] No sources to compile [INFO]  >
> [surefire:test] [INFO] No tests to run. [INFO] [jar:jar] [INFO]
> Building  > jar:  >
> 
D:\Plugin_Development\maven-mks-provider\target\maven-mks-provider-1.0.jar 


>  >
>  > [INFO] [plugin:addPluginArtifactMetadata]
>  > [INFO] [install:install]
>  > [INFO] Installing
>  >
> 
D:\Plugin_Development\maven-mks-provider\target\maven-mks-provider-1.0.jar 


>  > to
>  >
> 
C:\Lang\maven-2.0.4

RE: M2 : How to implement goals in SCM provider implementation ?

2006-06-01 Thread Sharma, Jaikumar
Title: RE: M2 : How to implement goals in SCM provider implementation ?





Hi Emmanuel, I am using the following pom.xml to connect to Mks-Provider :





    4.0.0
    com.mycompany.mytestscm  
    testmksplugin
    1.0
    
    
    
     
        org.apache.maven.scm
        maven-scm-plugin
        1.0-beta-3
         
     
       


      
    
        
     
        org.apache.maven.scm
        maven-mks-provider
        1.0  
        
     
       scm:mks:"[EMAIL PROTECTED]@project"
     
       
        
        
        
    
    



-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, June 01, 2006 7:49 PM
To: scm-dev@maven.apache.org
Subject: Re: M2 : How to implement goals in SCM provider implementation ?



What is  ? Where do you put it?


Can you provide a sample scm url for mks? I guess scm:mks:"[EMAIL PROTECTED]" isn't one, right? If it is, I'm not sure it's correct because you don't have info about path to the project on a MKS 

Server or locally or something else, Note that I don't know how mks works and mks command lines.


Emmanuel


Sharma, Jaikumar a écrit :
> Fine, I have compiled it now by setting the packaging to 'jar', but 
> now
> it is giving 'NullPointerExecption' after I try to pass the parameters to
> 
> 
>  
>   scm:mks:"[EMAIL PROTECTED]"
>  
> 
> 
> Parameter  username and password in the form as mentioned above, it
> expects as a parameter of MksScmProvider classs'
> 
> Please suggest!
>  
> 
> 
> -Original Message-
> From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 01, 2006 6:38 PM
> To: scm-dev@maven.apache.org
> Subject: Re: M2 : How to implement goals in SCM provider 
> implementation ?
> 
> 
> your provider must be a jar (default type) and not a plugin.
> 
> Emmanuel
> 
> Sharma, Jaikumar a écrit :
>  > Hi Emmanuel,
>  > Something unusual, which I am not aware of, while building the 
> plugin  > it  > says java 0 mojo descriptors. Could you please see, 
> where I am wrong ?  >
>  > Regards, Jaikumar
>  > --
>  > -
>  >
>  > D:\Plugin_Development\maven-mks-provider>mvn clean install [INFO]
>  > Scanning for projects... [INFO]
>  > 
>  
> 
>  >
>  > [INFO] Building Unnamed -
>  > org.apache.maven.scm:maven-mks-provider:maven-plugin:1.0
>  > [INFO]    task-segment: [clean, install]
>  > [INFO]
>  >
>  
> 
>  >
>  > [INFO] [clean:clean]
>  > [INFO] Deleting directory
>  > D:\Plugin_Development\maven-mks-provider\target
>  > [INFO] Deleting directory
>  > D:\Plugin_Development\maven-mks-provider\target\classes
>  > [INFO] Deleting directory
>  > D:\Plugin_Development\maven-mks-provider\target\test-classes
>  > [INFO] [plugin:descriptor]
>  > [INFO] Using 2 extractors.
>  > [INFO] Applying extractor for language: java
>  > [INFO] Extractor for language: java found 0 mojo descriptors. 
> [INFO]  > Applying extractor for language: bsh [INFO] Extractor for 
> language: bsh  > found 0 mojo descriptors. [INFO] 
> [resources:resources] [INFO] Using  > default encoding to copy 
> filtered resources. [INFO] [compiler:compile]  > Compiling 6 source 
> files to  > D:\Plugin_Development\maven-mks-provider\target\classes
>  >
>  > [INFO] [resources:testResources]
>  > [INFO] Using default encoding to copy filtered resources. [INFO]  > 
> [compiler:testCompile] [INFO] No sources to compile [INFO]  > 
> [surefire:test] [INFO] No tests to run. [INFO] [jar:jar] [INFO] 
> Building  > jar:  >
> D:\Plugin_Development\maven-mks-provider\target\maven-mks-provider-1.0.jar
>  >
>  > [INFO] [plugin:addPluginArtifactMetadata]
>  > [INFO] [install:install]
>  > [INFO] Installing
>  > 
> D:\Plugin_Development\maven-mks-provider\target\maven-mks-provider-1.0.jar
>  > to
>  > 
> C:\Lang\maven-2.0.4\Repository\org\apache\maven\scm\maven-mks-provider\1.0\maven-mks-provider-1.0.jar 
> 
>  >
>  > [INFO] [plugin:updateRegistry]
>  > [INFO]
>  > 
> 
>  > [INFO] BUILD

RE: M2 : How to implement goals in SCM provider implementation ?

2006-06-01 Thread Sharma, Jaikumar
Title: RE: M2 : How to implement goals in SCM provider implementation ?





Fine. I would test it. Yes, I have defined the scm url for MKS.
Regards.


-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, June 01, 2006 12:42 PM
To: scm-dev@maven.apache.org
Subject: Re: M2 : How to implement goals in SCM provider implementation ?



I guess you have define the scm url for MKS, right?


so, you can test it by adding this in your pom:

   scm:mks:mks_connection_parameters
   scm:mks:mks_connection_parameters



The first steap you can test is to add your provider as a dependency of maven-scm plugin and you'll 
can try scm:checkout, scm:update and other.


If all is ok, you'll need to test it with changelog plugin, release plugin and Continuum.


For changelog and release plugins, you'll need to add your provider as a dependency in the plugin or 
if you don't want to modify them for now, you can add it as a plugin dependency in your pom.


For continuum, put your provider in $CONTINUUM/apps/continuum/lib


Emmanuel


Sharma, Jaikumar a écrit :
> Hi Emmanuel,
> Initially, I have implemented the connect method other functionality 
> in
> SCM provider for MKS plugin and it has been been built and installed in 
> local repository. I want to know, how to configure this plugin in my pom 
> so that I can test to connect to MKS provider, if it works or I have to 
> change something ?
> 
> Thanks for your help!
> 
> Regards, Jaikumar
> 
> -Original Message-
> From: Sharma, Jaikumar
> Sent: Monday, May 29, 2006 2:12 PM
> To: 'scm-dev@maven.apache.org'
> Subject: RE: M2 : How to implement goals in SCM provider 
> implementation ?
> 
> 
> Thanks Emmanuel, that was the enlightment, I was expecting from you 
> ;-)
> 
> -Original Message-
> From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 29, 2006 1:54 PM
> To: scm-dev@maven.apache.org
> Subject: Re: M2 : How to implement goals in SCM provider 
> implementation ?
> 
> 
> 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.ht
>  > ml
>  > . 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
>  >
> 
> - - - - - - - DISCLAIMER- - - - - - - -
> Unless indicated otherwise, the information contained in this message 
> is
> privileged and confidential, and is intended only for the use of the 
> addressee(s) named above and others who have been specifically 
> authorized to receive it. If you are not the intended recipient, you are 
> hereby notified that any dissemination, distribution or copying of this 
> message and/or attachments is strictly prohibited. The company accepts 
> no liability for any damage cau

Re: M2 : How to implement goals in SCM provider implementation ?

2006-06-01 Thread Emmanuel Venisse

I guess you have define the scm url for MKS, right?

so, you can test it by adding this in your pom:

  scm:mks:mks_connection_parameters
  scm:mks:mks_connection_parameters


The first steap you can test is to add your provider as a dependency of maven-scm plugin and you'll 
can try scm:checkout, scm:update and other.


If all is ok, you'll need to test it with changelog plugin, release plugin and 
Continuum.

For changelog and release plugins, you'll need to add your provider as a dependency in the plugin or 
if you don't want to modify them for now, you can add it as a plugin dependency in your pom.


For continuum, put your provider in $CONTINUUM/apps/continuum/lib

Emmanuel

Sharma, Jaikumar a écrit :

Hi Emmanuel,
Initially, I have implemented the connect method other functionality in 
SCM provider for MKS plugin and it has been been built and installed in 
local repository. I want to know, how to configure this plugin in my pom 
so that I can test to connect to MKS provider, if it works or I have to 
change something ?


Thanks for your help!

Regards, Jaikumar

-Original Message-
From: Sharma, Jaikumar
Sent: Monday, May 29, 2006 2:12 PM
To: 'scm-dev@maven.apache.org'
Subject: RE: M2 : How to implement goals in SCM provider implementation ?


Thanks Emmanuel, that was the enlightment, I was expecting from you ;-)

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


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.ht
 > ml
 > . 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
 >

- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message is 
privileged and confidential, and is intended only for the use of the 
addressee(s) named above and others who have been specifically 
authorized to receive it. If you are not the intended recipient, you are 
hereby notified that any dissemination, distribution or copying of this 
message and/or attachments is strictly prohibited. The company accepts 
no liability for any damage caused by any virus transmitted by this 
email. Furthermore, the company does not warrant a proper and complete 
transmission of this information, nor does it accept liability for any 
delays. If you have received this message in error, please contact the 
sender and delete the message. Thank you.






RE: M2 : How to implement goals in SCM provider implementation ?

2006-05-31 Thread Sharma, Jaikumar
Title: RE: M2 : How to implement goals in SCM provider implementation ?





Hi Emmanuel,
Initially, I have implemented the connect method other functionality in SCM provider for MKS plugin and it has been been built and installed in local repository. I want to know, how to configure this plugin in my pom so that I can test to connect to MKS provider, if it works or I have to change something ?

Thanks for your help!


Regards, Jaikumar


-Original Message-
From: Sharma, Jaikumar 
Sent: Monday, May 29, 2006 2:12 PM
To: 'scm-dev@maven.apache.org'
Subject: RE: M2 : How to implement goals in SCM provider implementation ?



Thanks Emmanuel, that was the enlightment, I was expecting from you ;-)


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



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.ht
> ml
> . 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
> 


- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.




RE: M2 : How to implement goals in SCM provider implementation ?

2006-05-29 Thread Sharma, Jaikumar
Title: RE: M2 : How to implement goals in SCM provider implementation ?





Thanks Emmanuel, that was the enlightment, I was expecting from you ;-)


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



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
> 


- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.




Re: M2 : How to implement goals in SCM provider implementation ?

2006-05-29 Thread Emmanuel Venisse

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






RE: M2 : How to implement goals in SCM provider implementation ?

2006-05-29 Thread Sharma, Jaikumar
Title: RE: M2 : How to implement goals in SCM provider implementation ?





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





Re: M2 : How to implement goals in SCM provider implementation ?

2006-05-29 Thread Emmanuel Venisse

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