Versions Compared

Key

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

...

During a release you have to type the passwords of your GPG and SSH keys real very often. Every DSpace module produces several files, all have to be signed and transfered to Sonatype. GPG and SSH agents help you to avoid typing passwords again and again. To use an ssh-agent just start it, export the required environment variables and add your ssh-key. To use a gpg agent start it, export the required environment variables and add the following to your ~/.m2/settings.xml:

Code Block
  <profile>
    <id>gpg-profile</id>
    <properties>
      <gpg.useagent>true</gpg.useagent>
    </properties>
  </profile>

Obviously, that should be outside of the <servers> tags but included within the <settings> tags. On each maven run it may ask you once about your password which is a big relieveimprovement.

Java Version

For DSpace 4.x or 5.x, you should be using Java 7. See

Jira
serverDuraSpace JIRA
serverIdc815ca92-fd23-34c2-8fe3-956808caf8c5
keyDS-3154

...