Closed lolodomo closed 5 years ago
Just to be sure: You are using the very latest checkout of openhab2-addons? I'm wondering why there is still "org.eclipse.smarthome" referenced, as we do not use ESH anymore.
Yes, update done yesterday evening. Note that imports to o.e.s are not yet changed in bindings.
Hm. Why is Travis building the binding. It should use the exact same instructions to start a maven build. I have added the bug label as it seems to be a build system issue.
@maggu2810 @kaikreuzer
I am not faceing the reported build issue. Can you try mvn dependency:purge-local-repository
to make sure your local dependencies are up-to-date? Purging the local ~/.m2
folder could help too but is a little but more aggressive :wink:.
After removing my .m2 folder, the build goes further. Thank you @cweitkamp for the tip.
In fact, it is failing in Astro Binding Tests.
But if I run mvn clean install -Dmaven.test.skip=true
, then it failslargely further in NEEO Integration with a OutOfMemoryError exception (GC overhead limit exceeded):
[ERROR] Failed to execute goal org.openhab.tools.sat:sat-plugin:0.5.0:spotbugs (default) on project org.openhab.io.neeo: Unable to execute mojo: Execution null of goal com.github.spotbugs:spotbugs-maven-plugin:3.1.3:spotbugs failed: java.lang.OutOfMemoryError: GC overhead limit exceeded
@lolodomo Could you please use the square brackets "[]" with the binding that causes problems in there? That patterns helps us organizing.
Finally if I disable tests AND checks ( mvn clean install -Dmaven.test.skip=true -DskipChecks=true ), the build succeeds.
Here are the logs I got: