You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm-dev@maven.apache.org by "Sharma, Jaikumar" <ja...@barco.com> on 2006/06/26 09:08:06 UTC

RE: How to run multiple goals via maven-scm-plugin on a scm provi der plugin

could you please mention this using a small example using xml constructs ?
Regards,

-----Original Message-----
From: dan tran [mailto:dantran@gmail.com] 
Sent: Monday, June 26, 2006 12:33 PM
To: scm-dev@maven.apache.org
Subject: Re: How to run multiple goals via maven-scm-plugin on a scm provi
der plugin


it is not normal to build thru scm:bootstrap by specify in the pom, but you
can certainly do so, by binding scm:boostrap mojo to a
phase in your pom.
 
-Dan

 
On 6/25/06, Sharma, Jaikumar <jaikumar.sharma@barco.com
<ma...@barco.com> > wrote: 

Thanks Dan, 
I think, what you have mentioned is command line option ? how to achieve
this in pom.xml ?
Regards.

 
 

-----Original Message-----
From: dan tran [mailto: dantran@gmail.com <ma...@gmail.com> ] 
Sent: Monday, June 26, 2006 12:18 PM
To: scm-dev@maven.apache.org  <ma...@maven.apache.org> 
Subject: Re: How to run multiple goals via maven-scm-plugin on a scm
provider plugin


The answer is no, but you can run mvn scm:bootstrap -Dgoals="goal1,goal2,
goal2, etc"
 
-D

 
On 6/25/06, Sharma, Jaikumar <jaikumar.sharma@barco.com
<ma...@barco.com> > wrote: 

Emmanuel,
 
Is it possible to run multiple goals in sequence via maven-scm-plugin like
the following :
 
    <scm>
 
<connection>scm:mks:username@password@project@servername</connection>
        <!-- eventually, I can wrap the connect comand after the above url's
validation is done, since there is no login goal is available in
maven-scm-plugin --> 
          how to specify other goal here, which might be next step like
creating a sandbox on local machine  ?      
    <scm>    
 
Is scm providers plugins are always works as dependency to maven-scm-plugin
? 
 
Regards.
   
    

- - - - - - - 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: How to run multiple goals via maven-scm-plugin on a scm provi der plugin

Posted by dan tran <da...@gmail.com>.
<build>
  <plugins>
     <plugin>
        <artifactId>maven-scm-plugin</artifactId>
        <goals>
           <goal>bootstrap</goal>
        <goals>
        <executions>
            <execution>
               <configuration>
                 <goals>a,b,c,etc</goals>
              </configuration>
           </execution>
        </executions>
      </plugin>
   </plugins?


Btw, this question should go to user list.

Also, not sure why you want to do this thou, why dont you use normal maven
build process?

-Dan




On 6/26/06, Sharma, Jaikumar <ja...@barco.com> wrote:
>
>  could you please mention this using a small example using xml constructs
> ?
> Regards,
>
>  -----Original Message-----
> *From:* dan tran [mailto:dantran@gmail.com]
> *Sent:* Monday, June 26, 2006 12:33 PM
> *To:* scm-dev@maven.apache.org
> *Subject:* Re: How to run multiple goals via maven-scm-plugin on a scm
> provi der plugin
>
>  it is not normal to build thru scm:bootstrap by specify in the pom, but
> you can certainly do so, by binding scm:boostrap mojo to a
> phase in your pom.
>
> -Dan
>
>
> On 6/25/06, Sharma, Jaikumar <ja...@barco.com> wrote:
> >
> >  Thanks Dan,
> > I think, what you have mentioned is command line option ? how to achieve
> > this in pom.xml ?
> > Regards.
> >
> >
> >
> >  -----Original Message-----
> > *From:* dan tran [mailto: dantran@gmail.com]
> > *Sent:* Monday, June 26, 2006 12:18 PM
> > *To:* scm-dev@maven.apache.org
> > *Subject:* Re: How to run multiple goals via maven-scm-plugin on a scm
> > provider plugin
> >
> > The answer is no, but you can run mvn scm:bootstrap
> > -Dgoals="goal1,goal2, goal2, etc"
> >
> > -D
> >
> >
> > On 6/25/06, Sharma, Jaikumar <jaikumar.sharma@barco.com > wrote:
> > >
> > >  Emmanuel,
> > >
> > > Is it possible to run multiple goals in sequence via maven-scm-plugin
> > > like the following :
> > >
> > >     <scm>
> > >         <connection>scm:mks:username@password@project@servername
> > > </connection>
> > >         <!-- eventually, I can wrap the connect comand after the above
> > > url's validation is done, since there is no login goal is available in
> > > maven-scm-plugin -->
> > >           how to specify other goal here, which might be next step
> > > like creating a sandbox on local machine  ?
> > >     <scm>
> > >
> > > Is scm providers plugins are always works as dependency to
> > > maven-scm-plugin ?
> > >
> > > Regards.
> > >
> > >
> > >
> > > - - - - - - - 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.
> > >
> >
> >
>