maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: Re: checkstyle plugin and checking files outside of maven dirs
Date Wed, 17 Aug 2016 19:47:02 GMT
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 <Veit.Guna@gmx.de> 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" <bimargulies@gmail.com>
>> An: "Maven Users List" <users@maven.apache.org>
>> 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 <veit.guna@gmx.de> 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-unsubscribe@maven.apache.org
>> > For additional commands, e-mail: users-help@maven.apache.org
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message