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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to