Versions Compared

Key

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

...

On each maven run it may ask you once about your password which is a big improvement.

Java Version

For DSpace 6.x or above, you can use Java 8.
For DSpace 4.x or 5.x, you should be using Java 7. See  Unfortunately even disabling `doclint` on these branches seems to not be enough (See 

Jira
serverDuraSpace JIRA
serverIdc815ca92-fd23-34c2-8fe3-956808caf8c5
keyDS-3154
.  Unfortunately even disabling `doclint` on these branches seems to not be enough), so you really do need to find an old version of Java 7 around somewhere.

  • If you are using a recent version of Ubuntu (e.g. 16.04LTS or later), OpenJDK 7 is harder and harder to find. However, there are still some PPAs that have unmaintained copies (i.e. no security patches). This is good enough for installing on something like vagrant-dspace just do perform the release. Here's a PPA that has worked (as of July 2017):

    Code Block
    # Install the add-apt-repository command (if not available)
    sudo apt install software-properties-common
    # Add a PPA that has old 7 versions of OpenJDK
    sudo add-apt-repository ppa:openjdk-r/ppa
    sudo apt-get update
    # Install OpenJDK 7
    sudo apt-get install openjdk-7-jdk
    # Switch which Java alternative is in use (and select OpenJDK 7)
    # OBVIOUSLY, YOU SHOULD MAKE SURE TO SWITCH BACK AFTER THE RELEASE IS COMPLETE
    update-alternatives --config java
    # Check that the settings are now correct
    java -version

...


Use Maven 3 or above

Make sure you're using a recent version of Maven. As of this writing, Maven 3.0.5 is known to work.

...