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
It would be great if I could provide the plugin a configuration to override the default extensions that are used to identify which formatter to use. I suppose it could go overboard with a comma separate list or regex, but for my needs it could be something as simple the following snippet:
The motivation for this is I want to use the plugin to reformat Avro schema definitions that are in written in json but are defined in files with the extension of ".avsc". That is a problem because the FormatterMojo.doFormatFile() only performs json formatting for files with the normal extension of ".json".
Thanks
The text was updated successfully, but these errors were encountered:
The normal <includes/> and <excludes/> patterns like described in the documentation would work well if the formatters were separated into different mojos, as described in #254 . Then, this feature wouldn't be needed.
The normal <includes/> and <excludes/> patterns like described in the documentation would work well if the formatters were separated into different mojos, as described in #254 . Then, this feature wouldn't be needed.
Totally agree. In my case, use something like format-json and use the directory and includes/excludes to identify the candidates.
@richardwalsh Since #254 is the preferred solution, are you okay with closing this issue for now, so that any contributors interested in creating a PR for to support this use case will focus instead on that other issue rather than this one?
It would be great if I could provide the plugin a configuration to override the default extensions that are used to identify which formatter to use. I suppose it could go overboard with a comma separate list or regex, but for my needs it could be something as simple the following snippet:
The motivation for this is I want to use the plugin to reformat Avro schema definitions that are in written in json but are defined in files with the extension of ".avsc". That is a problem because the FormatterMojo.doFormatFile() only performs json formatting for files with the normal extension of ".json".
Thanks
The text was updated successfully, but these errors were encountered: