-
-
Notifications
You must be signed in to change notification settings - Fork 302
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
Infinite automatic build loop in Eclipse when overriding resources in POM #3220
Comments
Is this related to #3201? |
It looks like a different issue to me because it's about invoking Maven from the CLI and the POM in the example maggu2810/bnd-resolvebug project doesn't contain such resource definitions. |
Signed-off-by: Wouter Born <github@maindrain.net>
As a test I also checked if the issue can be reproduced on a simple Maven project (not using bnd) with such a resource definition. There is no build loop when using "Build Automatically" after importing this hello-world-bnd-3220 project in Eclipse. So it's probably not an Eclipse or m2e issue. |
As a workaround, is the problem solved by using this approach instead?
(the leading |
Thanks for the suggestion @rotty3000. I was already thinking about using such a workaround and so far it seems to work after testing it. 👍 |
Great, as long as we can keep you moving forward! :) |
When "Build Automatically" is enabled in Eclipse, the build never ends. It seems there is a bnd issue with the way resources are defined in the reactor POM. The workaround seems to be to include all resources using bnd. See also: * bndtools/bnd#3220 * https://github.com/openhab/openhab2-addons/issues/5554 Signed-off-by: Wouter Born <github@maindrain.net>
When "Build Automatically" is enabled in Eclipse, the build never ends. It seems there is a bnd issue with the way resources are defined in the reactor POM. The workaround seems to be to include all resources using bnd. See also: * bndtools/bnd#3220 * https://github.com/openhab/openhab2-addons/issues/5554 Signed-off-by: Wouter Born <github@maindrain.net>
When "Build Automatically" is enabled in Eclipse, the build never ends. It seems there is a bnd issue with the way resources are defined in the reactor POM. The workaround seems to be to include all resources using bnd. See also: * bndtools/bnd#3220 * https://github.com/openhab/openhab2-addons/issues/5554 Signed-off-by: Wouter Born <github@maindrain.net>
When "Build Automatically" is enabled in Eclipse, the build never ends. It seems there is a bnd issue with the way resources are defined in the reactor POM. The workaround seems to be to include all resources using bnd. See also: * bndtools/bnd#3220 * https://github.com/openhab/openhab2-addons/issues/5554 Signed-off-by: Wouter Born <github@maindrain.net>
…#5660) When "Build Automatically" is enabled in Eclipse, the build never ends. It seems there is a bnd issue with the way resources are defined in the reactor POM. The workaround seems to be to include all resources using bnd. See also: * bndtools/bnd#3220 * https://github.com/openhab/openhab2-addons/issues/5554 Signed-off-by: Wouter Born <github@maindrain.net>
…#842) When "Build Automatically" is enabled in Eclipse, the build never ends. It seems there is a bnd issue with the way resources are defined in the reactor POM. The workaround seems to be to include all resources using bnd. See also: * bndtools/bnd#3220 * https://github.com/openhab/openhab2-addons/issues/5554 Signed-off-by: Wouter Born <github@maindrain.net>
…#75) When "Build Automatically" is enabled in Eclipse, the build never ends. It seems there is a bnd issue with the way resources are defined in the reactor POM. The workaround seems to be to include all resources using bnd. See also: * bndtools/bnd#3220 * https://github.com/openhab/openhab2-addons/issues/5554 Signed-off-by: Wouter Born <github@maindrain.net>
…openhab#5660) When "Build Automatically" is enabled in Eclipse, the build never ends. It seems there is a bnd issue with the way resources are defined in the reactor POM. The workaround seems to be to include all resources using bnd. See also: * bndtools/bnd#3220 * https://github.com/openhab/openhab2-addons/issues/5554 Signed-off-by: Wouter Born <github@maindrain.net> Signed-off-by: Pshatsillo <pshatsillo@gmail.com>
…openhab#5660) When "Build Automatically" is enabled in Eclipse, the build never ends. It seems there is a bnd issue with the way resources are defined in the reactor POM. The workaround seems to be to include all resources using bnd. See also: * bndtools/bnd#3220 * https://github.com/openhab/openhab2-addons/issues/5554 Signed-off-by: Wouter Born <github@maindrain.net> Signed-off-by: Maximilian Hess <mail@ne0h.de>
…openhab#5660) When "Build Automatically" is enabled in Eclipse, the build never ends. It seems there is a bnd issue with the way resources are defined in the reactor POM. The workaround seems to be to include all resources using bnd. See also: * bndtools/bnd#3220 * https://github.com/openhab/openhab2-addons/issues/5554 Signed-off-by: Wouter Born <github@maindrain.net> Signed-off-by: Tim Roberts <timmarkroberts@gmail.com>
This issue has been automatically closed due to inactivity. If you can reproduce this on a recent version of Bnd/Bndtools or if you have a good use case for this feature, please feel free to reopen the issue with steps to reproduce, a quick explanation of your use case or a high-quality pull request. |
After migrating openHAB from PDE to bnd (4.2.0) one of the remaining issues (https://github.com/openhab/openhab2-addons/issues/5554) is that Eclipse (2019-03) is in an infinite build loop when we enable "Project -> Build Automatically".
After investigating the issue it seems to be caused by the resource definitions in our Maven POMs:
After removing these customizations and updating the Maven projects in Eclipse the infinite loop is resolved. Do you think this loop is caused by an issue in bndtools?
I was able to reproduce the issue on the simpler bndtools/jpmcli project by adding a similar resources definition in wborn/jpmcli@d1efa61.
The text was updated successfully, but these errors were encountered: