You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Lewis, Eric" <Er...@ipi.ch> on 2009/07/09 10:51:30 UTC

General purpose source generation plugin?

Hi

Am I missing something or is there no general purpose source generation plugin?
I've written some plugins which generate files using Velocity, and that works well. However, I think that having to write a plugin every time that I want to generate a file is kind of overkill.

So, do you know any plugin that does source generation?

I've only found a plugin in Google code (can't find the URL right now), which hasn't had a release yet and which is totally undocumented.

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


Re: General purpose source generation plugin?

Posted by JC <jc...@gmail.com>.
Have you tried APT-Jelly plugin?
http://mojo.codehaus.org/apt-maven-plugin/

I miss a Freemarker plugin.
In Codehaus sandbox repo there is a Freemarker plugin. I don't know if that
plugin works fine or not, but you can try (or write your own).

As you did with Velocity you will need to write some templates (for both
APT-Jelly or Freemarker plugin) to generate what you need.

Regards
Joao Carlos

On Tue, Jul 14, 2009 at 8:46 AM, Lewis, Eric <Er...@ipi.ch> wrote:

> Anyone?  :-)
>
> > -----Ursprüngliche Nachricht-----
> > Von: Lewis, Eric [mailto:Eric.Lewis@ipi.ch]
> > Gesendet: Donnerstag, 9. Juli 2009 10:51
> > An: Maven Users List
> > Betreff: General purpose source generation plugin?
> >
> > Hi
> >
> > Am I missing something or is there no general purpose source
> > generation plugin?
> > I've written some plugins which generate files using
> > Velocity, and that works well. However, I think that having
> > to write a plugin every time that I want to generate a file
> > is kind of overkill.
> >
> > So, do you know any plugin that does source generation?
> >
> > I've only found a plugin in Google code (can't find the URL
> > right now), which hasn't had a release yet and which is
> > totally undocumented.
> >
> > Best regards,
> > Eric
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

AW: General purpose source generation plugin?

Posted by "Lewis, Eric" <Er...@ipi.ch>.
Anyone?  :-) 

> -----Ursprüngliche Nachricht-----
> Von: Lewis, Eric [mailto:Eric.Lewis@ipi.ch] 
> Gesendet: Donnerstag, 9. Juli 2009 10:51
> An: Maven Users List
> Betreff: General purpose source generation plugin?
> 
> Hi
> 
> Am I missing something or is there no general purpose source 
> generation plugin?
> I've written some plugins which generate files using 
> Velocity, and that works well. However, I think that having 
> to write a plugin every time that I want to generate a file 
> is kind of overkill.
> 
> So, do you know any plugin that does source generation?
> 
> I've only found a plugin in Google code (can't find the URL 
> right now), which hasn't had a release yet and which is 
> totally undocumented.
> 
> Best regards,
> Eric
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org