Skip to content

bnd-maven-plugin/m2e: BuildContext.isIncremental() is not reliable #1405

Closed
@erwint

Description

@erwint

Follow-up to #1346

Unfortunately, the BuildContext.isIncremental is not reliable, as an Eclipse build can get promoted to a Full Build. In this case the JDT build cleans the output directory, but bnd-maven-plugin still sees it as an incremental build. So if there are no relevant changes, this will result in a loss of the MANIFEST.MF, as bnd-maven-plugin will not generate one.

So if there is no existing MANIFEST.MF in the output directory, bnd-maven-plugin should assume a full build is going on.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions