apache / apache/uima-uimaj

Endless build loop with "enhance" goal in combination with other plugins

Open
#428 0 comments 0 reactions 1 assignee Claimed by @reckart View on GitHub
🦟 Bug
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.