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
54
votes
3answers
6k 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 ...
16
votes
2answers
4k 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 ...
4
votes
1answer
530 views

Does a program need to show the open source license (Apache 2.0) of its components?

The Apache 2.0 license defines (emphasis added): "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice ...
18
votes
1answer
6k 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, ...
3
votes
1answer
326 views

Does inbound=outbound apply to Apache 2.0 without a CLA?

The traditional expectation for contributions to a free software project are "inbound=outbound" [1] [2]. That is, if the project is under license X, contributions are made under license X. Does this ...
11
votes
2answers
1k 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 ...
12
votes
1answer
17k 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 ...
8
votes
1answer
3k 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 ...
9
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 ...
20
votes
2answers
5k 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 ...
10
votes
1answer
385 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 ...
4
votes
2answers
364 views

What additional benefits does the DCO provide?

If my project has a lax license (like Expat/MIT), I can enforce "inbound=outbound" by requiring that contributors sign off their commits in order to acknowledge the Developer Certificate of Origin. I'...
9
votes
1answer
2k 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 "...
25
votes
1answer
5k 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 ...
9
votes
3answers
5k 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 ...
3
votes
2answers
3k views

I'm using 2 libraries licensed under Apache 2.0. How do I comply if my app is proprietary software and I'm not modding the libraries?

How do I comply with the apache 2.0 license in this context. Neither of these libraries have a notice file. Do I just include the apache 2.0 license to be available with my app's release (like in the ...
8
votes
1answer
1k 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 (...
4
votes
3answers
874 views

Can an NPM package have an MIT license on github if it depends on MIT packages with BSD-2, BSD-3 and Apache 2 licenses

I am trying to understand if an NPM package can be open-source on GitHub with an MIT license if it depends on NPM packages that are open-source on GitHub with a BSD-2, BSD-3, Apache 1 or Apache 2 ...
4
votes
1answer
326 views

Can I Commit LGPL3 Derivative Work To An Apache 2 Licensed Project?

I am using a helpful project that is licensed under the LGPL3. I have taken some of the useful code out of it and refactored it into a wrapper class and would like to add it to an upstream project. ...
10
votes
1answer
259 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....
6
votes
1answer
1k 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
695 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
206 views

Using public domain code within Apache-or-MIT licensed project

I'm interested in borrowing functions from a file in a project dual-licensed as MIT-or-UNLICENSE in my package that I intend to also be dual-licensed as Apache-or-MIT. Is this possible? How should I ...
3
votes
2answers
3k views

Apache License 2.0-licensed code included in commercial closed source software

I spent an hour looking for an answer to this question, although I would think a quite common situation, I did not get a totally clear answer to my specific case: So I am selling a (P)roduct which is ...
7
votes
1answer
247 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 ...
4
votes
1answer
508 views

Merge, rebrand, relicense projects

There are two libraries under MIT, that do the same thing, each with some pros and cons. I'd like to merge them, effectively reworking the public API, but keeping the underlying logic (code). The ...
4
votes
1answer
92 views

Clone, modify and rename Apache v2 licensed project

There's an OS project that I like (and would want to contribute), however, it's very inactive and there are PRs that stayed unreviewed even for years. I'd want to create a clone and take control of it....
3
votes
2answers
925 views

Monetizing and licensing with AGPL libraries

I am just curious about, what license should i use for app(android), i have written in my free time. I am using some libraries, which have this licenses on it: Apache 2.0 license MIT license GNU ...
3
votes
2answers
576 views

How can I open source a repository on GitHub by using Apache license in only one file?

To license a project in GitHub, can I do it like this: There are many files like src->Java, res, etc for my Android app So I want to use Apache license v 2.0 for open sourcing it So will the ...
2
votes
1answer
102 views

OpenJDK GPLv2+CPE and Spring (Apache 2.0). Can I use them together?

I understood Apache 2.0 is not compatible c GPLv2, but OpenJDK uses GPLv2 with CPE. Apache 2.0 allows linking CPE allow linking. So can I use it together without modification code of OpenJDK: OpenJDK (...
1
vote
1answer
911 views

Java OpenJDK 11 and Spring licenses

I'm developing a web application with Spring (and Spring Boot) and Open JDK 11 and I'm very confused about their licenses and how I can combine them. Open JDK 11 is released under GPL GNU 2 (with ...