You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jared Bunting <li...@jaredbunting.com> on 2006/09/01 02:16:41 UTC
Re: [M2] org.apache.maven.plugins: includes not additive?
I know that maven doesn't use ant as of 2.0, but I would assume that the
includes/excludes concepts are inherited from the ant fileset. The way that
works, ALL files are included, unless one or more include elements are
specified. If they are specified, than that is your base include. I'm also
assuming that the compile plugin has some default excludes (.cvs, .svn,
etc). But, I'm with Wendy, why not just move the properties file to a
resources directory?
On 8/31/06, Wendy Smoak <ws...@gmail.com> wrote:
>
> On 8/31/06, Andreas Guther <An...@markettools.com> wrote:
>
> > To include files to the org.apache.maven.plugins compile process one has
> > to specify those files in the configuration/includes section.
> ...
> > Is this a general behavior in Maven with the includes section or is this
> > something specific to the compiler plug-in?
>
> I think that's how it always works. In particular I've noticed that
> if you have any includes, then you have to also re-state the default
> of src/main/resources if you also want that included. (It can be
> important during a conversion when you may have things in both
> places.)
>
> Of course, moving all non-Java files to src/main/resources fixes this. :)
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>