Before I use maven to publish my project ,I use ant to bulid my project.such as:
 
<taskdef name="enhance" classname="com.riflexo.jcredo.ant.Enhancer">
  <classpath>
   <pathelement location="${build.lib}/jcredo.jar"/>
   <pathelement location="${build.lib}/jdo1_0.jar"/>
   <pathelement location="${build.lib}/jta-spec1_0_1.jar"/>
   <pathelement location="${build.lib}/bcel-fix.jar"/>
   <pathelement location="${build.lib}/Regex.jar"/>
  </classpath>
 </taskdef>
 
<target name="enhance">
  <enhance sourcepath="${build.classes}" destinationPath="${build.classes}"/>
 </target>
 
 
How to define task in maven?
 
thanks.


---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

Reply via email to