Endless build loop with "enhance" goal in combination with other plugins
- Dominant language
- Java
- Stars
- 71
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
It appears as if the `enhance` goal can trigger an endless build loop in Eclipse. There seem to be situations in which for some reason the goal always detects class files as **not yet enhanced**, enhances them, and this can then trigger some other project builders/decorators to enter the endless loop. In particular, I am observing this with the `bnd:jar` goal and the BND Eclipse Plugins installed.
**To Reproduce**
It is not particularly clear how to reproduce this. I have been working with a setup with Eclipse/m2e/BND/UIMA for quite some time now and only recently start experiencing this issue.
**Expected behavior**
Optimally, there should be no endless build loop ;) Of course, if the class files have not yet been enhanced, they should be enhanced. Some other plugins have an option to optionally disable execution during incremental builds. This could also be an option here since I mostly need the enhance goal only to run on full builds or even on command line builds.
**Please complete the following information:**
- Version: 3.4.0
**Additional context**
See also: https://github.com/bndtools/bnd/issues/5668
Contributor guide
Assessment
This issue has not been assessed yet.