You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Please output INFO messages in DefaultBuildContext.addMessage #20
Thank you very much for reviving this project. It was strange to have so many components that depend on a module that was archived.
Please consider to expand the method DefaultBuildContext.addMessage(...) to also log info messages. Currently only ERROR and WARNING are printed. This would mean adding a new constant SEVERITY_INFO to the interface BuildContext and extending the switch statement in the addMessage(...) implementation. Maybe also a default branch would be useful.
Note that adding a INFO message (severity == 0) inside Eclipse works and adds a INFO IMarker to the file (tested with 2021-12).
Just realized: Adding a constant to the interface BuildContext would break binary compatibility wit 007. Not good.
Anyway addMessage(....) could handle severity == 0 as INFO.
Good idea! Why not make it 1.0.0 now? also change the package name and then all its fine, I don't think binary compatibility with 007 is anything useful:
There are mostly consumers of the API so this won't break for them
Don't know if there are other implmentors beside m2e and as we need to possibly adapt here anyways it won't be an issue at all
Why would adding a constant break compatibility anyways?
Activity
rakus commentedon Mar 6, 2022
Just realized: Adding a constant to the interface
BuildContextwould break binary compatibility wit 007. Not good.Anyway
addMessage(....)could handle severity == 0 as INFO.slachiewicz commentedon Oct 4, 2022
Worth to add to 1.0.0 @olamy
laeubi commentedon Oct 5, 2022
Good idea! Why not make it 1.0.0 now? also change the package name and then all its fine, I don't think binary compatibility with 007 is anything useful:
laeubi commentedon Oct 28, 2025
Implemented with new messages API see