You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jean-Marc Vanel <je...@gmail.com> on 2009/03/26 10:36:57 UTC
Maven extra sources and eclipse
Hi all
We have a projet (
http://eulergui.svn.sourceforge.net/viewvc/eulergui/trunk/eulergui/pom.xml
) using a parser generator , for which we have extra Java sources, not
for building with the application.
We generate the eclipse configuration with Maven, but I found no way
to specify these extra Java sources so that they appear in the eclipse
configuration.
Thanks for any hint
--
Jean-Marc Vanel
Consulting, services, training,
Rule-based programming, Semantic Web
http://jmvanel.free.fr/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Maven extra sources and eclipse
Posted by Markku Saarela <ma...@iki.fi>.
Hi,
You can use build-helper plugin and its goal add-source.
http://mojo.codehaus.org/build-helper-maven-plugin/
rgds,
Markku
Jean-Marc Vanel wrote:
> Hi all
>
> We have a projet (
> http://eulergui.svn.sourceforge.net/viewvc/eulergui/trunk/eulergui/pom.xml
> ) using a parser generator , for which we have extra Java sources, not
> for building with the application.
>
> We generate the eclipse configuration with Maven, but I found no way
> to specify these extra Java sources so that they appear in the eclipse
> configuration.
>
> Thanks for any hint
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Maven extra sources and eclipse
Posted by ksangani <xk...@yahoo.com>.
Did you write maven plugin to generate sources under target/generate-sources?
If so you can maven plugin api to add these extra source directories to
project.
Jean-Marc Vanel-2 wrote:
>
> Hi all
>
> We have a projet (
> http://eulergui.svn.sourceforge.net/viewvc/eulergui/trunk/eulergui/pom.xml
> ) using a parser generator , for which we have extra Java sources, not
> for building with the application.
>
> We generate the eclipse configuration with Maven, but I found no way
> to specify these extra Java sources so that they appear in the eclipse
> configuration.
>
> Thanks for any hint
> --
> Jean-Marc Vanel
> Consulting, services, training,
> Rule-based programming, Semantic Web
> http://jmvanel.free.fr/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Maven-extra-sources-and-eclipse-tp22719773p22733515.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org