Versions Compared

Key

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

...

Info
titleMany JavaDoc WARNING messages will scroll by

As the release process scrolls by, you likely will see a LOT of "WARNING" messages.  Don't worry, these should be just Javadocs warnings, and can be safely ignored.  Just be patient, and see if it all succeeds in the end.

...

What do successful tagging results look like?

Assuming everything worked right, you should see something like belowALL the following changes in GitHub:

  1. A newly tagged version of DSpace under: https://github.com/DSpace/DSpace/tags (and the "pom.xml" files in that tagged version should have <version> tags that correspond to the release version)
  2. All "pom.xml" files in the master branch should be updated to the next version.
  3. You should also see a results message like this. (Don't worry about the "SKIPPED" messages, those are normal, as the actual release process just runs from the "DSpace Parent Project")

    Code Block
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] DSpace Parent Project ............................. SUCCESS [2.320s]
    [INFO] DSpace Services Framework :: API and Implementation  SKIPPED
    [INFO] DSpace Kernel :: API and Implementation ........... SKIPPED
    [INFO] DSpace Addon Modules .............................. SKIPPED
    [INFO] DSpace Kernel :: Additions and Local Customizations  SKIPPED
    [INFO] DSpace XML-UI (Manakin) ........................... SKIPPED
    [INFO] DSpace XML-UI (Manakin) :: Local Customizations ... SKIPPED
    [INFO] DSpace LNI ........................................ SKIPPED
    [INFO] DSpace LNI :: Local Customizations ................ SKIPPED
    [INFO] DSpace JSP-UI ..................................... SKIPPED
    [INFO] DSpace JSP-UI :: Local Customizations ............. SKIPPED
    [INFO] DSpace SWORD ...................................... SKIPPED
    [INFO] DSpace SWORD :: Local Customizations .............. SKIPPED
    [INFO] DSpace SWORD v2 ................................... SKIPPED
    [INFO] DSpace SWORD v2 :: Local Customizations ........... SKIPPED
    [INFO] DSpace SOLR :: Local Customizations ............... SKIPPED
    [INFO] DSpace OAI 2.0 .................................... SKIPPED
    [INFO] DSpace OAI 2.0 :: Local Customizations ............ SKIPPED
    [INFO] DSpace Assembly and Configuration ................. SKIPPED
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------

What to do if you get tagging Errors?

 

Note
titleIf you receive a project dependency error

The mvn release:prepare command may fail to compile part way through the process, complaining that an internal project dependency is not met. If this occurs, don't worry. You just may need to ensure those dependencies get installed to your local cache.  To fix this, you should be able to run the following:

  1. mvn release:clean   (clean out any files created by the previous "mvn release:prepare")
  2. mvn install
  3. mvn release:prepare

...