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.
51
questions
62
votes
3
answers
9k
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 ...
20
votes
2
answers
5k
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 ...
9
votes
1
answer
5k
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 ...
24
votes
1
answer
10k
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, ...
6
votes
1
answer
2k
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 ...
12
votes
4
answers
8k
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 ...
5
votes
1
answer
587
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 ...
27
votes
1
answer
56k
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 ...
12
votes
2
answers
2k
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 ...
9
votes
1
answer
2k
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 ...
4
votes
1
answer
2k
views
How do I license my project which is based on Apache 2.0?
I'm working on an app for android. I found this project on GitHub licensed under Apache 2.0. I am planning to make modifications to the project and use it commercially. I am also planning to monetize ...
32
votes
1
answer
7k
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 ...
24
votes
3
answers
9k
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 ...
12
votes
1
answer
3k
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 (...
11
votes
1
answer
563
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 ...
9
votes
1
answer
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 "...
4
votes
1
answer
798
views
What type of notices and licenses do I need to add when adding (and modifying) code from an Apache 2.0 codebase to my own MIT codebase?
I want to add code from an Apache 2.0 software to my own code base which is MIT. I know that generally these are compatible but my worry is how to add the Apache 2.0 code with the appropriate ...
4
votes
2
answers
586
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'...
2
votes
1
answer
491
views
Using EPL 2.0 library as a node module in APL 2.0 project
I plan on using an EPL 2.0 Library in an Apache License 2.0 project as a dependency for the UI. I won't be modifying the source code but I believe when we do npm install to install the library, the ...
20
votes
2
answers
9k
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 ...
18
votes
2
answers
7k
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 ...
10
votes
1
answer
325
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
2
answers
2k
views
Dual license Apache2.0 GPLv3 for a library with optional 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 ...
9
votes
1
answer
5k
views
Requirements for using an Apache-licensed library
I am totally confused by these tons of copyright licenses that protect the libraries. I noticed that a lot of libraries are using the Apache License 2.0 and obviously I took a look at the license but ...
8
votes
1
answer
938
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.
...
8
votes
0
answers
3k
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 ...
7
votes
1
answer
442
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
1
answer
2k
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 ...
7
votes
2
answers
955
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
1
answer
457
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 ...
6
votes
1
answer
850
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 ...
6
votes
3
answers
6k
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 ...
5
votes
1
answer
1k
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....
5
votes
1
answer
184
views
Generated content protected as well?
I created an icon for an Android app with the tool Android Asset Studio.
The code of this tool is licensed under Apache 2.0. But I cannot find any copyright info on generated icons.
Are they ...
5
votes
1
answer
3k
views
Can MIT and Apache licenses be used together?
I am a web template seller and use different tools / libraries / plugins such as Bootstrap 5, jQuery, select2, wowbook, etc. which are under MIT and Apache licenses.
Are these two licenses compatible?
...
5
votes
2
answers
7k
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 ...
5
votes
1
answer
346
views
Interpretation of the Patent clause of Apache 2.0
While it is clear what a "Contributor" to an Apache 2.0 licensed software has to do when its work abide to the license I am struggling with what an user of an Apache 2.0 library has to do in the ...
4
votes
1
answer
2k
views
How to label and license Derivative Works made under Apache License, Version 2.0?
I duplicated a source-code file released under the Apache License, Version 2.0, made very few changes to adapt the code to slightly different situation. So this would seem to be a Derivative Works as ...
4
votes
2
answers
1k
views
Why is the GNU GPL v3 compatible with the Apache License v2.0?
I understand that the GNU GPL v2 and Apache License v2.0 are considered incompatible. The FSF's License List explains that this is "because [Apache] has some requirements that are not in that GPL ...
4
votes
1
answer
1k
views
Can I comply with Apache 2.0 license by adding the license text in the binary file?
I'm using an Apache 2.0 licensed library in my closed source software. Let's say I include the Apache 2.0 text file as a "const string" variable in my C code and make sure it makes it to the binary. ...
4
votes
1
answer
5k
views
Combining Apache 2.0 with closed source
I want to use a third party software C-library "A" commerially in a product "P" (in fact a firmware, running on a device).
The third party product "A" is subject to Apache 2 license.
That means, I ...
4
votes
1
answer
612
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
2
answers
6k
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 ...
3
votes
2
answers
742
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 ...
3
votes
1
answer
637
views
How exactly do I comply with open source software under Apache 2.0 if I'm only using some code and not all?
This is my first time posting here and I'm sorry if any of my questions are silly. This is my first time dealing with open source code and licenses.
I'm working on a small game engine and I decided to ...
2
votes
1
answer
181
views
Is output of Apache-licensed software Apache-licensed?
If I use the output of Apache v2 licenced software do I have to adhere to stating changes? Also if I only copy 3-4 lines of apache code into my project with large number of files and code do I ...
2
votes
1
answer
198
views
Exact attribution requirements for distributing compiled binaries depending on MIT and/or Apache 2.0 libraries
Consider an executable program whose source is licensed under the MIT and/or Apache 2.0 license and that depends (directly & indirectly) on a number of libraries written by third parties that are ...
2
votes
1
answer
217
views
At what point is software 'different enough' to exclude BSD license notice?
I ported a MATLAB repository to Python, with former having this two clause BSD License reading:
Redistributions of source code must retain the above copyright notice, this
list of conditions and the ...
2
votes
1
answer
491
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
1
answer
2k
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 ...