You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Rohnny Moland <rm...@gmail.com> on 2006/08/03 15:30:44 UTC

using apt (annotation processing) with maven 2

Hi,

I wonder if any have got the ant apt plugin to work with maven 2? Just
trying to do something like this:

<tasks>
   <apt srcdir="${basedir}/src/main/java"			
        destdir="${basedir}/src/main/resources/component"
	classpath="${project.compileClasspathElements}"				
preprocessdir="${basedir}/src/main/java"
        debug="on"
        deprecation="off"
        optimize="on"
        includeAntRuntime="no"
        nocompile="false"
        factory="com....tools.ConfigProcessorFactory">
  </apt>
</tasks>


But I get a task not found exception because ant cannot find the
ant-apt.jar (I just put in in m2/lib).

Any good ideas? Or if someone knows some apt maven tool that _works_.


Thanks in advance,
Rohnny

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org