proper format for mult-value options.

Claude Warren <[email protected]> Thu, 28 May 2026 17:02:46 +0100
Newsgroups gmane.comp.jakarta.turbine.maven.devel
Message-ID <CAOQrJk5=h5tT3GPx-3TKbD2jdYwLxM2657kbGB023G8UxzHLpg@mail.gmail.com>
I am working on the RAT Maven Mojo and have a question about structuring
options.

In RAT we have the ability to explicitly include and exclude files (as one
would expect).  So I have defined <inputExcludes> and <inputIncludes>.
These options then take 1 or more file patterns.

For example:

<inputIncludes>
  <pattern>**/*.txt<pattern>
  <pattern>**/*.md</pattern>
</inputIncludes>
<inputExcludes>
  <pattern>target/**</pattern>
<inputExcludes>

My questions are:


   1. What is the Maven standard pattern for options that take multiple
   arguments?
   2. Is the above example possible?
   3. Should "pattern" be replaced wiih "inputExclude" and "inputInclude"
   respectively?
   4. Does Maven support something like:

<inputIncludes>
  <pattern>**/*.txt<pattern>
  <pattern>**/*.md</pattern>
  <scm>GIT<scm>
</inputIncludes>

Where "scm" represents a different type of option.  Ant has this concept
but I don't see it in Maven.

Thank you for your attention,
Claude




-- 
LinkedIn: http://www.linkedin.com/in/claudewarren