You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ro...@aciworldwide.com on 2008/01/25 13:42:13 UTC

Repeating resource collections

As I continue to move our Ant build to Maven artifacts, I have found 
myself repeating <resource> collections, particularly the <includes> and 
<excludes> criteria.

In ant, such duplication would be eliminated by defining FileSets and 
referencing them throughout the build. Is there any equivalent in Maven?


Robert Egan
--
This email message and any attachments may contain confidential, 
proprietary or non-public information.  The information is intended solely 
for the designated recipient(s).  If an addressing or transmission error 
has misdirected this email, please notify the sender immediately and 
destroy this email.  Any review, dissemination, use or reliance upon this 
information by unintended recipients is prohibited.  Any opinions 
expressed in this email are those of the author personally.

Re: Repeating resource collections

Posted by Wim Deblauwe <wi...@gmail.com>.
maybe you can use a common parent pom that defines those?

regards,

Wim

2008/1/25, robert.egan@aciworldwide.com <ro...@aciworldwide.com>:
>
> As I continue to move our Ant build to Maven artifacts, I have found
> myself repeating <resource> collections, particularly the <includes> and
> <excludes> criteria.
>
> In ant, such duplication would be eliminated by defining FileSets and
> referencing them throughout the build. Is there any equivalent in Maven?
>
>
> Robert Egan
> --
> This email message and any attachments may contain confidential,
> proprietary or non-public information.  The information is intended solely
> for the designated recipient(s).  If an addressing or transmission error
> has misdirected this email, please notify the sender immediately and
> destroy this email.  Any review, dissemination, use or reliance upon this
> information by unintended recipients is prohibited.  Any opinions
> expressed in this email are those of the author personally.




-- 
Vigilog - an open source log file viewer: http://vigilog.sourceforge.net
Blog: http://www.jroller.com/page/Fester