maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sharma, Jaikumar" <jaikumar.sha...@barco.com>
Subject RE: How to run multiple goals via maven-scm-plugin on a scm provi der plugin
Date Mon, 26 Jun 2006 08:30:30 GMT
Thanks Edwin and Dan both. I would like to know, where my
maven-scm-provider-mks plugin fits into this configuration ? It has to
be specified as a dependency or what ?

Regards.

-----Original Message-----
From: Edwin Punzalan [mailto:epunzalan@exist.com] 
Sent: Monday, June 26, 2006 1:27 PM
To: Maven Users List
Subject: Re: How to run multiple goals via maven-scm-plugin on a scm
provi der plugin


That seems wrong... it should be:

<build>
  <plugins>
    <plugin>
      <artifactId>maven-scm-plugin</artifactId>
      <configuration>
         put here plugin configurations that is common to all the
executions
      </configuration>
      <executions>
        <execution>
          <id/>
          <configuration/> <-- put here configurations applicable to 
this execution only
          <goals>
            <goal/> <-- plugin goal for this execution
          </goals>
        </execution>
      </executions>
    </plugin>
  </plugins>
</build>

to run multiple goals, you may either put several <goal> in <goals>  or

sevearal <execution> in <executions>



Sharma, Jaikumar wrote:
> Hi Dan,
> Thanks again for your response.
> I would definitely use normal build process, but I was thinking about 
> the possiblity of running the multiple goals. The configuration you 
> have mentioned below does not show scm provider plugin configuration ?

> How provider plugin has to be configured in this configuration ?
>  
> Regards.
>  
>
> -----Original Message-----
> From: dan tran [mailto:dantran@gmail.com]
> Sent: Monday, June 26, 2006 12:44 PM
> To: scm-dev@maven.apache.org
> Subject: Re: How to run multiple goals via maven-scm-plugin on a scm
provi
> der plugin
>
>
> <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 <jaikumar.sharma@barco.com 
> <mailto:jaikumar.sharma@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 <mailto:dantran@gmail.com> ]
>
> Sent: Monday, June 26, 2006 12:33 PM
> To: scm-dev@maven.apache.org  <mailto: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 
> <mailto:jaikumar.sharma@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 <mailto:dantran@gmail.com> ]
> Sent: Monday, June 26, 2006 12:18 PM
> To: scm-dev@maven.apache.org  <mailto: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 
> <mailto: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. 
>
>
>
>
> - - - - - - - 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.
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org

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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message