Looks to me you're trying to use the wrong plugin. This one seems to fit 
more:http://maven.apache.org/plugins/maven-antrun-plugin/  -Robert > Date: Thu, 
18 Aug 2011 15:21:49 -0700
> Subject: exec-maven-plugin want to pass maven.dependency.classpath as a 
> variable in my EXEC Goal
> From: [email protected]
> To: [email protected]
> 
> Hi,
> 
> 
> I want to define property or want to use maven.plugin.classpath and
> maven.dependency.classpath in my build.xml.
> 
> How can i do it ?
> 
> Sample code is as below...
> 
> <property> </property> is not working and not able to read the values from
> my build.xml so please explain me how can i do it ?
> 
> 
>             <plugin>
>                 <groupId>org.codehaus.mojo</groupId>
>                 <artifactId>exec-maven-plugin</artifactId>
>                 <version>1.2</version>
>                 <executions>
>                     <execution>
>                         <id>install</id>
>                         <phase>install</phase>
>                         <goals>
>                             <goal>exec</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>                 <configuration>
>                     <property name="plugin_classpath"
> refid="maven.plugin.classpath" />
>                     <property name="maven_dependency_classpath"
> refid="maven.dependency.classpath" />
>                     <executable>antscript.bat</executable> <!-- ant -f
> build.xml build -->
>                 </configuration>
>             </plugin>
> 
> 
> Thanks,
> 
> daivish.
                                          

Reply via email to