Start here: http://maven.apache.org/reference/user-guide.html#maven.xml
You can pretty much paste your ant code into maven.xml, add the necessary project/goal tags around it, and away you go. - Brett > -----Original Message----- > From: jun cai [mailto:[EMAIL PROTECTED] > Sent: Thursday, 11 September 2003 1:53 PM > To: [EMAIL PROTECTED] > Subject: How to add ant taskdef in maven. > > > 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 >
