Re: Re: checkstyle plugin and checking files outside of maven dirs
I commend you to the source of the plugin in that case. The doc can be confusing. On Wed, Aug 17, 2016 at 10:06 AM, Veit Guna wrote: > I came from the checkstyle mailing list :). They say, they can basically > check anything thrown > at them. And the pom is just an XML file that I would like to check for > specific line endings. > So what I'm seeking for is a special option in the maven checkstyle plugin to > check files > outside of the normal maven scope (sources, resources). > > >> Gesendet: Mittwoch, 17. August 2016 um 15:21 Uhr >> Von: "Benson Margulies" >> An: "Maven Users List" >> Betreff: Re: checkstyle plugin and checking files outside of maven dirs >> >> The checkstyle plugin runs http://checkstyle.sourceforge.net/. Which >> has a particular feature set, which does not include checking Maven >> poms. There are a number of checks in the enforcer plugin which, in >> effect, check that the POM meets particular conditions. I don't know >> of any way to scan arbitrary files for line endings, but someone else >> might. >> >> On Tue, Aug 16, 2016 at 7:05 PM, Veit Guna wrote: >> > Hi. >> > >> > I'm using the checkstyle maven plugin to validate my source and resource >> > files. That works so far. >> > But now I encountered, that it won't check files outside of the standard >> > maven dirs. >> > >> > E.g. it would be great if it could check the pom as well. Is this >> > somehow possible? >> > Also when it comes to windows/unix lineending checks, it would be great, >> > if all >> > files in a project could be checked. >> > >> > Any hints how to achieve that? >> > >> > Thanks >> > Veit >> > >> > - >> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> > For additional commands, e-mail: users-h...@maven.apache.org >> > >> >> - >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Aw: Re: checkstyle plugin and checking files outside of maven dirs
I came from the checkstyle mailing list :). They say, they can basically check anything thrown at them. And the pom is just an XML file that I would like to check for specific line endings. So what I'm seeking for is a special option in the maven checkstyle plugin to check files outside of the normal maven scope (sources, resources). > Gesendet: Mittwoch, 17. August 2016 um 15:21 Uhr > Von: "Benson Margulies" > An: "Maven Users List" > Betreff: Re: checkstyle plugin and checking files outside of maven dirs > > The checkstyle plugin runs http://checkstyle.sourceforge.net/. Which > has a particular feature set, which does not include checking Maven > poms. There are a number of checks in the enforcer plugin which, in > effect, check that the POM meets particular conditions. I don't know > of any way to scan arbitrary files for line endings, but someone else > might. > > On Tue, Aug 16, 2016 at 7:05 PM, Veit Guna wrote: > > Hi. > > > > I'm using the checkstyle maven plugin to validate my source and resource > > files. That works so far. > > But now I encountered, that it won't check files outside of the standard > > maven dirs. > > > > E.g. it would be great if it could check the pom as well. Is this > > somehow possible? > > Also when it comes to windows/unix lineending checks, it would be great, > > if all > > files in a project could be checked. > > > > Any hints how to achieve that? > > > > Thanks > > Veit > > > > - > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: checkstyle plugin and checking files outside of maven dirs
The checkstyle plugin runs http://checkstyle.sourceforge.net/. Which has a particular feature set, which does not include checking Maven poms. There are a number of checks in the enforcer plugin which, in effect, check that the POM meets particular conditions. I don't know of any way to scan arbitrary files for line endings, but someone else might. On Tue, Aug 16, 2016 at 7:05 PM, Veit Guna wrote: > Hi. > > I'm using the checkstyle maven plugin to validate my source and resource > files. That works so far. > But now I encountered, that it won't check files outside of the standard > maven dirs. > > E.g. it would be great if it could check the pom as well. Is this > somehow possible? > Also when it comes to windows/unix lineending checks, it would be great, > if all > files in a project could be checked. > > Any hints how to achieve that? > > Thanks > Veit > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org