title: maven condition based on os family
body: <p>I am trying to do the following:</p>
  
  
  
  <pre class="lang-xml prettyprint-override"><code>                &lt;execution&gt;
                      &lt;id&gt;copy-jre&lt;/id&gt;
                      &lt;phase&gt;package&lt;/phase&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;unpack&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;artifactItems&gt;
                              &lt;artifactItem&gt;
                                  &lt;groupId&gt;com.sun&lt;/groupId&gt;
                                  &lt;artifactId&gt;jre&lt;/artifactId&gt;
                                  &lt;version&gt;${jdk.version}-${os.family}-x64&lt;/version&gt;
                                  &lt;type&gt;zip&lt;/type&gt;
                              &lt;/artifactItem&gt;                             
                          &lt;/artifactItems&gt;
                          &lt;outputDirectory&gt;${target-deployer.cnc.dir}/java/${os.family}/x86_64/&lt;/outputDirectory&gt;
                      &lt;/configuration&gt;
                  &lt;/execution&gt;
  </code></pre>
  
  <p>I want to copy dependency based on the os - windows or linux in my case.
  But I cant find the correct parameter</p>