eclipse-paho / eclipse-paho/paho.mqtt.java
Paho on compact Java profiles
- Dominant language
- Java
- Stars
- 2.3k
- Forks
- 919
- PR merge metrics
- No merged PRs in 30d
Description
We would like to use Paho 1.2.4 in a IoT GW running Azul's JRE8 compact3 profile. We took the jar from maven central and found that the manifest has Java 7 as the required execution environment.
The error message when our OSGi containers starts is
```
The bundle org.eclipse.paho.client.mqttv3 cannot be resolved because requires Execution
Environment(s) [(&(osgi.ee=JavaSE)(version=1.8))], which is/are not available in the
framework Execution Environment(s) [OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-
1.2,JavaSE/compact1-1.8,JavaSE/compact2-1.8,JavaSE/compact3-1.8].
```
We cloned, removed the entry from manifest, and rebuilt it to make it work on compact3 JRE. I am not sure if this change is a license violation and I would like to ask what others did to make it work on compact profiles.
* As Paho is meant for IoT devices and since such devices are expected to have compact profiles, can Paho remove the BREE?
* If Paho cannot change it, does it attribute to license violation if we build it locally (after changing the manifest) and use it?
Contributor guide
Assessment
This issue has not been assessed yet.