Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: clarify some ssh issues.

...

  1. Run with extra flags to skip the code checks and running of the tests
    Code Block
    mvn -Pdeploy,nochecks deploy -Dmaven.test.skip.exec=true
    
  2. HIGHLY RECOMMENDED: use a "Master Mode" ssh connection to people.apache.org for the scp commands to use. This requires a fairly recent version of ssh. Basically, in your ~/etc/.ssh/ssh_config, make sure you have "ControlPath /tmp/%h-%p-%r" set. Then, in one window, run "ssh -Mv people.apache.org". Then run the deploy in another. The -v on the ssh connection will print things for each connection so you'll know it working. This is MUCH faster as SCP doesn't need to negotiate encryption stuff for every single file, doesn't need to open up lots of connections, etc....

If your user name on people.apache.org is not the same as your user name on your home system, you will need to add some configuration to your ~/.m2/settings.xml. The following works on the assumption that you've published your ssh
public key to people.apache.org.

Code Block

<settings>
  <servers>
    <server>
      <id>apache.releases</id>
      <username>bimargulies</username>
    </server>
    <server>
      <id>apache.snapshots</id>
      <username>bimargulies</username>
    </server>
  </servers>
<settings>

Maintaining a fixes branch

...