title: Jenkins Linux master and Windows slave: Maven builds configuration
body: <p>I have a Linux Jenkins master in our network configured for Maven builds. To improve performance I decided to configure the Jenkins slave on a Windows machine (I don't currently have another Linux server for it). I have successfully added the Windows-based slave, but several questions stays unclear for me:</p>
  
  <ol>
  <li><p>Does Windows slave machine need its own Maven instance? If yes, how do I set it in the slave configuration?</p></li>
  <li><p>Can I configure my builds to be able to run on both Linux master and Windows slave?</p>
  
  <p>For example, the project configuration contains a Build section with "<em>Goals and Options</em>: <code>clean install -s /opt/hudson_home/m2-settings-bwa.xml -P -abgabe</code>". Unfortunately the path to the XML file is not valid in Windows. How should I configure both Linux and Windows environments (and projects) then?</p></li>
  </ol>