Questions tagged [apache-2.0]

The Apache 2.0 license is a license created by the Apache Software Foundation. Use this tag when the item in question relates to this license.

Filter by
Sorted by
Tagged with
52
votes
3answers
4k views

Should I include license text in a single file or all source files?

Many licenses, such as Apache 2.0, have both a long and a short form. Typically, the long form is included in the repository as a single LICENSE file, and the short form is used in the actual source ...
15
votes
1answer
212 views

What license must I use on a commercial version of an open source project?

Suppose I have published a project under the Apache 2.0 (or similarly permissive license). Internally I have another version of the same project, which provides significantly extended functionality ...
15
votes
1answer
2k views

What does “express grant of patent rights from contributors to users” mean?

I'm trying to choose which open source license I should use in my app, and in the description for one of the licenses, it says the license provides an "express grant of patent rights from contributors ...
14
votes
2answers
2k views

Combining code written under different licenses (Eiffel Forum License, MIT and Apache), what are my options?

So I'm new to all this licensing jazz, and I've just started work on a project I'd like to one day publish as open source. I've found a couple of projects so far that have code to accomplish stuff ...
14
votes
3answers
1k views

How does one combine differently licensed code in one open source program?

I'm the author of WorldPainter. It's licensed according to the GPL v3, but I am about to include some code (dynmap) that is licensed according to the Apache License version 2.0. According to both ...
14
votes
2answers
3k views

Can I link a Apache 2.0 library into software under GPLv2?

The Apache 2.0 License has a built-in linking exception: For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to ...
14
votes
1answer
4k views

Against what does the Apache 2.0 patent clause protect?

The Apache 2.0 patent clause says: Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, ...
11
votes
1answer
153 views

Can I resubmit someone else's pull request if he does not sign CLA?

Someone helped with progress upstream at an open source project I really rely on. He basically did what I was not capable of and now I am waiting for his pull request to be merged and included in ...
10
votes
1answer
276 views

What am I supposed to do if someone is breaking the terms of my licensed software?

What should I do if someone is breaking the terms of my licensed software? To create a small example for you, I'll take a section out of the Apache 2.0 license: You may add Your own copyright ...
10
votes
1answer
174 views

What are the requirements of the crayon license for the Penn Tree Bank Tokenizer

The Penn Treebank tokenizer is fairly widely used. It is a solid tokenizer, that is based only on regex. For example, it is a word tokenizer in NLTK. NLTK does not make mention of it in their LICENSE....
9
votes
2answers
1k views

Is it possible to include a shorter form of a license if the license would be longer than the content licensed?

For example, Gists on GitHub don't have a field to track the license that they are available under. You can simply choose to create a public Gist or a secret (private) Gist. Many of the open source ...
9
votes
1answer
546 views

What if anything is wrong with the Apache License 2.0?

I occasionally see claims that the Apache license makes it difficult to incorporate your code into other projects. See for example: That's awfully disconcerting news, considering the difficulties ...
8
votes
1answer
1k views

Android - External library license in project

I'm building my first Android app and I imported two external GitHub libraries into my project. Both of these libraries use Apache License v2.0 and the LICENSE file says: If the Work includes a "...
8
votes
3answers
3k views

Linking from LGPL 2.1 software to Apache 2.0 library

The FSF claims that GPL v2 is incompatible with Apache 2.0 and that linking to a library generally creates a derivative work of this library. However, the linking exception of the LGPL allows ...
8
votes
1answer
703 views

Adding feature to an Apache v2 package

I'm working on one npm package based on another one but with another approach, this package is licenced under Apache v2 and I want to use MIT. After some use of my package I've noticed I need to use ...
8
votes
1answer
2k views

How to mark a copied Apache v2 piece of code?

As stated in the tile, I want to know how should one mark code(functions or pieces of code smaller than 50% of the source file) copied from non copyleft sources (e.g Apache) ?
8
votes
1answer
439 views

Does the Apache 2 License cover non-code?

I am open-sourcing an OpenGL project out of a desire to share the code. However, I would like to deter anyone from compiling my project as is and publishing it with the same icon, images, and models. ...
8
votes
1answer
2k views

