Hi,

Stephen Connolly wrote:

> I would put such template source files in src/main/java-templates and
> knock together a plugin that filters while copying the source to
> target/generated-sources/template and then adds that as a source root in
> one step.
>
> I would suggest to knock sth together at mojo since a lot if people seem
> to want this and an actual plugin will simplify their poms... And for test
> sources it can actually make sense. But there will be pain... For one the
> templates themselves will not be on the IDE source path so will not face
> IDE completion... But then templates will not be syntax correct anyway, so
> no bad thing

in his case, the templates are valid Java classes, with just some string 
constants containing the wrong value. As long as he configures the IDE not 
to put the compiled version into target/classes, he can still have the 
refactoring support ...

- Jörg


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

Reply via email to