Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-11733

editing nexus-default.properties is not discouraged

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.2.0
    • Component/s: Installer
    • Labels:
    • Story Points:
      0.5
    • Release Note:
      Yes
    • Sprint:
      Sprint 84

      Description

      When you extract the nexus download archive, you notice a file at <install_dir>/etc/nexus-default.properties with uncommented property values.

      Because this file is similar enough in name to nexus.properties ( from nexus 2 ) and the properties file we intend for them to customize is only created on startup at sonatype-work/nexus3/etc/nexus.properties , people are starting to edit the nexus-default.properties file instead of the nexus.properties file.

      We keep seeing installations that have edited nexus-default.properties and not nexus.properties.
      We want to discourage editing nexus-default.properties because the location of that file means that the custom values put there are not moved during upgrade, defeating the purpose of supporting a nexus.properties file in the work directory in the first place.

      Acceptance criteria:

      • keep nexus-default.properties + add comments in the file explaining this file should not be edited
      • ensure that comments about 'not editing' are not copied to nexus.properties

        Attachments

          Activity

            People

            Assignee:
            bradbeck Brad Beck
            Reporter:
            plynch Peter Lynch
            Last Updated By:
            Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title