code: @Override
      public MavenWorkingSession execute(final MavenWorkingSession session) {
          try {
              Validate.isReadable(settingsXmlFile, "Path to the settings.xml ('" + settingsXmlFile
                      + "') must be defined and accessible");
          }
          // rewrap exception
          catch (IllegalArgumentException e) {
              throw new InvalidConfigurationFileException(e.getMessage());
          }
  
          return session.configureSettingsFromFile(null, settingsXmlFile);
      }
docs: /*
  (non-Javadoc)
  
  @see
  org.jboss.shrinkwrap.resolver.impl.maven.task.MavenWorkingSessionTask#execute(org.jboss.shrinkwrap.resolver.impl.maven
  .MavenWorkingSession)