Sell software that uses libraries licensed under Apache Licence 2.0

I didn't find any definite answers on the web so I'm asking for a definite answer to the question: Am I allowed to sell software that was written completely by myself except for the ZXing library (...
7
votes
1answer
483 views

Patent rights: BSD-3-Clause-Clear vs BSD-3-Clause

While the BSD-3-Clause is well known and thoroughly discussed here and elsewhere, I have been unable to find much information on precisely how the additional patent stipulation in the BSD-3-Clause-...
7
votes
1answer
157 views

Is having a repository on GitHub considered distribution?

TL;DR Is having a repository on GitHub considered distribution in the sense of a license? Description I have some repositories on GitHub. Now I modified a file for a project. The file was licensed ...
7
votes
1answer
100 views

DCMA Takedown Notice received for distributing software licensed under Apache 2.0

A browser plugin was removed from one of the app stores last year as it had stopped working, and the author was no longer maintaining it in favor of their standalone desktop apps. I preferred using ...
7
votes
1answer
477 views

Commercial software using open source library: legal notice

Is there any legal constraint saying that a commercial software must quote the open source libraries and public domain libraries regardless of the open source license type? For example, let's say I ...
7
votes
1answer
2k views

Apache 2.0 license - NOTICE, CHANGELOG

I have a question about the NOTICE and CHANGELOG files in Apache 2.0 license. Here is the situation: I based my work on an Apache 2.0 licensed project. I did some minor changes (compared to the ...
7
votes
2answers
323 views

Do I lose the right to use my patent after contributing to a project with Apache License 2.0?

Apache License 2.0: Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, ...
7
votes
1answer
168 views

org-rs: can I use MIT/Apache2/LGPL license?

I am working on a project https://github.com/org-rs/org-rs written in Rust programming language. The goal of the project is to provide a parser for the Org markup language. Because of the ...
7
votes
1answer
100 views

Apache-2.0 and Apache-1.1 compatibility

Can I use a package of Apache-1.1 license and a package of Apache-2.0 license and distribute the resulting package under Apache-2.0 license? Is there a conflict between Apache-1.1 and Apache-2.0?
6
votes
2answers
90 views

Can I take a few classes out of a library and use it in my project or should I always use the entire library?

Let's say I need a piece of functionality and there is a library on GitHub, licensed under Apache 2.0, that provides that funcionality. There are a couple of use cases that can occur that I would ...
6
votes
1answer
938 views

Rules for appropriate editing of copyright notices in cloned, Apache-2.0-licenced, opensource repositories

I have cloned a repo under the Apache 2.0 licence and am changing content. under section 4 of the licence: a. You must cause any modified files to carry prominent notices stating that You changed ...
6
votes
2answers
601 views

Benefits of a CLA when using Apache 2.0 License

I understand that there are benefits to CLA for some licenses (as well as drawbacks and tradeoffs), however the Apache 2.0 License already has section 5 stating the following: Submission of ...
6
votes
1answer
152 views

How does Bootstrap v4 (MIT) deal with contributions made under v3 (Apache 2.0)?

Bootstrap version 4 is under MIT license. Bootstrap version 3 and earlier ones were under Apache license 2.0. Bootstrap version 4 probably inherits some source code from Bootstrap version 3. Then, ...
6
votes
1answer
126 views

Concise GPL requirements summary list

I find the current version of the GPL to be relatively short and easy to read. However, some people seem to see a wall of text and cannot get through it. Thus we have many questions asked here that ...
6
votes
1answer
598 views

Dual license Apache2.0 GPLv3 for a library with optionnal GPLed code

I have an audio library that optionally uses a GPL sub-library for computing the FFT (FFTW3). At compile time, I can disable FFTW3 and use another FFT implementation (which is slower than FFTW3, but ...
6
votes
1answer
265 views

LGPL3 library in Apache 2.0 licensed library

Can I open source my project under Apache 2 if it uses a LGPL3 library without modifying it? I'm not planning to distribute the LGPL3 library along with the code. My understanding is that LGPL3 ...
5
votes
2answers
2k views

Can I relicense my own GPL code into Apache/MIT? [duplicate]

Suppose that I distribute my own code with a GPL license, even though the code use just external MIT or Apache code. In particular, no preexisting GPL code is in it. Can I later relicense it under ...
5
votes
1answer
104 views

Are there legal reasons blocking the use of Apache 2 License in France

A French citizen has suggested that there are legal reasons why he cannot contribute to a project using the Apache 2 license. I responded saying: French people have contributed to such things ...
5
votes
2answers
334 views

Dual license or relicense when the new license is more permissive?

An organization is considering changing the license of an OSS repo on GitHub. For the purposes of this question, assume that organization has the legal rights to change the license. It is currently ...
5
votes
1answer
84 views

Is there a legal definintion of a file?

The MIT, GPL, and Apache Licenses all make references to "files". Here are example of such references: (all emphasis added) MIT: Permission is hereby granted, free of charge, to any person ...
5
votes
1answer
177 views

Using Apache License 2.0 library inside a company

I implemented a little console application in C# (tool) that can go through the web pages on the site and get information, links, files from them. I used Selenium for this purpose. Two nuget packages ...
5
votes
1answer
537 views

Does the Apache license provide any benefit if I don't have any patents?

As far as I understand, the Apache 2.0 license is a fairly permissive license. It seems to me as if the only difference between the Apache license and other licenses (such as the MIT license), is the ...
5
votes
1answer
50 views

Accidentally used ASF license header instead of normal Apache License V2 header

During the early phases of a (team) project on GitHub, I had copy-pasted the Apache Software Foundation's license header into our code as opposed to the usual License header. I hadn't realized for ...
5
votes
1answer
254 views

Proper way of “migrating” MIT-licensed code to Apache 2.0 License

I am building a software which I plan to release with Apache 2.0 License and some components are code based from a repository released with MIT License. MIT License states: "The above copyright ...
5
votes
1answer
138 views

GitHub workflow and Apache License

The Apache License requires: 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object ...
5
votes
2answers
2k views

Placement of copyright and license variables within Python source?

As mentioned in a previous question about the Apache 2.0 code header, I mentioned having the code header which is recommended by the Appendix of the Apache 2.0 license. However there are two fields ...
5
votes
1answer
438 views

Include Appendix of Apache 2.0 in LICENSE file?

I want to use the Apache 2.0 License on one of my projects. Apache 2.0 recommends putting a boilerplate header in each code file right before module level documentation in it's Appendix section (...
5
votes
1answer
105 views

License that requires attribution to end users?

I'm looking for an open source license that requires attribution to end users. Thus far, I've looked at the MIT license and Apache 2.0. But I am not convinced that they require attribution to end ...
5
votes
1answer
74 views

Modifying file without copyright under Apache 2.0

I'd like to use a modified version of a certain file from an open source project that is licensed under the Apache 2.0. The file itself doesn't contain copyright notice neither the project does. Now, ...
5
votes
1answer
207 views

How do I comply with the “bundle the license text” requirement of Apache 2.0 for embedded software?

I'm writing software for a "closed" embedded device. I want to use fonts licensed under the Apache 2.0 license in it. I know it's legal to do that, but I'm stumbling over this text from the license: ...
5
votes
1answer
36 views

Combining software and image licensing in the same repository

I have a project under Apache license on GitHub. I want to add some non-text stuff into repository (logo). Can I use Apache license for an image? If not, what CC license is most 'aligned' with Apache ...
5
votes
2answers
50 views

Is it OK to change url scheme for the links to Apache 2 license?

For an open source project is it OK to modify the original LICENSE.txt file from https://www.apache.org/licenses/LICENSE-2.0.txt and also the source file headers to use https instead of http for the ...
5
votes
1answer
1k views

APLv2: How to specify notices of all changes in a class?

I changed a class which is under the license Apache License Version 2.0. According to the license - for redistribution of the changed version I should specify changes in a class. Notification of ...