Remove the phase element from the execution.

William


On Mon, Feb 10, 2014 at 11:12 PM, indira <indira.kur...@gmail.com> wrote:

> Added  exec-maven-plugin pulgin in pom.xml
> <plugins>
>         .....................
>  <plugin>
>           <groupId>org.codehaus.mojo</groupId>
>             <artifactId>exec-maven-plugin</artifactId>
>             <version>1.2</version>
>             <executions>
>               <execution>
>                 <id>runbatchfile</id>
>                 <phase>package</phase>
>                 <goals>
>                   <goal>exec</goal>
>                 </goals>
>               </execution>
>             </executions>
>             <configuration>
>               <executable>test.bat</executable>
>             </configuration>
>           </plugin>
>
>                 </plugins>
>
> When I execute the cmd 'mvn clean install' my bat file test.bat is getting
> executed. I wanted to execute the  batch file on need basis.
>
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/How-to-skip-the-execution-of-batch-file-based-on-need-in-maven-build-tp5783909.html
> Sent from the Maven Developers mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

Reply via email to