Hi ,
 i have already using multiple executions.
  1) ant-plugin
      <phase>generate-resources
      <goal>run</goal>
     <executions>
      <execution-1> 
           <task> copy jars</task>
           <task>copy xml</task>
      </execution>
      <execution-2> 
           <task> copy war and  properties file</task>
         </execution>
        if we  have several execution statement , can i control the
execution.
     </executions>
c:/> mvn i) generate-resources ,ii) process-resources ,   iii)war:war  ,
iv)generate-resources  = in this way i want to execute. comma(,) is given to
distinguish between the commands.
 c:/> mvn generate-resources( it should execute execution1, not execute2 ,
here it will execute all execution tag)  process-resources 
generate-resources( it will only do execution-2 , not again exection-1) , if
i can control it in command prompt then ok. you might tell if we give
package in another execution then it is ok , but if i give package in
command it executes total pom.( so not using package goal).

so , is their any other plugin then i can use it latter in stead of
generate-resources or can i call a particular execution in
generate-resources ? if yes then how ?( only for copy function i want in
differnt plugin)

i want to execute in command and one by one so that i get my target. i.s at
last the created war should be copied to another location as i have to copy
it using differnet plugin. is while dong step iv) above.
-- 
View this message in context: 
http://www.nabble.com/maven-copy-jars-from-one-folder-to-other-apart-using-ant-plugin--as-i-have-already-usedHi%2C-tp20573263p20578130.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to