-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Java] Compact Profile 2 Check needed ? #214
Comments
I have tried the following configuration on the maven-compiler-plugin
I am not sure if this argument is supported only on Java SE Embedded, the build is failing with compilation failure without much information, what went wrong:
Strange is that I don`t see any groovy files in this bundle... |
OK, just an example, how this could be made with jdeps: https://github.com/eclipse/kura/blob/a4909801fe5fdb49788485a40383534599d6a0ff/kura/pom.xml#L542 @kaikreuzer, do you think it is worth to put some efforts into that. |
Hi @svilenvul! Sorry, I had missed your earlier question from November 😟 |
Closes openhab#214 Signed-off-by: Svilen Valkanov <svilen.valkanov@musala.com>
According to the ESH Coding Guidelines - all bundles should be restricted to Java 8 SE Compact Profile 2. I couldn't find settings for profile in the ESH Maven build now.
I am not sure if we need check for that. Maybe if the compilation is done using the correct profile, this should be enough?
On the other hand there are tools as jdeps that can be used to check already compiled jars (dependencies) for compliance with a Compact Profile.
@kaikreuzer, could you share your thoughts about this topic?
The text was updated successfully, but these errors were encountered: