Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
2answers
451 views

Can I use code under Apache 2.0 license that does not originally contain copyright notice?

I plan on creating a new project under Apache 2.0 license, and I want to use js, css, fonts, and image files in the public folder of this repository (which is under Apache 2.0): https://github.com/...
3
votes
1answer
80 views

Apache 2.0 Licence

When a product includes a firmware written by my company, and this firmware makes use of an open source product, licenced under Apache 2.0 license, and this product is finally to be sold on a broad ...
5
votes
1answer
148 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 ...
6
votes
1answer
454 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 ...
5
votes
1answer
873 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 ...
7
votes
1answer
1k 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
1answer
457 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 ...
3
votes
1answer
301 views

Packaging Apache 2.0 derivative work

I want to distribute a MATLAB package I've made which makes use of some work which is made available under the Apache 2.0 license. The piece of work I'm using is ColorBrewer, which consists of ...
5
votes
2answers
44 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 ...
4
votes
1answer
432 views

How does the Apache 2 license's patent grant interact with third-party patents?

From what I've read about the Apache 2 license's patent grant clause, it's intended to protect users of Apache-licensed software from software patents. How does that work if the contributor doesn't ...
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
315 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 (...
2
votes
1answer
171 views

API license question

I have one question with regards to MaxMind API license. There is the MaxMind's GeoIp2 Java API: https://github.com/maxmind/GeoIP2-java which is licensed under the Apache License, Version 2.0. So ...
3
votes
0answers
913 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 ...
3
votes
2answers
555 views

Referencing nuget packages that are licensed under the Apache 2.0 license?

I created my first open-source project a few weeks ago. I have never done anything like that and have no idea, how to license and how to use licensed stuff. I researched a bit and found that it would ...
7
votes
1answer
216 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 ...
2
votes
1answer
262 views

What is the licensing for ART (Android Runtime)?

Dalvik was licensed under the ASL on the premise that it was reverse engineered: Licensing and patents Main article: Oracle v. Google Dalvik is published under the terms of the Apache License ...
2
votes
1answer
110 views

Can we edit Google Android sample project and create app

I searched all over the Internet but I was not able to find if anyone has raised this issue. I want to edit some files in an open source sample project provided by Google (change some methods and the ...
4
votes
1answer
329 views

Project port (to another language), dealing with copyright notices when using Apache license

I was looking for a library implementing a specific protocol for my favorite programming language. I found one, but noticed that it started out as a straight port of another project. However, in each ...
7
votes
1answer
1k 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 ...
2
votes
1answer
298 views

Is it possible to link GPLv2 libraries for Android project

Apache License, Version 2.0 is not compatible with GPL version 2, according to GNU and Apache websites. I worry is it possible to make Android projects under GPLv2 license, because, Android SDK, ...
1
vote
0answers
223 views

Commercial software that includes open-source libraries under different licenses

I am planning to develop commercial software product that will include a few open-source libraries licensed under different licenses (licenses for different libraries different): MIT, Apache Software ...
3
votes
2answers
494 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 ...
6
votes
2answers
82 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 ...
0
votes
1answer
91 views

Convert Apache 2.0 code to BSD 3-clause [closed]

It is similar to this question, just this time code which is licensed under Apache 2.0 gets linked into code I have written, which is under the BSD 3-clause. Both are open-source, but I wanted to give ...
1
vote
0answers
49 views

Using a GitHub Code in Android Project - Licensing Requirements [duplicate]

I want to use a java utility class from GitHub for my android project ( https://github.com/tareknaj/BigFunctions). I saw from here Android - External library license in project that there is no ...
5
votes
1answer
460 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 ...
2
votes
1answer
71 views

Do I need to share OSS libraries source code when I only use them in binary?

I'm working on a project where BSD, Apache v2 and MPL1.1 libraries were used. Basically propietary code will link to these libraries to run the Program. Libraries were only used in binary form, though....
3
votes
2answers
392 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 license ...
3
votes
2answers
368 views

Mixing Apache 2.0 and AGPLv3 in open-source project

I have developed and released an open-source Java library under Apache 2.0 license. In the next version, I plan to include BerkeleyDB as one of the supported storage engines. Note that the actual ...
7
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 ...
4
votes
1answer
299 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 ...
3
votes
1answer
61 views

How would it be possible to distribute a GPL program with an Apache program?

A friend and I are making a program licensed under the Apache 2.0 license, and we would like to pull in code from one of his old projects licensed under the GPL 3.0 license, but I don't see a way to. ...
4
votes
1answer
277 views

Refreshing Shared Copyright Dates in Apache 2.0 Licensed Code

I'm working with a formerly closed-source project whose official first release under that product name was in 1997. Development on it slowed and was abandoned, then released as Apache 2.0 in 2012. ...
8
votes
1answer
899 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
332 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. ...
6
votes
1answer
120 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 ...
7
votes
1answer
412 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 ...
12
votes
1answer
3k 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, ...
7
votes
1answer
504 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 ...
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 ...
13
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
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 ...
10
votes
1answer
259 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 ...
50
votes
3answers
3k 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
205 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 ...