You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Daniele Dellafiore <il...@gmail.com> on 2008/02/27 19:46:04 UTC
More than one source folder
Is possible to configure pom to have more than one source folder? How?
And if so, does the eclipse plugin support this?
I am managing a pom for a project with external svn java sources that
are, say, under /vendor/projectX/src
If I specify the external source folder as a resource in pom, eclipse
plugins put that folder in the build path but excludes *.java so it is
of no use and is a workaround.
Thanks.
--
Daniele Dellafiore
http://blog.ildella.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: More than one source folder
Posted by Daniele Dellafiore <il...@gmail.com>.
rock'n'roll! :)
On Wed, Feb 27, 2008 at 8:07 PM, Sebastian Johnck <ze...@yahoo.com> wrote:
> Check out build-helper plugin
>
> Here is how I use it
>
> <!--Getting the generated source dir added -->
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>build-helper-maven-plugin</artifactId>
> <version>1.0</version>
> <executions>
> <execution>
> <id>add-source</id>
> <phase>generate-sources</phase>
> <goals>
> <goal>add-source</goal>
> </goals>
> <configuration>
> <sources>
>
> <source>${basedir}/target/generated-sources/java</source>
> </sources>
> </configuration>
> </execution>
> </executions>
> </plugin>
>
>
> --- Daniele Dellafiore <il...@gmail.com> wrote:
>
> > Is possible to configure pom to have more than one
> > source folder? How?
> > And if so, does the eclipse plugin support this?
> >
> > I am managing a pom for a project with external svn
> > java sources that
> > are, say, under /vendor/projectX/src
> > If I specify the external source folder as a
> > resource in pom, eclipse
> > plugins put that folder in the build path but
> > excludes *.java so it is
> > of no use and is a workaround.
> >
> > Thanks.
> >
> > --
> > Daniele Dellafiore
> > http://blog.ildella.net/
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > users-unsubscribe@maven.apache.org
> > For additional commands, e-mail:
> > users-help@maven.apache.org
> >
> >
>
>
>
>
> ____________________________________________________________________________________
> Looking for last minute shopping deals?
> Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Daniele Dellafiore
http://blog.ildella.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: More than one source folder
Posted by Sebastian Johnck <ze...@yahoo.com>.
Check out build-helper plugin
Here is how I use it
<!--Getting the generated source dir added -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${basedir}/target/generated-sources/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
--- Daniele Dellafiore <il...@gmail.com> wrote:
> Is possible to configure pom to have more than one
> source folder? How?
> And if so, does the eclipse plugin support this?
>
> I am managing a pom for a project with external svn
> java sources that
> are, say, under /vendor/projectX/src
> If I specify the external source folder as a
> resource in pom, eclipse
> plugins put that folder in the build path but
> excludes *.java so it is
> of no use and is a workaround.
>
> Thanks.
>
> --
> Daniele Dellafiore
> http://blog.ildella.net/
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> For additional commands, e-mail:
> users-help@maven.apache.org
>
>
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org