Upgrade the TeamForge-Nexus integration plugin

CollabNet releases new versions of the TeamForge-Nexus integration plugin. It is recommended to upgrade your TeamForge-Nexus integration plugin whenever a new version is available.

  1. Log on to the Nexus server.
  2. Stop Nexus if it's running.

    Linux:

    • ./bin/nexus stop

    Windows:

    • \bin\nexus stop
  3. Modify the ctf_nexus.properties file.
    • vim sonatype-work/nexus/conf/ctf_nexus.properties
    1. Replace TIME_TO_HOLD_CACHE=60 with the following two properties:
      • TIME_TO_HOLD_USER_CACHE=1800
      • TIME_TO_HOLD_PERMISSION_CACHE=1200
      Note: TIME_TO_HOLD_USER_CACHE and TIME_TO_HOLD_PERMISSION_CACHE are in seconds.
  4. Back up the existing TeamForge-Nexus integration plugin directory: <nexus-work-directory>/nexus/plugin-repository/CTF-Nexus-Integration-Plugin-1.0.2.
  5. Download the CTF-Nexus-Integration-Plugin-2.1.1.zip file.
  6. Unzip the CTF-Nexus-Integration-Plugin-2.1.1.zip file you downloaded into the <nexus-work-directory>/nexus/plugin-repository/ directory.

    Linux:

    • cd <nexus-work-directory>/nexus/plugin-repository
    • unzip CTF-Nexus-Integration-Plugin-2.1.1.zip

    Windows: Use a utility such as WinRAR.

  7. Start Nexus.

    Linux:

    • cd <nexus-install-directory>
    • ./bin/nexus start

    Windows:

    • cd <nexus-install-directory>
    • \bin\nexus start