-
Dear Spotless Team, I hope this message finds you well. I'm currently using the Spotless Maven Plugin in multiple Java projects to maintain a consistent code style. I have found it extremely helpful and efficient. However, I came across a situation where I found it challenging to maintain the Spotless configurations consistently across different projects. I currently set the Spotless configurations in the tag of the pom.xml file in each project. While searching for solutions, it occurred to me that an ability to read Spotless configuration from an external XML file or equivalent could offer a more flexible way to share standard configurations across several projects. This would be particularly useful when projects don't share a common parent pom file or require specific or distinct formatting rules. I wanted to ask if there's already a way to read Spotless configuration from an external file, which I might have missed in the documentation. If this feature is presently not part of the Spotless Maven Plugin, I believe it would be a valuable addition, enhancing both flexibility and standardization of the code styles. Also, please let me know if I should raise a feature request for same? In case, if there's already an alternative way to achieve this or plans to incorporate this feature in the future, kindly let me know. Thank you for your attention to this matter. Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I think you'll find the info you need here |
Beta Was this translation helpful? Give feedback.
Thank you @lutovich and @nedtwigg for your inputs. Raised feature request at #1805 for further tracking.