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
53
votes
3answers
5k 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 ...
21
votes
1answer
3k 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 ...
16
votes
2answers
3k 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 ...
16
votes
2answers
4k 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 ...
15
votes
1answer
221 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
5k 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, ...
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 ...
12
votes
1answer
214 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 ...
11
votes
2answers
2k 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 ...
10
votes
1answer
4k 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) ?
10
votes
1answer
328 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
226 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
1answer
1k 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-...
9
votes
3answers
4k 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 ...
9
votes
1answer
651 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. ...
9
votes
1answer
3k 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 (...
9
votes
2answers
794 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
3answers
385 views

Did Google accidentally release Product Sans/Google Sans font in Apache License?

I found that Google uploaded Product Sans font to a repo licensed under Apache License 2.0: https://github.com/google/iosched-ios/blob/master/Source/IOsched/ProductSans-Regular.ttf Can the font file ...
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
1answer
1k 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

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 ...
8
votes
1answer
2k views

How to properly assemble NOTICE file for new software under Apache License 2.0

Apache provides NOTICE boilerplate for a new software projects which are going to be released under this license. I'm going to release my project under that license, so it actually doesn't contain any ...
8
votes
1answer
190 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?
7
votes
1answer
127 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 ...
7
votes
1answer
2k 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 ...
7
votes
1answer
181 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
675 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 ...
7
votes
1answer
131 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
651 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
2answers
142 views

Does renaming compiled Java packages violate the Apache license?

For technical reasons (classloader issues), I need to rename the packages of the compiled version of an Apache library when I build my application, (which includes my code and the Apache code, a so-...
7
votes
1answer
8k views

Can I use a Apache v2 licensed driver for a commercial project without revealing sources of the project?

I am building a project that will be commercialised. One of the library I use is licensed under Apache v2. To my understanding, if I modify the library, I need to give the source of the library with ...
7
votes
2answers
596 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
206 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
682 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 ...
7
votes
0answers
2k views

Can I copy code licensed under Apache 2 to a project licensed under MIT? [duplicate]

I found a useful class in a project that is licensed under Apache 2.0. Can I copy it to a project licensed under MIT license? Add the library as dependency is not an option. Ideally the answer should ...
6
votes
2answers
97 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
2answers
402 views

What exactly does “If You […] litigation is filed” from Apache2 license mean?

I am not an native English speaker so the paragraph below is really hard for me to understand. From https://www.apache.org/licenses/LICENSE-2.0: If You institute patent litigation against any ...
6
votes
2answers
811 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
197 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
143 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 ...
6
votes
1answer
833 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 (...
6
votes
1answer
154 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
128 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, ...
6
votes
1answer
797 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
377 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
3k 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
2answers
917 views

GitHub repo with Apache License version 2 in package.json, but no full license copy nor comment headers

So I've forked a (declared by the owner) unmaintained Node.JS project on GitHub which uses the Apache License, version 2 in the package.json only: [...] "license": "Apache-2.0" [...] However ...
5
votes
1answer
203 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
432 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
274 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 ...