Skip to content

Conversation

PPazderski
Copy link

This may fix issue #366 while still respecting performance concerns from #269.

It use a BuildContext as described in m2e to distinguish between incremental and normal (e.g. mvn command line) builds. On incremental builds it should only run if the git.properties file is missing at all.

Additional the BuildContext can inform eclipse about the new generated file. (especially useful if file is generated in some folder not ignored by the IDE)

@TheSnoozer
Copy link
Collaborator

Thanks for your contribution!
I'll need some time to read the referenced documentation and would like to perform some testing.

When merging this with master this will become available with some 3.X version. Would that be sufficient for you? Or would you prefer to have it also available in some 2.X version?

@PPazderski
Copy link
Author

I do not need it in 2.x.

Since our project is quite small I enabled property update on every incremental build through workspace lifecycle-mappings.

@TheSnoozer
Copy link
Collaborator

Thanks. Looks good for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants