title: How to use a Multidimensional List as a Parameter for a Maven Plugin
body: <p>I'm currently developing a Maven Plugin and have a little issue using the possibility of parameters.</p>
  
  <p>What I want to achieve is that an entry in the Maven Projects POM that uses my plugin (like this):</p>
  
  <pre><code>&lt;configuration&gt;
   &lt;values&gt;
      &lt;value&gt;
          &lt;valueList&gt;
              &lt;thing1&gt;test1&lt;/thing1&gt;
              &lt;thing2&gt;something.xml&lt;/thing2&gt;
              &lt;thing3&gt;asdf&lt;/thing3&gt;
          &lt;/valueList&gt;
      &lt;/value&gt;
      &lt;value&gt;
          &lt;valueList&gt;
              &lt;thing1&gt;test2&lt;/thing1&gt;
              &lt;thing2&gt;somethingelse.xml&lt;/thing2&gt;
              &lt;thing3&gt;asdf&lt;/thing3&gt;
          &lt;/valueList&gt;
      &lt;/value&gt;
   &lt;/values&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>leads to a list Object of the name Values containing list elements with the values thing1,thing2,thing3 etc.</p>
  
  <p>What I tried was adding this to my code:</p>
  
  <pre><code>/**
  * @parameter 
  */
  private List&lt;String&gt; valueList;
  
  /**
  * @parameter 
  */
  private List&lt;List&gt; values;
  </code></pre>
  
  <p>But when I try to run it like this I get the following error:</p>
  
  <pre><code>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site) on project *myproject*:
  failed to get report for *myplugin*:
  Unable to parse configuration of mojo *myplugin*:startReport for parameter Values:
  Cannot determine child type: *myplugin*.ValueList -&gt; [Help 1]
  </code></pre>
  
  <p>So my question is:</p>
  
  <p>How can I use a Multidimensional List as a parameter for my plugin or are there any other ways to get the result I want to achieve?</p>
  
  <p>//<strong><em>_</em>__</strong>
  EDIT
  I need the Strings from valueList for an Object in my Project.
  This Objects Constructor needs three Strings. Each Object should (if possible) be stored into an Array.
  The POM should then look like this:</p>
  
  <pre><code>&lt;arrayOfObjects&gt;
      &lt;arrayOfObject&gt;
          &lt;Object&gt;
              &lt;value1&gt; one &lt;/value1&gt;
              &lt;value2&gt; two &lt;/value2&gt;
              &lt;value3&gt; three &lt;/value3&gt;
          &lt;/Object&gt;
          &lt;Object&gt;
              &lt;value1&gt; uno &lt;/value1&gt;
              &lt;value2&gt; dos &lt;/value2&gt;
              &lt;value3&gt; tres &lt;/value3&gt;
          &lt;/Object&gt;
      &lt;/arrayOfObject&gt;
  &lt;/arrayOfObjects&gt;
  </code></pre>
  
  <p>This should then generate an "arrayOfObjects" with two Objects in it.
  //<strong><em>_</em>__</strong></p>