Hello Rohnny,

Rohnny Moland schrieb:
Hello,

I see on myfaces.apache.org there is a maven apt plugin - does this
actually work?

Yes,
the plugin based on the work from Juraj Burian
see:
http://jira.codehaus.org/browse/MNG-1672

beehive has also a maven-apt-plugin

http://svn.apache.org/repos/asf/beehive/sandbox/maven2/maven-apt-compiler/

And are there any examples out there on how to use it?

Please look at the pom.xml in
http://svn.apache.org/repos/asf/myfaces/tobago/trunk/core
or
http://svn.apache.org/repos/asf/myfaces/tobago/trunk/contrib/facelets/

You can find some little documentation at:

http://myfaces.apache.org/tobago/tobago-tool/maven-apt-plugin/howto.html

How do I pass in the classpath and how can the plugin know where the
processor factories are?

the processor is included as a provided dependency in the dependency section and the factory is a configuration option.

And what is the groupId/artifactId of the plugin?

<groupId>org.apache.myfaces.tobago</groupId>
<artifactId>maven-apt-plugin</artifactId>



Thanks in advance,
Rohnny


Regards

Bernd

--
Dipl.-Ing. Bernd Bohmann - Atanion GmbH - Software Development
Bismarckstr. 13, 26122 Oldenburg, http://www.atanion.com
phone: +49 441 4082312, mobile: +49 173 8839471, fax: +49 441 4082333

Reply via email to