Skip to main content

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
64 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 ...
kdopen's user avatar
  • 7,037
34 votes
1 answer
8k 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 ...
Matthew's user avatar
  • 463
28 votes
1 answer
67k 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 ...
DrakaSAN's user avatar
  • 445
27 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, ...
ffff's user avatar
  • 271
26 votes
3 answers
10k 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 ...
Free Radical's user avatar
  • 9,205
22 votes
2 answers
11k 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 ...
J.A.P's user avatar
  • 323
20 votes
2 answers
6k 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 ...
CupOfTea's user avatar
  • 303
19 votes
4 answers
3k views

Legal wording to exempt bug fixes to open-source framework from NDA?

Attempting to hire contractors to develop code using open-source framework with Apache 2.0 license. In reviewing our legal contract, the contractors are hesitant to sign because they want to donate ...
user46688's user avatar
  • 485
18 votes
2 answers
8k 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 ...
Rexcirus's user avatar
  • 307
18 votes
3 answers
4k views

When forking an open-source project, what should I do with the maintainers' emails included in the source code?

Let us assume that I am forking an open-source Python library, modifying it, and using it in another closed-source commercial project. The license is Apache License 2.0 and I am including a copy of ...
LastStarDust's user avatar
16 votes
1 answer
259 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 ...
kdopen's user avatar
  • 7,037
15 votes
3 answers
2k 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 ...
Pepijn Schmitz's user avatar
15 votes
2 answers
11k 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 ...
aryndin's user avatar
  • 253
14 votes
2 answers
3k 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 ...
Bruce Adams's user avatar
13 votes
1 answer
453 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 ...
q9f's user avatar
  • 243
13 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 ...
Zimm i48's user avatar
  • 5,727
13 votes
2 answers
4k 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 ...
Thomas Owens's user avatar
  • 1,792
13 votes
1 answer
3k 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 ...
cjbayron's user avatar
  • 233
13 votes
1 answer
10k 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) ?
ossx's user avatar
  • 675
12 votes
3 answers
7k views

If I fork a lib that is MIT / Apache 2.0 dual license, can I change it to CC0 for redistribution?

A lot of our projects are CC0 licensed and I had been researching across the web to find any information regarding the legalities of this, and to retain the original author's moral rights. I have not ...
joshuajbouw's user avatar
12 votes
3 answers
4k views

Can I get paid to make code that includes GPLv2 libraries?

I've been asked to make an application about astrology, and I would like to use this library https://github.com/astrolin/ephemeris/tree/develop/src/java/swisseph-2.01.00-01, however it is licensed ...
Rufis_'s user avatar
  • 123
12 votes
2 answers
2k views

Does a copyright notice in a file header affect the licensing?

I'm a little confused about the licensing. In the LICENSE file it says that the repository is under MIT license. But in the header of some js files there is a copyright notice with apache-2.0. Does ...
WhiteCherry's user avatar
12 votes
1 answer
4k 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 (...
sethmlarson's user avatar
11 votes
1 answer
6k 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-...
Alnitak's user avatar
  • 213
11 votes
1 answer
5k 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 ...
thenaglecode's user avatar
11 votes
1 answer
599 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 ...
user avatar
11 votes
1 answer
8k 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 (...
theCNG27's user avatar
  • 213
10 votes
5 answers
2k views

Is it permitted to develop for money on a commons clause project?

An existing project which is licensed under Apache-2-with-Commons-Clause-1.0 should be advanced. A client wishes to pay me to write code in order that the code could be contributed to this project. ...
TheProgrammer's user avatar
10 votes
3 answers
1k views

Inter-compatibility of licenses

I would like to sell a Java desktop application of mine to more schools after having success with one single school. Seems like it wouldn't have been a problem, if I haven't mixed different licenses ...
Hagenbeck's user avatar
  • 103
10 votes
1 answer
3k views

Given the existence of the Apache license, and the reasons for it over MIT/BSD license, is it still safe to use MIT/BSD?

Apache license exists as a permissive open-source license as opposed to MIT/BSD license with the perceived benefit that it also protects authors from patent violations. Although I think I read ...
lfgtm's user avatar
  • 302
10 votes
1 answer
2k 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. ...
Tenfour04's user avatar
  • 203
10 votes
1 answer
340 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....
Frames Catherine White's user avatar
9 votes
3 answers
5k views

Can I make my own license? [duplicate]

I was getting frustrated because I really wanted to use a GPL Family license for a piece of software I am developing. However, some of my target audience, OS Developers, are closed source (looking at ...
IntegralPilot's user avatar
9 votes
1 answer
2k views

What's the use of Apache's "Not a contribution"?

When making changes to an Apache licensed file, one should amend the file header: Copyright 2022 Me, Myself & I There is the possibility to add the suffix "Not a contribution": ...
parvus's user avatar
  • 195
9 votes
1 answer
4k 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? ...
Murat Durak's user avatar
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 "...
Luca De Nardi's user avatar
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 ...
Andres Troiano's user avatar
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 ...
Kenta1561's user avatar
  • 123
9 votes
1 answer
783 views

Has Apache or the FSF commented on whether LLVM's "Apache 2.0 License with LLVM exceptions" is compatible with GPL v2?

According to both the Apache Software Foundation (Apache) and Free Software Foundation (FSF), the Apache License 2.0 is not compatible with GNU General Public License 2.0. Despite [Apache's] best ...
Captain Man's user avatar
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 ...
NefariousOctopus's user avatar
9 votes
1 answer
1k views

Does importing a python package in my source code constitute redistribution of that package?

I wish to make a python package I have written publicly available on GitHub as source code. I am being advised that I should add a NOTICE detailing all the third-party packages that my code depends on....
Epimetheus's user avatar
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 ...
GDegottex's user avatar
8 votes
4 answers
1k 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 ...
Max's user avatar
  • 177
8 votes
1 answer
1k views

Dual licensing of Oracle Berkeley DB Java Edition: how is possible to require a commercial license?

The Oracle Berkeley DB Java edition source is here: https://www.oracle.com/database/technologies/related/berkeleydb-downloads.html One can check in the source that it's under Apache 2.0 license. On ...
user avatar
8 votes
2 answers
2k 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 ...
Samuel Horwitz's user avatar
8 votes
1 answer
1k 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. ...
opticyclic's user avatar
8 votes
1 answer
364 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, ...
user avatar
8 votes
2 answers
565 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-...
J Fabian Meier's user avatar
8 votes
1 answer
1k 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 ...
ChaSIem's user avatar
  • 183
8 votes
2 answers
2k 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, ...
E TSZ's user avatar
  • 81

1
2 3 4 5
7