Hi Tung,
> Very interesting with the rewrite feature of the scalafix tool. > I tried it for the `jmap-rfc-8621` module. I got an incompatible issue with > the scala version when trying Semantic Rules. > According to the issue you link to, the plugin only works with scala 2.12 and according to the error message you report, the james code base uses scala 2.13. In this case it won't work unless the plugin is cross compiled for 2.13. What's intriguing is that the tips and tricks section [1] has a sample configuration for the semantic db compiler which seems ot hint that the scala.version can be configured. but i actually doubt it would work can you share the configuration you used ? [1] https://github.com/evis/scalafix-maven-plugin#tips-and-tricks I don't use the maven plugin itself, all my scala projects use either SBT or mill so I don't have this layer of issues. Regards, Jean [1] https://github.com/evis/scalafix-maven-plugin/pull/12 > > Regards, > Tung > > On Fri, Jun 25, 2021 at 2:44 PM Jean Helou <jean.he...@gmail.com> wrote: > > > Hi tung, > > > > Have you looked at scalafix[1]? it seems to be much more actively > > maintained than scalastyle and I feel that it's scope overlaps > scalatyle's > > quite a bit... > > > > [1]https://github.com/scalacenter/scalafix > > > > Regards, > > jean > > > > > > On Fri, Jun 25, 2021 at 8:14 AM tungtv...@gmail.com <tungtv...@gmail.com > > > > wrote: > > > > > Hello guys, > > > > > > I realize the current checkstyle.xml file doesn't support the Scala > > > convention. > > > Should we have a checkstyle for that? > > > > > > My suggestion: > > > - https://github.com/scalastyle/scalastyle > > > > > > - https://github.com/scalastyle/scalastyle-maven-plugin > > > > > > > > > Best Regards, > > > > > > Tung, Van TRAN > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org > > > For additional commands, e-mail: server-dev-h...@james.apache.org > > > > > > > > > > > -- > Tung, Tran Van > *Phone:* (+84) 35 757 6258 > *Skype:* tung.tv202 >