Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
<settings xmlns="http://maven.apache.org/POM/4.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
                      http://maven.apache.org/xsd/settings-1.0.0.xsd">
  <servers>
    <server>
      <id>people.apache.org</id>
      <username>akarasulu</username>
      <privateKey>/home/akarasulu/.ssh/id_dsa</privateKey>
      <filePermissions>664</filePermissions>
      <directoryPermissions>775</directoryPermissions>

      <!--
        My latest permission problems when deploying solved the following configuration addition,
        see also http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-external.html quite
        in the middle of the page "If you are deploying from Unix or have Cygwin ..." - I needed the configuration
        in contradiction what the doc says ...
      -->
      <configuration>
        <sshExecutable>ssh</sshExecutable>
        <scpExecutable>scp</scpExecutable>
      </configuration>
    </server>
  </servers>
  <profiles>
    <profile>
      <id>release</id>
      <properties>
        <gpg.passphrase>****</gpg.passphrase>
        <!-- Sample for alternative deployment repository
          <release.altDeploymentRepository>-DaltDeploymentRepository=apache.release::default::scpexe://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</release.altDeploymentRepository>
        -->
      </properties>
    </profile>
  </profiles>
</settings>

...