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.
- 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