You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamas Cservenak (Jira)" <ji...@apache.org> on 2023/03/11 21:57:00 UTC

[jira] [Commented] (MNG-7734) Default configuration file (settings.xml) contains copyright notice

    [ https://issues.apache.org/jira/browse/MNG-7734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17699288#comment-17699288 ] 

Tamas Cservenak commented on MNG-7734:
--------------------------------------

This file is part of distribution, and ASL2 applies. If user copies this file (with intent to modify it) the header can be removed as well.

Hence, if this is about the {{settings.xml}} included in distro, then header is expected (and AFAIK requirement) to be present (even simple logger properties has it).

If this is about user files, when the file is copied by user, it should be modified as well, and header can be removed.

> Default configuration file (settings.xml) contains copyright notice
> -------------------------------------------------------------------
>
>                 Key: MNG-7734
>                 URL: https://issues.apache.org/jira/browse/MNG-7734
>             Project: Maven
>          Issue Type: Wish
>          Components: Settings
>    Affects Versions: 3.9.0
>            Reporter: Philippe Cloutier
>            Priority: Minor
>
> [The default contents of Maven's settings.xml configuration file|https://gitbox.apache.org/repos/asf?p=maven.git;a=blob_plain;f=apache-maven/src/assembly/maven/conf/settings.xml;hb=HEAD] start with the following comment:
> {code:xml}
> <!-- 
> Licensed to the Apache Software Foundation (ASF) under one
> or more contributor license agreements.  See the NOTICE file
> distributed with this work for additional information
> regarding copyright ownership.  The ASF licenses this file
> to you under the Apache License, Version 2.0 (the
> "License"); you may not use this file except in compliance
> with the License.  You may obtain a copy of the License at
>     http://www.apache.org/licenses/LICENSE-2.0
> Unless required by applicable law or agreed to in writing,
> software distributed under the License is distributed on an
> "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> KIND, either express or implied.  See the License for the
> specific language governing permissions and limitations
> under the License.
>  -->
> {code}
> As a result, my organization has _settings.xml_ files which start with that copyright notice. This is confusing and distracting, making an already long file even longer. A casual look makes it seem as if that file is unmodified source, while it is in fact a configuration file.
> It is true that the file contains sizable test comments which must be subject copyright, so the notice is correct and has some value. However, its prominence (length and position, before even the file's description) increases the risk of confusion.
> Since copyright notices are not necessary to copyright protection, since the Apache License is permissive and since the value of copyrights on that file are limited, I recommend to remove that notice from settings.xml.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)