License Bug - org.apache.commons.fileupload


I was searching for some method to provide file upload in admin console.

For that I checked src/web/plugin-admin.jsp and found out it is using org.apache.commons.fileupload. After a long search I found these two libraries:


Both libraries include an LICENSE.txt which claims them as Apache License v2.0. Openfire itself is licensed under GnuGPLv2. According to wikipedia these two are not compatible! Migrating to GPLv3 would probably solve this problem.

The plugins clientControl, fastpath and userImportExport are using and older commons-fileupload-1.0.jar, which claims to be Apache License v1.1.


I want to use org.apache.commons.fileupload by myself. Does someone know if APL 1.1 is compatible with GPLv2?

Forget my question. I’m using the GoogleWebToolkit, which is also Apache License v2.0, so I will have to migrate my plugin to GPLv3 anyway.

However, this licence bug remains.