我读了Apache许可证,2.0版和用简单的英语解释。的原文
好的,我复制了一个由世界上最好的公司分发的类,他们的许可证,并修改了一些代码。
/*
* Copyright (C) 2011 The Best Company in the World
*
* Licensed 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.
*/
package com.mypackage;
public class MyClass {
private void someMethod() {
// Their code
// My little change
}
}然后在我的应用程序中使用MyClass。
维基百科说:
Apache许可证被广泛地认为是允许的,但不是普遍的,因为它不要求使用相同的许可(不像版权许可--参见比较)发布软件的派生工作或对原始许可的修改。
发布于 2013-12-02 17:48:30
Apache License 2.0的第4节非常清楚地说明了在分发更改的文件时必须做什么:
如果您不分发这些修改(或者不在您的公司之外),您就不必做任何事情。版权许可证只在分发程序/库时起作用。
https://softwareengineering.stackexchange.com/questions/220068
复制相似问题