Skip to content
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

bnd-maven-plugin: Improve incremental build performance #1347

Merged
merged 3 commits into from
Mar 10, 2016
Merged

bnd-maven-plugin: Improve incremental build performance #1347

merged 3 commits into from
Mar 10, 2016

Conversation

bjhargrave
Copy link
Member

Use BuildContext.isIncremental to decide to always build if not incremental.

Defer setting builder classpath until the decision is made to build.

This may help with problems in #1346.

@bjhargrave bjhargrave changed the title bnd-maven-plugin: Always build if not incremental bnd-maven-plugin: Improve incremental build performance Mar 10, 2016
This is used by bnd-maven-plugin which creates Jars for directories
but defers creating Jars for jar files to the builder.

Signed-off-by: BJ Hargrave <[email protected]>
This is to delay work in incremental M2E builds. Setting the class path
causes Jar objects to be created which scan the jar files.

Signed-off-by: BJ Hargrave <[email protected]>
bjhargrave added a commit that referenced this pull request Mar 10, 2016
bnd-maven-plugin: Improve incremental build performance
@bjhargrave bjhargrave merged commit 8c06df6 into bndtools:master Mar 10, 2016
@bjhargrave bjhargrave deleted the bnd-maven-plugin-incremental branch March 10, 2016 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant