You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ran Zilber <ra...@amdocs.com> on 2007/01/09 13:40:44 UTC
M2 classpath for ant taskdef
Hi all,
I am trying to invoke ant 'taskdef' using the current maven complie
classpath.
What is the maven class path variable I can use?
Here is the pom snippet:
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<taskdef name="wsgen"
classname="org.codehaus.xfire.gen.WsGenTask" classpath="???" />
<wsgen
outputDirectory="${basedir}/src/main/generated"
wsdl="${basedir}/wsdl/SelfCareService.wsdl" overwrite="true" />
</tasks>
</configuration>
</execution>
</executions>
</plugin>
Thanks a lot !!!!.
Ran.
This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp
Re: M2 classpath for ant taskdef
Posted by franz see <fr...@gmail.com>.
Good day to you, Ran,
You can try and take a look at [1].
Cheers,
Franz
[1] http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html
Ran Zilber wrote:
>
>
> Hi all,
>
>
>
>
>
>
>
> I am trying to invoke ant 'taskdef' using the current maven complie
> classpath.
>
>
>
>
> What is the maven class path variable I can use?
>
>
>
>
> Here is the pom snippet:
>
>
>
>
> <plugin>
>
> <artifactId>maven-antrun-plugin</artifactId>
>
> <executions>
>
> <execution>
>
> <phase>generate-sources</phase>
>
> <goals>
>
> <goal>run</goal>
>
> </goals>
>
> <configuration>
>
> <tasks>
>
> <taskdef name="wsgen"
> classname="org.codehaus.xfire.gen.WsGenTask" classpath="???" />
>
> <wsgen
> outputDirectory="${basedir}/src/main/generated"
> wsdl="${basedir}/wsdl/SelfCareService.wsdl" overwrite="true" />
>
>
>
>
> </tasks>
>
> </configuration>
>
> </execution>
>
> </executions>
>
> </plugin>
>
>
>
>
>
>
>
> Thanks a lot !!!!.
>
>
>
>
>
>
>
> Ran.
>
>
>
>
>
>
>
>
>
> This message and the information contained herein is proprietary and
> confidential and subject to the Amdocs policy statement,
> you may review at http://www.amdocs.com/email_disclaimer.asp
>
--
View this message in context: http://www.nabble.com/M2-classpath-for-ant-taskdef-tf2945637s177.html#a8237192
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org