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

Reply via email to