Daivish Shah
2011-08-18 22:21:49 UTC
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.
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.