You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by shinjan sen <sh...@gmail.com> on 2008/05/12 07:03:09 UTC
Custom Checkstyle Integration | Need Help
Hi All.
I was trying to integrate a custom checkstyle configuration file with my
project and am getting the following exception:
*[INFO] Error during page generation*
*Embedded error: Error rendering Maven report: Failed during checkstyle
configuration
Unable to instantiate WriteTagCheck*
The checkstyle file I am using works perfectly with eclipse when I try to do
a checkstyle check from eclipse.
But when I try to create a site using mvn site command I get the above
exception.
I have pasted the checkstyle file I am using below.
Is there something wrong with the checkstyle file syntax?
any pointers to possible solutions would be of great help to me.
Many Thanks
Shinjan
my_checkstyle_config.xml
------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!--
This configuration file was written by the eclipse-cs plugin configuration
editor
-->
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "
http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
<module name="Checker">
<property name="severity" value="warning"/>
<module name="TreeWalker">
<property name="tabWidth" value="4"/>
<module name="JavadocMethod"/>
<module name="JavadocType"/>
<module name="JavadocVariable"/>
<module name="JavadocStyle"/>
<module name="ConstantName"/>
<module name="LocalFinalVariableName"/>
<module name="LocalVariableName"/>
<module name="MemberName"/>
<module name="MethodName"/>
<module name="PackageName"/>
<module name="ParameterName"/>
<module name="StaticVariableName"/>
<module name="TypeName"/>
<module name="AvoidStarImport"/>
<module name="IllegalImport"/>
<module name="RedundantImport"/>
<module name="UnusedImports"/>
<module name="FileLength"/>
<module name="LineLength">
<property name="ignorePattern" value="^import"/>
</module>
<module name="MethodLength"/>
<module name="ParameterNumber"/>
<module name="EmptyForIteratorPad"/>
<module name="MethodParamPad"/>
<module name="NoWhitespaceAfter">
<property name="tokens"
value="BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS"/>
</module>
<module name="NoWhitespaceBefore"/>
<module name="OperatorWrap"/>
<module name="ParenPad"/>
<module name="TypecastParenPad"/>
<module name="TabCharacter">
<property name="severity" value="ignore"/>
</module>
<module name="WhitespaceAfter"/>
<module name="WhitespaceAround"/>
<module name="ModifierOrder"/>
<module name="RedundantModifier"/>
<module name="AvoidNestedBlocks"/>
<module name="EmptyBlock"/>
<module name="LeftCurly">
<property name="option" value="nl"/>
</module>
<module name="NeedBraces"/>
<module name="RightCurly">
<property name="option" value="alone"/>
</module>
<module name="AvoidInlineConditionals"/>
<module name="DoubleCheckedLocking"/>
<module name="EmptyStatement"/>
<module name="EqualsHashCode"/>
<module name="HiddenField"/>
<module name="IllegalInstantiation"/>
<module name="InnerAssignment"/>
<module name="MagicNumber"/>
<module name="MissingSwitchDefault"/>
<module name="RedundantThrows"/>
<module name="SimplifyBooleanExpression"/>
<module name="SimplifyBooleanReturn"/>
<module name="FinalClass"/>
<module name="HideUtilityClassConstructor"/>
<module name="InterfaceIsType"/>
<module name="VisibilityModifier"/>
<module name="ArrayTypeStyle"/>
<module name="FinalParameters"/>
<module name="GenericIllegalRegexp">
<property name="severity" value="error"/>
<property name="format"
value="System.out.println()|printStackTrace()"/>
<property name="ignoreCase" value="true"/>
<property name="message" value="usage of System.out.println() or
printStackTrace()"/>
</module>
<module name="TodoComment">
<property name="severity" value="ignore"/>
</module>
<module name="UpperEll"/>
<module name="ExecutableStatementCount">
<property name="max" value="25"/>
<property name="tokens"
value="INSTANCE_INIT,STATIC_INIT,METHOD_DEF,CTOR_DEF"/>
</module>
<module name="ExecutableStatementCount">
<property name="severity" value="error"/>
<property name="max" value="35"/>
<property name="tokens"
value="INSTANCE_INIT,STATIC_INIT,METHOD_DEF,CTOR_DEF"/>
</module>
<module name="CyclomaticComplexity">
<property name="max" value="7"/>
</module>
<module name="CyclomaticComplexity">
<property name="severity" value="error"/>
</module>
<module name="WriteTag">
<metadata name="com.atlassw.tools.eclipse.checkstyle.comment"
value="Author name should be "Company\Author""/>
<property name="tag" value="@author"/>
<property name="tagFormat" value="[A-Z]*\\[A-Z]*"/>
<property name="tagSeverity" value="ignore"/>
</module>
</module>
<module name="NewlineAtEndOfFile"/>
<module name="Translation"/>
</module>
Re: Custom Checkstyle Integration | Need Help
Posted by Dennis Lundberg <de...@apache.org>.
shinjan sen wrote:
> Hi Dennis,
> Thanks so much for the mail.
> Yes after trying out the approach you said, I could verify that this in fact
> was due to some version problem.
>
> I then tried using the version 2.0-alpha-2 and it worked.
>
> This is what I currently have:
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-checkstyle-plugin</artifactId>
> <version>2.0-alpha-2</version>
>
> Can you please let me know how I should upgrade to 2.2-SNAPSHOT?
> I tried,
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-checkstyle-plugin</artifactId>
> <version>2.2-SNAPSHOT</version>
> but this doesn't seem to find the plugin.
Testing development versions of plugins is documented here:
http://maven.apache.org/guides/development/guide-testing-development-plugins.html
> Anyways many thanks for all the right pointers.
>
>
> Cheers!!
> Shinjan
>
>
>
> On Tue, May 13, 2008 at 3:09 AM, Dennis Lundberg <de...@apache.org> wrote:
>
>> I guess that you are using version 2.1 of the maven-checkstyle-plugin. That
>> version uses Checkstyle 4.1, which does *not* include the WriteTag check.
>>
>> Version 2.2 of the plugin, which has not yet been released, will use
>> Checkstyle 4.4. You can try the 2.2-SNAPSHOT if you want to verify that it
>> works for you.
>>
>>
>> shinjan sen wrote:
>>
>>> Hi All.
>>> I was trying to integrate a custom checkstyle configuration file with my
>>> project and am getting the following exception:
>>>
>>> *[INFO] Error during page generation*
>>> *Embedded error: Error rendering Maven report: Failed during checkstyle
>>> configuration
>>> Unable to instantiate WriteTagCheck*
>>>
>>> The checkstyle file I am using works perfectly with eclipse when I try to
>>> do
>>> a checkstyle check from eclipse.
>>> But when I try to create a site using mvn site command I get the above
>>> exception.
>>>
>>> I have pasted the checkstyle file I am using below.
>>> Is there something wrong with the checkstyle file syntax?
>>> any pointers to possible solutions would be of great help to me.
>>>
>>> Many Thanks
>>> Shinjan
>>>
>>> my_checkstyle_config.xml
>>> ------------------------------------------
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <!--
>>> This configuration file was written by the eclipse-cs plugin
>>> configuration
>>> editor
>>> -->
>>> <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
>>> "
>>> http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
>>> <module name="Checker">
>>> <property name="severity" value="warning"/>
>>> <module name="TreeWalker">
>>> <property name="tabWidth" value="4"/>
>>> <module name="JavadocMethod"/>
>>> <module name="JavadocType"/>
>>> <module name="JavadocVariable"/>
>>> <module name="JavadocStyle"/>
>>> <module name="ConstantName"/>
>>> <module name="LocalFinalVariableName"/>
>>> <module name="LocalVariableName"/>
>>> <module name="MemberName"/>
>>> <module name="MethodName"/>
>>> <module name="PackageName"/>
>>> <module name="ParameterName"/>
>>> <module name="StaticVariableName"/>
>>> <module name="TypeName"/>
>>> <module name="AvoidStarImport"/>
>>> <module name="IllegalImport"/>
>>> <module name="RedundantImport"/>
>>> <module name="UnusedImports"/>
>>> <module name="FileLength"/>
>>> <module name="LineLength">
>>> <property name="ignorePattern" value="^import"/>
>>> </module>
>>> <module name="MethodLength"/>
>>> <module name="ParameterNumber"/>
>>> <module name="EmptyForIteratorPad"/>
>>> <module name="MethodParamPad"/>
>>> <module name="NoWhitespaceAfter">
>>> <property name="tokens"
>>> value="BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS"/>
>>> </module>
>>> <module name="NoWhitespaceBefore"/>
>>> <module name="OperatorWrap"/>
>>> <module name="ParenPad"/>
>>> <module name="TypecastParenPad"/>
>>> <module name="TabCharacter">
>>> <property name="severity" value="ignore"/>
>>> </module>
>>> <module name="WhitespaceAfter"/>
>>> <module name="WhitespaceAround"/>
>>> <module name="ModifierOrder"/>
>>> <module name="RedundantModifier"/>
>>> <module name="AvoidNestedBlocks"/>
>>> <module name="EmptyBlock"/>
>>> <module name="LeftCurly">
>>> <property name="option" value="nl"/>
>>> </module>
>>> <module name="NeedBraces"/>
>>> <module name="RightCurly">
>>> <property name="option" value="alone"/>
>>> </module>
>>> <module name="AvoidInlineConditionals"/>
>>> <module name="DoubleCheckedLocking"/>
>>> <module name="EmptyStatement"/>
>>> <module name="EqualsHashCode"/>
>>> <module name="HiddenField"/>
>>> <module name="IllegalInstantiation"/>
>>> <module name="InnerAssignment"/>
>>> <module name="MagicNumber"/>
>>> <module name="MissingSwitchDefault"/>
>>> <module name="RedundantThrows"/>
>>> <module name="SimplifyBooleanExpression"/>
>>> <module name="SimplifyBooleanReturn"/>
>>> <module name="FinalClass"/>
>>> <module name="HideUtilityClassConstructor"/>
>>> <module name="InterfaceIsType"/>
>>> <module name="VisibilityModifier"/>
>>> <module name="ArrayTypeStyle"/>
>>> <module name="FinalParameters"/>
>>> <module name="GenericIllegalRegexp">
>>> <property name="severity" value="error"/>
>>> <property name="format"
>>> value="System.out.println()|printStackTrace()"/>
>>> <property name="ignoreCase" value="true"/>
>>> <property name="message" value="usage of System.out.println()
>>> or
>>> printStackTrace()"/>
>>> </module>
>>> <module name="TodoComment">
>>> <property name="severity" value="ignore"/>
>>> </module>
>>> <module name="UpperEll"/>
>>> <module name="ExecutableStatementCount">
>>> <property name="max" value="25"/>
>>> <property name="tokens"
>>> value="INSTANCE_INIT,STATIC_INIT,METHOD_DEF,CTOR_DEF"/>
>>> </module>
>>> <module name="ExecutableStatementCount">
>>> <property name="severity" value="error"/>
>>> <property name="max" value="35"/>
>>> <property name="tokens"
>>> value="INSTANCE_INIT,STATIC_INIT,METHOD_DEF,CTOR_DEF"/>
>>> </module>
>>> <module name="CyclomaticComplexity">
>>> <property name="max" value="7"/>
>>> </module>
>>> <module name="CyclomaticComplexity">
>>> <property name="severity" value="error"/>
>>> </module>
>>> <module name="WriteTag">
>>> <metadata name="com.atlassw.tools.eclipse.checkstyle.comment"
>>> value="Author name should be "Company\Author""/>
>>> <property name="tag" value="@author"/>
>>> <property name="tagFormat" value="[A-Z]*\\[A-Z]*"/>
>>> <property name="tagSeverity" value="ignore"/>
>>> </module>
>>> </module>
>>> <module name="NewlineAtEndOfFile"/>
>>> <module name="Translation"/>
>>> </module>
>>>
>>>
>> --
>> Dennis Lundberg
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Custom Checkstyle Integration | Need Help
Posted by shinjan sen <sh...@gmail.com>.
Hi Dennis,
Thanks so much for the mail.
Yes after trying out the approach you said, I could verify that this in fact
was due to some version problem.
I then tried using the version 2.0-alpha-2 and it worked.
This is what I currently have:
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.0-alpha-2</version>
Can you please let me know how I should upgrade to 2.2-SNAPSHOT?
I tried,
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.2-SNAPSHOT</version>
but this doesn't seem to find the plugin.
Anyways many thanks for all the right pointers.
Cheers!!
Shinjan
On Tue, May 13, 2008 at 3:09 AM, Dennis Lundberg <de...@apache.org> wrote:
> I guess that you are using version 2.1 of the maven-checkstyle-plugin. That
> version uses Checkstyle 4.1, which does *not* include the WriteTag check.
>
> Version 2.2 of the plugin, which has not yet been released, will use
> Checkstyle 4.4. You can try the 2.2-SNAPSHOT if you want to verify that it
> works for you.
>
>
> shinjan sen wrote:
>
>> Hi All.
>> I was trying to integrate a custom checkstyle configuration file with my
>> project and am getting the following exception:
>>
>> *[INFO] Error during page generation*
>> *Embedded error: Error rendering Maven report: Failed during checkstyle
>> configuration
>> Unable to instantiate WriteTagCheck*
>>
>> The checkstyle file I am using works perfectly with eclipse when I try to
>> do
>> a checkstyle check from eclipse.
>> But when I try to create a site using mvn site command I get the above
>> exception.
>>
>> I have pasted the checkstyle file I am using below.
>> Is there something wrong with the checkstyle file syntax?
>> any pointers to possible solutions would be of great help to me.
>>
>> Many Thanks
>> Shinjan
>>
>> my_checkstyle_config.xml
>> ------------------------------------------
>> <?xml version="1.0" encoding="UTF-8"?>
>> <!--
>> This configuration file was written by the eclipse-cs plugin
>> configuration
>> editor
>> -->
>> <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
>> "
>> http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
>> <module name="Checker">
>> <property name="severity" value="warning"/>
>> <module name="TreeWalker">
>> <property name="tabWidth" value="4"/>
>> <module name="JavadocMethod"/>
>> <module name="JavadocType"/>
>> <module name="JavadocVariable"/>
>> <module name="JavadocStyle"/>
>> <module name="ConstantName"/>
>> <module name="LocalFinalVariableName"/>
>> <module name="LocalVariableName"/>
>> <module name="MemberName"/>
>> <module name="MethodName"/>
>> <module name="PackageName"/>
>> <module name="ParameterName"/>
>> <module name="StaticVariableName"/>
>> <module name="TypeName"/>
>> <module name="AvoidStarImport"/>
>> <module name="IllegalImport"/>
>> <module name="RedundantImport"/>
>> <module name="UnusedImports"/>
>> <module name="FileLength"/>
>> <module name="LineLength">
>> <property name="ignorePattern" value="^import"/>
>> </module>
>> <module name="MethodLength"/>
>> <module name="ParameterNumber"/>
>> <module name="EmptyForIteratorPad"/>
>> <module name="MethodParamPad"/>
>> <module name="NoWhitespaceAfter">
>> <property name="tokens"
>> value="BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS"/>
>> </module>
>> <module name="NoWhitespaceBefore"/>
>> <module name="OperatorWrap"/>
>> <module name="ParenPad"/>
>> <module name="TypecastParenPad"/>
>> <module name="TabCharacter">
>> <property name="severity" value="ignore"/>
>> </module>
>> <module name="WhitespaceAfter"/>
>> <module name="WhitespaceAround"/>
>> <module name="ModifierOrder"/>
>> <module name="RedundantModifier"/>
>> <module name="AvoidNestedBlocks"/>
>> <module name="EmptyBlock"/>
>> <module name="LeftCurly">
>> <property name="option" value="nl"/>
>> </module>
>> <module name="NeedBraces"/>
>> <module name="RightCurly">
>> <property name="option" value="alone"/>
>> </module>
>> <module name="AvoidInlineConditionals"/>
>> <module name="DoubleCheckedLocking"/>
>> <module name="EmptyStatement"/>
>> <module name="EqualsHashCode"/>
>> <module name="HiddenField"/>
>> <module name="IllegalInstantiation"/>
>> <module name="InnerAssignment"/>
>> <module name="MagicNumber"/>
>> <module name="MissingSwitchDefault"/>
>> <module name="RedundantThrows"/>
>> <module name="SimplifyBooleanExpression"/>
>> <module name="SimplifyBooleanReturn"/>
>> <module name="FinalClass"/>
>> <module name="HideUtilityClassConstructor"/>
>> <module name="InterfaceIsType"/>
>> <module name="VisibilityModifier"/>
>> <module name="ArrayTypeStyle"/>
>> <module name="FinalParameters"/>
>> <module name="GenericIllegalRegexp">
>> <property name="severity" value="error"/>
>> <property name="format"
>> value="System.out.println()|printStackTrace()"/>
>> <property name="ignoreCase" value="true"/>
>> <property name="message" value="usage of System.out.println()
>> or
>> printStackTrace()"/>
>> </module>
>> <module name="TodoComment">
>> <property name="severity" value="ignore"/>
>> </module>
>> <module name="UpperEll"/>
>> <module name="ExecutableStatementCount">
>> <property name="max" value="25"/>
>> <property name="tokens"
>> value="INSTANCE_INIT,STATIC_INIT,METHOD_DEF,CTOR_DEF"/>
>> </module>
>> <module name="ExecutableStatementCount">
>> <property name="severity" value="error"/>
>> <property name="max" value="35"/>
>> <property name="tokens"
>> value="INSTANCE_INIT,STATIC_INIT,METHOD_DEF,CTOR_DEF"/>
>> </module>
>> <module name="CyclomaticComplexity">
>> <property name="max" value="7"/>
>> </module>
>> <module name="CyclomaticComplexity">
>> <property name="severity" value="error"/>
>> </module>
>> <module name="WriteTag">
>> <metadata name="com.atlassw.tools.eclipse.checkstyle.comment"
>> value="Author name should be "Company\Author""/>
>> <property name="tag" value="@author"/>
>> <property name="tagFormat" value="[A-Z]*\\[A-Z]*"/>
>> <property name="tagSeverity" value="ignore"/>
>> </module>
>> </module>
>> <module name="NewlineAtEndOfFile"/>
>> <module name="Translation"/>
>> </module>
>>
>>
>
> --
> Dennis Lundberg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: Custom Checkstyle Integration | Need Help
Posted by Dennis Lundberg <de...@apache.org>.
I guess that you are using version 2.1 of the maven-checkstyle-plugin.
That version uses Checkstyle 4.1, which does *not* include the WriteTag
check.
Version 2.2 of the plugin, which has not yet been released, will use
Checkstyle 4.4. You can try the 2.2-SNAPSHOT if you want to verify that
it works for you.
shinjan sen wrote:
> Hi All.
> I was trying to integrate a custom checkstyle configuration file with my
> project and am getting the following exception:
>
> *[INFO] Error during page generation*
> *Embedded error: Error rendering Maven report: Failed during checkstyle
> configuration
> Unable to instantiate WriteTagCheck*
>
> The checkstyle file I am using works perfectly with eclipse when I try to do
> a checkstyle check from eclipse.
> But when I try to create a site using mvn site command I get the above
> exception.
>
> I have pasted the checkstyle file I am using below.
> Is there something wrong with the checkstyle file syntax?
> any pointers to possible solutions would be of great help to me.
>
> Many Thanks
> Shinjan
>
> my_checkstyle_config.xml
> ------------------------------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <!--
> This configuration file was written by the eclipse-cs plugin configuration
> editor
> -->
> <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "
> http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
> <module name="Checker">
> <property name="severity" value="warning"/>
> <module name="TreeWalker">
> <property name="tabWidth" value="4"/>
> <module name="JavadocMethod"/>
> <module name="JavadocType"/>
> <module name="JavadocVariable"/>
> <module name="JavadocStyle"/>
> <module name="ConstantName"/>
> <module name="LocalFinalVariableName"/>
> <module name="LocalVariableName"/>
> <module name="MemberName"/>
> <module name="MethodName"/>
> <module name="PackageName"/>
> <module name="ParameterName"/>
> <module name="StaticVariableName"/>
> <module name="TypeName"/>
> <module name="AvoidStarImport"/>
> <module name="IllegalImport"/>
> <module name="RedundantImport"/>
> <module name="UnusedImports"/>
> <module name="FileLength"/>
> <module name="LineLength">
> <property name="ignorePattern" value="^import"/>
> </module>
> <module name="MethodLength"/>
> <module name="ParameterNumber"/>
> <module name="EmptyForIteratorPad"/>
> <module name="MethodParamPad"/>
> <module name="NoWhitespaceAfter">
> <property name="tokens"
> value="BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS"/>
> </module>
> <module name="NoWhitespaceBefore"/>
> <module name="OperatorWrap"/>
> <module name="ParenPad"/>
> <module name="TypecastParenPad"/>
> <module name="TabCharacter">
> <property name="severity" value="ignore"/>
> </module>
> <module name="WhitespaceAfter"/>
> <module name="WhitespaceAround"/>
> <module name="ModifierOrder"/>
> <module name="RedundantModifier"/>
> <module name="AvoidNestedBlocks"/>
> <module name="EmptyBlock"/>
> <module name="LeftCurly">
> <property name="option" value="nl"/>
> </module>
> <module name="NeedBraces"/>
> <module name="RightCurly">
> <property name="option" value="alone"/>
> </module>
> <module name="AvoidInlineConditionals"/>
> <module name="DoubleCheckedLocking"/>
> <module name="EmptyStatement"/>
> <module name="EqualsHashCode"/>
> <module name="HiddenField"/>
> <module name="IllegalInstantiation"/>
> <module name="InnerAssignment"/>
> <module name="MagicNumber"/>
> <module name="MissingSwitchDefault"/>
> <module name="RedundantThrows"/>
> <module name="SimplifyBooleanExpression"/>
> <module name="SimplifyBooleanReturn"/>
> <module name="FinalClass"/>
> <module name="HideUtilityClassConstructor"/>
> <module name="InterfaceIsType"/>
> <module name="VisibilityModifier"/>
> <module name="ArrayTypeStyle"/>
> <module name="FinalParameters"/>
> <module name="GenericIllegalRegexp">
> <property name="severity" value="error"/>
> <property name="format"
> value="System.out.println()|printStackTrace()"/>
> <property name="ignoreCase" value="true"/>
> <property name="message" value="usage of System.out.println() or
> printStackTrace()"/>
> </module>
> <module name="TodoComment">
> <property name="severity" value="ignore"/>
> </module>
> <module name="UpperEll"/>
> <module name="ExecutableStatementCount">
> <property name="max" value="25"/>
> <property name="tokens"
> value="INSTANCE_INIT,STATIC_INIT,METHOD_DEF,CTOR_DEF"/>
> </module>
> <module name="ExecutableStatementCount">
> <property name="severity" value="error"/>
> <property name="max" value="35"/>
> <property name="tokens"
> value="INSTANCE_INIT,STATIC_INIT,METHOD_DEF,CTOR_DEF"/>
> </module>
> <module name="CyclomaticComplexity">
> <property name="max" value="7"/>
> </module>
> <module name="CyclomaticComplexity">
> <property name="severity" value="error"/>
> </module>
> <module name="WriteTag">
> <metadata name="com.atlassw.tools.eclipse.checkstyle.comment"
> value="Author name should be "Company\Author""/>
> <property name="tag" value="@author"/>
> <property name="tagFormat" value="[A-Z]*\\[A-Z]*"/>
> <property name="tagSeverity" value="ignore"/>
> </module>
> </module>
> <module name="NewlineAtEndOfFile"/>
> <module name="Translation"/>
> </module>
>
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org