maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: checkstyle ignores multiple excludes?
Date Sat, 02 Nov 2013 20:39:11 GMT
On Thu, Oct 31, 2013 at 3:55 PM, Curtis Rueden <ctrueden@wisc.edu> wrote:
> Hi Benson,
>
>> The above does not exclude src/main/resources/log4j.properties.
>
> Does checkstyle actually consider the resources folder?

Yes it does, complaining about (in my case) missing copyright notices.

If you specify only
> **/log4j.properties does it work? Either way, sounds like JIRA time.
>
> -Curtis
>
>
> On Mon, Oct 28, 2013 at 1:28 PM, Benson Margulies <bimargulies@gmail.com>wrote:
>
>>  <plugin>
>>                     <groupId>org.apache.maven.plugins</groupId>
>>                     <artifactId>maven-checkstyle-plugin</artifactId>
>>                     <version>2.10</version>
>>                     <configuration>
>>
>> <excludes>**/org/apache/**,**/log4j.properties</excludes>
>>                     </configuration>
>>                 </plugin>
>>
>> The above does not exclude src/main/resources/log4j.properties.
>>
>> ---------------------------------------------------------------------
>> 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