title: Where to save the setting-security.xml file to use Maven encryption?
body: <p>We are using TeamCity 9.1 and the default bundled Maven version 3.0.5</p>
  
  <p>In the build, we are using Maven to interact with a Nexus server.</p>
  
  <p>We would like to encrypt the password in the Maven settings.xml file as described in this article:
  <a href="http://maven.apache.org/guides/mini/guide-encryption.html" rel="noreferrer">http://maven.apache.org/guides/mini/guide-encryption.html</a></p>
  
  <p>This requires a settings-security.xml file which should be in the same folder as the Maven settings.xml one.
  The setting.xml file is saved in TeamCity, and deployed to the server as a custom "User settings selection" file - so I don't know where it is being deploy to on the agent.</p>
  
  <p>Where should we save the settings-security.xml file ?
  Should this be manually deployed to all the agents? and if so, in which folder should it be?
  (We have both Windows and Linux agents)</p>
  
  <p>I'm not sure what is the best practice to use an encrypted Maven password in TeamCity, so I'd appriciate any help.</p>
  
  <p>Thanks </p>