Author: wsmoak Date: Sat Feb 4 19:03:15 2006 New Revision: 374961 URL: http://svn.apache.org/viewcvs?rev=374961&view=rev Log: Added custom config file for the Maven Jalopy Plugin. This is the default as shipped with the plugin; it needs to be modified to match our Checkstyle rules before use.
Added: struts/build/trunk/jalopy_struts.xml (with props) Modified: struts/build/trunk/project.properties Added: struts/build/trunk/jalopy_struts.xml URL: http://svn.apache.org/viewcvs/struts/build/trunk/jalopy_struts.xml?rev=374961&view=auto ============================================================================== --- struts/build/trunk/jalopy_struts.xml (added) +++ struts/build/trunk/jalopy_struts.xml Sat Feb 4 19:03:15 2006 @@ -0,0 +1,254 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- +/* + * Copyright 2001-2004 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + --> +<jalopy> + <printer> + <alignment> + <ParamsMethodDef>false</ParamsMethodDef> + <varAssigns>false</varAssigns> + <varIdents>false</varIdents> + <ternaryExpresssion>false</ternaryExpresssion> + <ternaryValue>false</ternaryValue> + </alignment> + <sorting> + <variable>false</variable> + <class>false</class> + <modifiers> + <use>false</use> + </modifiers> + <method>false</method> + <order>Static Variables/Initializers,Instance Variables,Instance Initializers,Constructors,Methods,Interfaces,Classes</order> + <use>true</use> + <constructor>false</constructor> + <orderModifiers>public,protected,private,abstract,static,final,synchronized,transient,volatile,native,strictfp</orderModifiers> + <interface>false</interface> + </sorting> + <blankLines> + <beforeHeader>0</beforeHeader> + <beforeCommentSingleLine>1</beforeCommentSingleLine> + <afterLastImport>1</afterLastImport> + <afterPackage>1</afterPackage> + <afterClass>1</afterClass> + <beforeControl>1</beforeControl> + <afterBraceLeft>0</afterBraceLeft> + <keepUpTo>1</keepUpTo> + <beforeJavadoc>1</beforeJavadoc> + <beforeCommentMultiLine>1</beforeCommentMultiLine> + <afterDeclaration>1</afterDeclaration> + <afterInterface>1</afterInterface> + <afterMethod>1</afterMethod> + <afterBlock>1</afterBlock> + <beforeBlock>1</beforeBlock> + <beforeDeclaration>1</beforeDeclaration> + <afterFooter>0</afterFooter> + <afterHeader>1</afterHeader> + <beforeBraceRight>0</beforeBraceRight> + <beforeCaseBlock>1</beforeCaseBlock> + <beforeFooter>0</beforeFooter> + </blankLines> + <header> + <text>/* + * Copyright 2001-2004 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */</text> + <smartModeLines>5</smartModeLines> + <keys>The Apache Software License</keys> + <use>false</use> + </header> + <whitespace> + <paddingLogicalOperators>true</paddingLogicalOperators> + <beforeMethodDeclarationParenthesis>false</beforeMethodDeclarationParenthesis> + <paddingBrackets>false</paddingBrackets> + <afterComma>true</afterComma> + <paddingBitwiseOperators>true</paddingBitwiseOperators> + <paddingAssignmentOperators>true</paddingAssignmentOperators> + <beforeLogicalNot>false</beforeLogicalNot> + <padddingTypeCast>false</padddingTypeCast> + <paddingRelationalOperators>true</paddingRelationalOperators> + <beforeStatementParenthesis>true</beforeStatementParenthesis> + <afterCastingParenthesis>true</afterCastingParenthesis> + <beforeBraces>true</beforeBraces> + <beforeCaseColon>false</beforeCaseColon> + <paddingMathematicalOperators>true</paddingMathematicalOperators> + <paddingBraces>true</paddingBraces> + <beforeMethodCallParenthesis>false</beforeMethodCallParenthesis> + <afterSemiColon>true</afterSemiColon> + <beforeBracketsTypes>false</beforeBracketsTypes> + <padddingParenthesis>false</padddingParenthesis> + <paddingShiftOperators>true</paddingShiftOperators> + <beforeBrackets>false</beforeBrackets> + </whitespace> + <indentation> + <label>false</label> + <braceRightAfter>0</braceRightAfter> + <extends>-1</extends> + <implements>-1</implements> + <leading>0</leading> + <continationIf>false</continationIf> + <parameter>-1</parameter> + <general>4</general> + <commentEndline>1</commentEndline> + <firstColumnComments>true</firstColumnComments> + <continationIfTernary>false</continationIfTernary> + <tabs> + <size>4</size> + <use>false</use> + </tabs> + <caseFromSwitch>false</caseFromSwitch> + <throws>-1</throws> + <braceLeft>1</braceLeft> + <deep>30</deep> + <braceRight>0</braceRight> + <useMethodCallParams>false</useMethodCallParams> + <continuation>4</continuation> + <braceCuddled>1</braceCuddled> + </indentation> + <comments> + <javadoc> + <addField>0</addField> + <remove>false</remove> + <templates> + <methods> + <return> * @return DOCUMENT ME!</return> + <exception> * @throws $exceptionType$ DOCUMENT ME!</exception> + <top>/**| * DOCUMENT ME!</top> + <bottom> */</bottom> + <param> * @param $paramType$ DOCUMENT ME!</param> + </methods> + </templates> + <tags> + <in-line /> + <standard /> + </tags> + <addClass>0</addClass> + <checkInnerClass>false</checkInnerClass> + <addCtor>0</addCtor> + <addMethod>0</addMethod> + <parseComments>false</parseComments> + <checkTags>false</checkTags> + </javadoc> + <separator> + <method>Methods</method> + <staticVariableInit>Static variables/initializers</staticVariableInit> + <ctor>Constructors</ctor> + <fillCharacter>ยท</fillCharacter> + <interface>Interfaces</interface> + <instanceInit>Instance initializers</instanceInit> + <instanceVariable>Instance variables</instanceVariable> + <class>Classes</class> + </separator> + <formatMultiLine>false</formatMultiLine> + <insertSeparatorRecursive>false</insertSeparatorRecursive> + <insertSeparator>false</insertSeparator> + <removeMultiLine>false</removeMultiLine> + <removeSingleLine>false</removeSingleLine> + </comments> + <footer> + <keys /> + <text /> + <use>false</use> + <smartModeLines>0</smartModeLines> + </footer> + <wrapping> + <arrayElements>0</arrayElements> + <afterThrowsTypes>false</afterThrowsTypes> + <afterImplementsTypes>false</afterImplementsTypes> + <beforeThrows>false</beforeThrows> + <afterChainedMethodCall>false</afterChainedMethodCall> + <afterExtendsTypes>false</afterExtendsTypes> + <paramsMethodCall>false</paramsMethodCall> + <lineLength>80</lineLength> + <beforeExtends>false</beforeExtends> + <beforeOperator>true</beforeOperator> + <paramsMethodDef>false</paramsMethodDef> + <beforeImplements>false</beforeImplements> + <paramsMethodCallIfCall>false</paramsMethodCallIfCall> + <afterLabel>true</afterLabel> + <use>true</use> + </wrapping> + <braces> + <removeBracesBlock>true</removeBracesBlock> + <emptyInsertStatement>false</emptyInsertStatement> + <treatMethodClassDifferent>false</treatMethodClassDifferent> + <insertBracesIfElse>true</insertBracesIfElse> + <removeBracesDoWhile>false</removeBracesDoWhile> + <insertBracesWhile>true</insertBracesWhile> + <removeBracesFor>false</removeBracesFor> + <insertBracesFor>true</insertBracesFor> + <removeBracesIfElse>false</removeBracesIfElse> + <removeBracesWhile>false</removeBracesWhile> + <rightBraceNewLine>true</rightBraceNewLine> + <leftBraceNewLine>false</leftBraceNewLine> + <emptyCuddle>false</emptyCuddle> + <insertBracesDoWhile>true</insertBracesDoWhile> + </braces> + <history> + <policy>History.Policy [disabled]</policy> + </history> + <environment /> + <chunks> + <byComments>true</byComments> + <byBlankLines>true</byBlankLines> + </chunks> + </printer> + <transform> + <import> + <policy>ImportPolicy [expand]</policy> + <groupingDepth>1</groupingDepth> + <grouping>javax:2|java:2</grouping> + <sort>true</sort> + </import> + <misc> + <insertUID>false</insertUID> + <insertLoggingConditional>false</insertLoggingConditional> + <insertExpressionParenthesis>true</insertExpressionParenthesis> + </misc> + </transform> + <general> + <styleName>Sun</styleName> + <styleDescription>Sun Java Coding Convention</styleDescription> + <backupLevel>0</backupLevel> + <backupDirectory>bak</backupDirectory> + <threadCount>1</threadCount> + <sourceVersion>13</sourceVersion> + <forceFormatting>false</forceFormatting> + </general> + <messages> + <ioMsgPrio>30000</ioMsgPrio> + <parserMsgPrio>30000</parserMsgPrio> + <parserJavadocMsgPrio>30000</parserJavadocMsgPrio> + <printerMsgPrio>30000</printerMsgPrio> + <printerJavadocMsgPrio>30000</printerJavadocMsgPrio> + <showErrorStackTrace>true</showErrorStackTrace> + <transformMsgPrio>30000</transformMsgPrio> + </messages> + <internal> + <version>4</version> + </internal> +</jalopy> \ No newline at end of file Propchange: struts/build/trunk/jalopy_struts.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: struts/build/trunk/jalopy_struts.xml ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Modified: struts/build/trunk/project.properties URL: http://svn.apache.org/viewcvs/struts/build/trunk/project.properties?rev=374961&r1=374960&r2=374961&view=diff ============================================================================== --- struts/build/trunk/project.properties (original) +++ struts/build/trunk/project.properties Sat Feb 4 19:03:15 2006 @@ -17,3 +17,5 @@ maven.repo.remote=http://www.ibiblio.org/maven/,http://cvs.apache.org/repository maven.xdoc.date = left + +maven.jalopy.style = build/jalopy_struts.xml --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]