cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r510100 - in /incubator/cxf/trunk: api/src/main/resources/META-INF/ buildtools/ buildtools/src/main/resources/ buildtools/src/main/resources/META-INF/ codegen-plugin/src/main/resources/META-INF/ codegen-plugin2/src/main/resources/META-INF/ ...
Date Wed, 21 Feb 2007 17:00:42 GMT
Author: dkulp
Date: Wed Feb 21 09:00:39 2007
New Revision: 510100

URL: http://svn.apache.org/viewvc?view=rev&rev=510100
Log:
First part of using remote-resources to add LICENSE/DISCLAIMERs to the jars

Need to review NOTICES before we completely switch to it for those.

Removed:
    incubator/cxf/trunk/api/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/api/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/buildtools/src/main/resources/META-INF/
    incubator/cxf/trunk/codegen-plugin/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/codegen-plugin/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/codegen-plugin2/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/codegen-plugin2/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/common/common/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/common/common/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/common/schemas/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/common/schemas/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/distribution/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/distribution/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/integration/jbi/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/integration/jbi/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/integration/jca/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/integration/jca/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/metacode/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/metacode/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/rt/bindings/http/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/rt/bindings/http/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/rt/bindings/soap/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/rt/bindings/soap/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/rt/bindings/xml/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/rt/bindings/xml/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/rt/core/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/rt/core/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/rt/databinding/jaxb/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/rt/databinding/jaxb/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/rt/frontend/jaxws/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/rt/frontend/jaxws/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/rt/frontend/js/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/rt/frontend/js/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/rt/frontend/simple/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/rt/frontend/simple/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/rt/management/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/rt/management/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/rt/transports/http/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/rt/transports/http/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/rt/transports/http2/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/rt/transports/http2/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/rt/transports/jms/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/rt/transports/jms/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/rt/transports/local/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/rt/transports/local/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/rt/ws/addr/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/rt/ws/addr/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/rt/ws/rm/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/rt/ws/rm/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/tools/common/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/tools/common/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/tools/eclipse-plugin/src/main/resources/DISCLAIMER
    incubator/cxf/trunk/tools/eclipse-plugin/src/main/resources/LICENSE
    incubator/cxf/trunk/tools/eclipse3.1-plugin/src/main/resources/DISCLAIMER
    incubator/cxf/trunk/tools/eclipse3.1-plugin/src/main/resources/LICENSE
    incubator/cxf/trunk/tools/java2wsdl/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/tools/java2wsdl/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/tools/misctools/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/tools/misctools/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/tools/validator/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/tools/validator/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/tools/wsdl2java/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/tools/wsdl2java/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/tools/xjc/dv/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/tools/xjc/dv/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/tools2/common/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/tools2/common/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/tools2/javato/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/tools2/javato/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/tools2/validator/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/tools2/validator/src/main/resources/META-INF/LICENSE
    incubator/cxf/trunk/tools2/wsdlto/misc/src/main/resources/META-INF/DISCLAIMER
    incubator/cxf/trunk/tools2/wsdlto/misc/src/main/resources/META-INF/LICENSE
Modified:
    incubator/cxf/trunk/buildtools/pom.xml
    incubator/cxf/trunk/buildtools/src/main/resources/cxf-checkstyle.xml
    incubator/cxf/trunk/buildtools/src/main/resources/cxf-pmd-ruleset.xml
    incubator/cxf/trunk/parent/pom.xml

Modified: incubator/cxf/trunk/buildtools/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/buildtools/pom.xml?view=diff&rev=510100&r1=510099&r2=510100
==============================================================================
--- incubator/cxf/trunk/buildtools/pom.xml (original)
+++ incubator/cxf/trunk/buildtools/pom.xml Wed Feb 21 09:00:39 2007
@@ -31,4 +31,29 @@
     <url>http://cwiki.apache.org/CXF</url>
     <packaging>jar</packaging>
 
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-remote-resources-plugin</artifactId>
+                <version>1.0-alpha-2</version>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>process</goal>
+                        </goals>
+                        <configuration>
+                            <resourceBundles>
+                                <resourceBundle>org.apache:apache-incubator-disclaimer-resource-bundle:1.0</resourceBundle>
+                                <resourceBundle>org.apache:apache-jar-resource-bundle:1.1</resourceBundle>
+                            </resourceBundles>
+                            <properties>
+                                <addLicense>true</addLicense>
+                                <projectName>Apache CXF</projectName>
+                            </properties>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
 </project>

Modified: incubator/cxf/trunk/buildtools/src/main/resources/cxf-checkstyle.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/buildtools/src/main/resources/cxf-checkstyle.xml?view=diff&rev=510100&r1=510099&r2=510100
==============================================================================
--- incubator/cxf/trunk/buildtools/src/main/resources/cxf-checkstyle.xml (original)
+++ incubator/cxf/trunk/buildtools/src/main/resources/cxf-checkstyle.xml Wed Feb 21 09:00:39
2007
@@ -22,12 +22,12 @@
     "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
 
 <!--
-Checks to make sure the code meets the CXF coding guidelines
+Checks to make sure the code meets the CXF coding guidelines which 
+are similar to the Sun guidelines at:
 http://java.sun.com/docs/codeconv/index.html
 
 It also enforces aa bunch of other "BestPractices like method
 lengths, if/try depths, etc...
-                        
 -->
 
 <module name="Checker">

Modified: incubator/cxf/trunk/buildtools/src/main/resources/cxf-pmd-ruleset.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/buildtools/src/main/resources/cxf-pmd-ruleset.xml?view=diff&rev=510100&r1=510099&r2=510100
==============================================================================
--- incubator/cxf/trunk/buildtools/src/main/resources/cxf-pmd-ruleset.xml (original)
+++ incubator/cxf/trunk/buildtools/src/main/resources/cxf-pmd-ruleset.xml Wed Feb 21 09:00:39
2007
@@ -18,173 +18,173 @@
   under the License.
 -->
 <ruleset name="pmd-eclipse">
-  <description>PMD Plugin preferences rule set</description>
-  
-  
-  <rule ref="rulesets/basic.xml/BooleanInstantiation"/>
-  <rule ref="rulesets/basic.xml/CollapsibleIfStatements"/>
-  <rule ref="rulesets/basic.xml/DoubleCheckedLocking"/>
-<!--<rule ref="rulesets/basic.xml/EmptyCatchBlock"/>-->
-<!--<rule ref="rulesets/basic.xml/EmptyFinallyBlock"/>-->
-<!--<rule ref="rulesets/basic.xml/EmptyIfStmt"/>-->
-  <rule ref="rulesets/basic.xml/EmptyStatementNotInLoop"/>
-<!--<rule ref="rulesets/basic.xml/EmptyStaticInitializer"/>-->
-<!--<rule ref="rulesets/basic.xml/EmptySwitchStatements"/>-->
-<!--<rule ref="rulesets/basic.xml/EmptySynchronizedBlock"/>-->
-<!--<rule ref="rulesets/basic.xml/EmptyTryBlock"/>-->
-<!--<rule ref="rulesets/basic.xml/EmptyWhileStmt"/>-->
-  <rule ref="rulesets/basic.xml/ForLoopShouldBeWhileLoop"/>
-  <rule ref="rulesets/basic.xml/JumbledIncrementer"/>
-<!--<rule ref="rulesets/basic.xml/OverrideBothEqualsAndHashcode"/>-->
-  <rule ref="rulesets/basic.xml/ReturnFromFinallyBlock"/>
-  <rule ref="rulesets/basic.xml/UnconditionalIfStatement"/>
-  <rule ref="rulesets/basic.xml/UnnecessaryConversionTemporary"/>
-  <rule ref="rulesets/basic.xml/UnnecessaryFinalModifier"/>
-  <rule ref="rulesets/basic.xml/UnnecessaryReturn"/>
-<!--<rule ref="rulesets/basic.xml/UselessOverridingMethod"/>-->
-  
-<!--<rule ref="rulesets/braces.xml/ForLoopsMustUseBraces"/>-->
-<!--<rule ref="rulesets/braces.xml/IfElseStmtsMustUseBraces"/>-->
-<!--<rule ref="rulesets/braces.xml/IfStmtsMustUseBraces"/>-->
-<!--<rule ref="rulesets/braces.xml/WhileLoopsMustUseBraces"/>-->
-
-<!--<rule ref="rulesets/clone.xml/CloneMethodMustImplementCloneable"/>-->
-<!--<rule ref="rulesets/clone.xml/CloneThrowsCloneNotSupportedException"/>-->
-<!--<rule ref="rulesets/clone.xml/ProperCloneImplementation"/>-->
-  
-<!--<rule ref="rulesets/codesize.xml/CyclomaticComplexity"/>-->
-<!--<rule ref="rulesets/codesize.xml/ExcessiveClassLength"/>-->
-<!--<rule ref="rulesets/codesize.xml/ExcessiveMethodLength"/>-->
-<!--<rule ref="rulesets/codesize.xml/ExcessiveParameterList"/>-->
-<!--<rule ref="rulesets/codesize.xml/ExcessivePublicCount"/>-->
-<!--<rule ref="rulesets/codesize.xml/TooManyFields"/>-->
-
-<rule ref="rulesets/controversial.xml/AssignmentInOperand"/>
-<!--<rule ref="rulesets/controversial.xml/AtLeastOneConstructor"/>-->
-<!--<rule ref="rulesets/controversial.xml/CallSuperInConstructor"/>-->
-<!--<rule ref="rulesets/controversial.xml/DontImportSun"/>-->
-<!--<rule ref="rulesets/controversial.xml/NullAssignment"/>-->
-<!--<rule ref="rulesets/controversial.xml/OnlyOneReturn"/>-->
-<!--<rule ref="rulesets/controversial.xml/SingularField"/>-->
-<!--<rule ref="rulesets/controversial.xml/SuspiciousOctalEscape"/>-->
-<!--<rule ref="rulesets/controversial.xml/UnnecessaryConstructor"/>-->
-<!--<rule ref="rulesets/controversial.xml/UnnecessaryParentheses"/>-->
-<!--<rule ref="rulesets/controversial.xml/UnusedModifier"/>-->
-
-<!--<rule ref="rulesets/coupling.xml/CouplingBetweenObjects"/>-->
-<!--<rule ref="rulesets/coupling.xml/ExcessiveImports"/>-->
-<!--<rule ref="rulesets/coupling.xml/LooseCoupling"/>-->
-
-<!--<rule ref="rulesets/design.xml/AbstractClassWithoutAbstractMethod"/>-->
-<!--<rule ref="rulesets/design.xml/AccessorClassGeneration"/>-->
-<!--<rule ref="rulesets/design.xml/AssignmentToNonFinalStatic"/>-->
-<!--<rule ref="rulesets/design.xml/AvoidDeeplyNestedIfStmts"/>-->
-<!--<rule ref="rulesets/design.xml/AvoidInstanceofChecksInCatchClause"/>-->
-<rule ref="rulesets/design.xml/AvoidProtectedFieldInFinalClass"/>
-<!--<rule ref="rulesets/design.xml/AvoidReassigningParameters"/>-->
-<!--<rule ref="rulesets/design.xml/AvoidSynchronizedAtMethodLevel"/>-->
-<!--<rule ref="rulesets/design.xml/BadComparison"/>-->
-<!--<rule ref="rulesets/design.xml/CloseConnection"/>-->
-<!--<rule ref="rulesets/design.xml/CompareObjectsWithEquals"/>-->
-<!--<rule ref="rulesets/design.xml/ConfusingTernary"/>-->
-<rule ref="rulesets/design.xml/ConstructorCallsOverridableMethod"/>
-<!--<rule ref="rulesets/design.xml/DefaultLabelNotLastInSwitchStmt"/>-->
-<!--<rule ref="rulesets/design.xml/FinalFieldCouldBeStatic"/>-->
-<rule ref="rulesets/design.xml/IdempotentOperations"/>
-<!--<rule ref="rulesets/design.xml/ImmutableField"/>-->
-<!--<rule ref="rulesets/design.xml/InstantiationToGetClass"/>-->
-<!--<rule ref="rulesets/design.xml/MissingBreakInSwitch"/>-->
-<!--<rule ref="rulesets/design.xml/MissingStaticMethodInNonInstantiatableClass"/>-->
-<!--<rule ref="rulesets/design.xml/NonCaseLabelInSwitchStatement"/>-->
-<!--<rule ref="rulesets/design.xml/NonStaticInitializer"/>-->
-<rule ref="rulesets/design.xml/OptimizableToArrayCall"/>
-<rule ref="rulesets/design.xml/PositionLiteralsFirstInComparisons"/>
-<rule ref="rulesets/design.xml/SimplifyBooleanExpressions"/>
-<rule ref="rulesets/design.xml/SimplifyBooleanReturns"/>
-<rule ref="rulesets/design.xml/SimplifyConditional"/>
-<!--<rule ref="rulesets/design.xml/SwitchDensity"/>-->
-<!--<rule ref="rulesets/design.xml/SwitchStmtsShouldHaveDefault"/>-->
-<rule ref="rulesets/design.xml/UnnecessaryLocalBeforeReturn"/>
-<!--<rule ref="rulesets/design.xml/UseLocaleWithCaseConversions"/>-->
-<!--<rule ref="rulesets/design.xml/UseNotifyAllInsteadOfNotify"/>-->
-<!--<rule ref="rulesets/design.xml/UseSingleton"/>-->
-
-<!--<rule ref="rulesets/finalizers.xml/EmptyFinalizer"/>-->
-<!--<rule ref="rulesets/finalizers.xml/FinalizeOnlyCallsSuperFinalize"/>-->
-<!--<rule ref="rulesets/finalizers.xml/FinalizeOverloaded"/>-->
-<!--<rule ref="rulesets/finalizers.xml/FinalizeDoesNotCallSuperFinalize"/>-->
-<!--<rule ref="rulesets/finalizers.xml/FinalizeShouldBeProtected"/>-->
-<!--<rule ref="rulesets/finalizers.xml/AvoidCallingFinalize"/>-->
-
-<!--<rule ref="rulesets/imports.xml/DuplicateImports"/>-->
-<!--<rule ref="rulesets/imports.xml/DontImportJavaLang"/>-->
-<!--<rule ref="rulesets/imports.xml/UnusedImports"/>-->
-<!--<rule ref="rulesets/imports.xml/ImportFromSamePackage"/>-->
-
-<!--<rule ref="rulesets/javabeans.xml/BeanMembersShouldSerialize"/>-->
-<!--<rule ref="rulesets/javabeans.xml/MissingSerialVersionUID"/>-->
-
-<!--<rule ref="rulesets/junit.xml/JUnitStaticSuite"/>-->
-<!--<rule ref="rulesets/junit.xml/JUnitSpelling"/>-->
-<!--<rule ref="rulesets/junit.xml/JUnitAssertionsShouldIncludeMessage"/>-->
-<!--<rule ref="rulesets/junit.xml/JUnitTestsShouldIncludeAssert"/>-->
-<!--<rule ref="rulesets/junit.xml/TestClassWithoutTestCases"/>-->
-<!--<rule ref="rulesets/junit.xml/UnnecessaryBooleanAssertion"/>-->
-<!--<rule ref="rulesets/junit.xml/UseAssertEqualsInsteadOfAssertTrue"/>-->
-<!--<rule ref="rulesets/junit.xml/UseAssertSameInsteadOfAssertTrue"/>-->
-
-  <!--<rule ref="rulesets/logging-java.xml/AvoidPrintStackTrace"/>-->
-  <rule ref="rulesets/logging-java.xml/LoggerIsNotStaticFinal"/>
-  <!--<rule ref="rulesets/logging-java.xml/MoreThanOneLogger"/>-->
-  <!--<rule ref="rulesets/logging-java.xml/LoggerIsNotStaticFinal"/>-->
-  <!--<rule ref="rulesets/logging-java.xml/LogBlockWithoutIf"/>-->
-  <!--<rule ref="rulesets/logging-java.xml/SystemPrintln"/>-->
-  <!--<rule ref="rulesets/logging-jakarta-commons.xml/UseCorrectExceptionLogging"/>-->
-  <!--<rule ref="rulesets/logging-jakarta-commons.xml/ProperLogger"/>-->
-  
-  <!--<rule ref="rulesets/naming.xml/ShortVariable"/>-->
-  <!--<rule ref="rulesets/naming.xml/LongVariable"/>-->
-  <!--<rule ref="rulesets/naming.xml/ShortMethodName"/>-->
-  <!--<rule ref="rulesets/naming.xml/VariableNamingConventions"/>-->
-  <!--<rule ref="rulesets/naming.xml/MethodNamingConventions"/>-->
-  <!--<rule ref="rulesets/naming.xml/ClassNamingConventions"/>-->
-  <!--<rule ref="rulesets/naming.xml/AbstractNaming"/>-->
-  <!--<rule ref="rulesets/naming.xml/AvoidDollarSigns"/>-->
-  <!--<rule ref="rulesets/naming.xml/MethodWithSameNameAsEnclosingClass"/>-->
-  <!--<rule ref="rulesets/naming.xml/SuspiciousHashcodeMethodName"/>-->
-  <!--<rule ref="rulesets/naming.xml/SuspiciousConstantFieldName"/>-->
-  <!--<rule ref="rulesets/naming.xml/AvoidFieldNameMatchingTypeName"/>-->
-  <!--<rule ref="rulesets/naming.xml/AvoidFieldNameMatchingMethodName"/>-->
-  <!--<rule ref="rulesets/naming.xml/AvoidNonConstructorMethodsWithClassName"/>-->
-  <!--<rule ref="rulesets/naming.xml/NoPackage"/>-->
-  <!--<rule ref="rulesets/naming.xml/PackageCase"/>-->
-
-  <!--<rule ref="rulesets/optimizations.xml/LocalVariableCouldBeFinal"/>-->
-  <!--<rule ref="rulesets/optimizations.xml/MethodArgumentCouldBeFinal"/>-->
-  <!--<rule ref="rulesets/optimizations.xml/AvoidInstantiatingObjectsInLoops"/>-->
-  <!--<rule ref="rulesets/optimizations.xml/UseArrayListInsteadOfVector"/>-->
-  <!--<rule ref="rulesets/optimizations.xml/SimplifyStartsWith"/>-->
-  <!--<rule ref="rulesets/optimizations.xml/UseStringBufferForStringAppends"/>-->
-
-  <!--<rule ref="rulesets/strictexception.xml/AvoidCatchingThrowable"/>-->
-  <!--<rule ref="rulesets/strictexception.xml/SignatureDeclareThrowsException"/>-->
-  <!--<rule ref="rulesets/strictexception.xml/ExceptionAsFlowControl"/>-->
-  <!--<rule ref="rulesets/strictexception.xml/AvoidCatchingNPE"/>-->
-  <!--<rule ref="rulesets/strictexception.xml/AvoidThrowingRawExceptionTypes"/>-->
-  <!--<rule ref="rulesets/strictexception.xml/AvoidThrowingNullPointerException"/>-->
- 
-  <!--<rule ref="rulesets/strings.xml/AvoidDuplicateLiterals"/>-->
-  <!--<rule ref="rulesets/strings.xml/StringInstantiation"/>-->
-  <!--<rule ref="rulesets/strings.xml/StringToString"/>-->
-  <!--<rule ref="rulesets/strings.xml/AvoidConcatenatingNonLiteralsInStringBuffer"/>-->
-  <!--<rule ref="rulesets/strings.xml/UnnecessaryCaseChange"/>-->
-  
-  <!--<rule ref="rulesets/sunsecure.xml/MethodReturnsInternalArray"/>-->
-  <!--<rule ref="rulesets/sunsecure.xml/ArrayIsStoredDirectly"/>-->
-  
-  <rule ref="rulesets/unusedcode.xml/UnusedLocalVariable"/>
-  <rule ref="rulesets/unusedcode.xml/UnusedPrivateField"/>
-  <rule ref="rulesets/unusedcode.xml/UnusedPrivateMethod"/>
-  <!--<rule ref="rulesets/unusedcode.xml/UnusedFormalParameter"/>-->
-  
+    <description>PMD Plugin preferences rule set</description>
+
+
+    <rule ref="rulesets/basic.xml/BooleanInstantiation"/>
+    <rule ref="rulesets/basic.xml/CollapsibleIfStatements"/>
+    <rule ref="rulesets/basic.xml/DoubleCheckedLocking"/>
+    <!--<rule ref="rulesets/basic.xml/EmptyCatchBlock"/>-->
+    <!--<rule ref="rulesets/basic.xml/EmptyFinallyBlock"/>-->
+    <!--<rule ref="rulesets/basic.xml/EmptyIfStmt"/>-->
+    <rule ref="rulesets/basic.xml/EmptyStatementNotInLoop"/>
+    <!--<rule ref="rulesets/basic.xml/EmptyStaticInitializer"/>-->
+    <!--<rule ref="rulesets/basic.xml/EmptySwitchStatements"/>-->
+    <!--<rule ref="rulesets/basic.xml/EmptySynchronizedBlock"/>-->
+    <!--<rule ref="rulesets/basic.xml/EmptyTryBlock"/>-->
+    <!--<rule ref="rulesets/basic.xml/EmptyWhileStmt"/>-->
+    <rule ref="rulesets/basic.xml/ForLoopShouldBeWhileLoop"/>
+    <rule ref="rulesets/basic.xml/JumbledIncrementer"/>
+    <!--<rule ref="rulesets/basic.xml/OverrideBothEqualsAndHashcode"/>-->
+    <rule ref="rulesets/basic.xml/ReturnFromFinallyBlock"/>
+    <rule ref="rulesets/basic.xml/UnconditionalIfStatement"/>
+    <rule ref="rulesets/basic.xml/UnnecessaryConversionTemporary"/>
+    <rule ref="rulesets/basic.xml/UnnecessaryFinalModifier"/>
+    <rule ref="rulesets/basic.xml/UnnecessaryReturn"/>
+    <!--<rule ref="rulesets/basic.xml/UselessOverridingMethod"/>-->
+
+    <!--<rule ref="rulesets/braces.xml/ForLoopsMustUseBraces"/>-->
+    <!--<rule ref="rulesets/braces.xml/IfElseStmtsMustUseBraces"/>-->
+    <!--<rule ref="rulesets/braces.xml/IfStmtsMustUseBraces"/>-->
+    <!--<rule ref="rulesets/braces.xml/WhileLoopsMustUseBraces"/>-->
+
+    <!--<rule ref="rulesets/clone.xml/CloneMethodMustImplementCloneable"/>-->
+    <!--<rule ref="rulesets/clone.xml/CloneThrowsCloneNotSupportedException"/>-->
+    <!--<rule ref="rulesets/clone.xml/ProperCloneImplementation"/>-->
+
+    <!--<rule ref="rulesets/codesize.xml/CyclomaticComplexity"/>-->
+    <!--<rule ref="rulesets/codesize.xml/ExcessiveClassLength"/>-->
+    <!--<rule ref="rulesets/codesize.xml/ExcessiveMethodLength"/>-->
+    <!--<rule ref="rulesets/codesize.xml/ExcessiveParameterList"/>-->
+    <!--<rule ref="rulesets/codesize.xml/ExcessivePublicCount"/>-->
+    <!--<rule ref="rulesets/codesize.xml/TooManyFields"/>-->
+
+    <rule ref="rulesets/controversial.xml/AssignmentInOperand"/>
+    <!--<rule ref="rulesets/controversial.xml/AtLeastOneConstructor"/>-->
+    <!--<rule ref="rulesets/controversial.xml/CallSuperInConstructor"/>-->
+    <!--<rule ref="rulesets/controversial.xml/DontImportSun"/>-->
+    <!--<rule ref="rulesets/controversial.xml/NullAssignment"/>-->
+    <!--<rule ref="rulesets/controversial.xml/OnlyOneReturn"/>-->
+    <!--<rule ref="rulesets/controversial.xml/SingularField"/>-->
+    <!--<rule ref="rulesets/controversial.xml/SuspiciousOctalEscape"/>-->
+    <!--<rule ref="rulesets/controversial.xml/UnnecessaryConstructor"/>-->
+    <!--<rule ref="rulesets/controversial.xml/UnnecessaryParentheses"/>-->
+    <!--<rule ref="rulesets/controversial.xml/UnusedModifier"/>-->
+
+    <!--<rule ref="rulesets/coupling.xml/CouplingBetweenObjects"/>-->
+    <!--<rule ref="rulesets/coupling.xml/ExcessiveImports"/>-->
+    <!--<rule ref="rulesets/coupling.xml/LooseCoupling"/>-->
+
+    <!--<rule ref="rulesets/design.xml/AbstractClassWithoutAbstractMethod"/>-->
+    <!--<rule ref="rulesets/design.xml/AccessorClassGeneration"/>-->
+    <!--<rule ref="rulesets/design.xml/AssignmentToNonFinalStatic"/>-->
+    <!--<rule ref="rulesets/design.xml/AvoidDeeplyNestedIfStmts"/>-->
+    <!--<rule ref="rulesets/design.xml/AvoidInstanceofChecksInCatchClause"/>-->
+    <rule ref="rulesets/design.xml/AvoidProtectedFieldInFinalClass"/>
+    <!--<rule ref="rulesets/design.xml/AvoidReassigningParameters"/>-->
+    <!--<rule ref="rulesets/design.xml/AvoidSynchronizedAtMethodLevel"/>-->
+    <!--<rule ref="rulesets/design.xml/BadComparison"/>-->
+    <!--<rule ref="rulesets/design.xml/CloseConnection"/>-->
+    <!--<rule ref="rulesets/design.xml/CompareObjectsWithEquals"/>-->
+    <!--<rule ref="rulesets/design.xml/ConfusingTernary"/>-->
+    <rule ref="rulesets/design.xml/ConstructorCallsOverridableMethod"/>
+    <!--<rule ref="rulesets/design.xml/DefaultLabelNotLastInSwitchStmt"/>-->
+    <!--<rule ref="rulesets/design.xml/FinalFieldCouldBeStatic"/>-->
+    <rule ref="rulesets/design.xml/IdempotentOperations"/>
+    <!--<rule ref="rulesets/design.xml/ImmutableField"/>-->
+    <!--<rule ref="rulesets/design.xml/InstantiationToGetClass"/>-->
+    <!--<rule ref="rulesets/design.xml/MissingBreakInSwitch"/>-->
+    <!--<rule ref="rulesets/design.xml/MissingStaticMethodInNonInstantiatableClass"/>-->
+    <!--<rule ref="rulesets/design.xml/NonCaseLabelInSwitchStatement"/>-->
+    <!--<rule ref="rulesets/design.xml/NonStaticInitializer"/>-->
+    <rule ref="rulesets/design.xml/OptimizableToArrayCall"/>
+    <rule ref="rulesets/design.xml/PositionLiteralsFirstInComparisons"/>
+    <rule ref="rulesets/design.xml/SimplifyBooleanExpressions"/>
+    <rule ref="rulesets/design.xml/SimplifyBooleanReturns"/>
+    <rule ref="rulesets/design.xml/SimplifyConditional"/>
+    <!--<rule ref="rulesets/design.xml/SwitchDensity"/>-->
+    <!--<rule ref="rulesets/design.xml/SwitchStmtsShouldHaveDefault"/>-->
+    <rule ref="rulesets/design.xml/UnnecessaryLocalBeforeReturn"/>
+    <!--<rule ref="rulesets/design.xml/UseLocaleWithCaseConversions"/>-->
+    <!--<rule ref="rulesets/design.xml/UseNotifyAllInsteadOfNotify"/>-->
+    <!--<rule ref="rulesets/design.xml/UseSingleton"/>-->
+
+    <!--<rule ref="rulesets/finalizers.xml/EmptyFinalizer"/>-->
+    <!--<rule ref="rulesets/finalizers.xml/FinalizeOnlyCallsSuperFinalize"/>-->
+    <!--<rule ref="rulesets/finalizers.xml/FinalizeOverloaded"/>-->
+    <!--<rule ref="rulesets/finalizers.xml/FinalizeDoesNotCallSuperFinalize"/>-->
+    <!--<rule ref="rulesets/finalizers.xml/FinalizeShouldBeProtected"/>-->
+    <!--<rule ref="rulesets/finalizers.xml/AvoidCallingFinalize"/>-->
+
+    <!--<rule ref="rulesets/imports.xml/DuplicateImports"/>-->
+    <!--<rule ref="rulesets/imports.xml/DontImportJavaLang"/>-->
+    <!--<rule ref="rulesets/imports.xml/UnusedImports"/>-->
+    <!--<rule ref="rulesets/imports.xml/ImportFromSamePackage"/>-->
+
+    <!--<rule ref="rulesets/javabeans.xml/BeanMembersShouldSerialize"/>-->
+    <!--<rule ref="rulesets/javabeans.xml/MissingSerialVersionUID"/>-->
+
+    <!--<rule ref="rulesets/junit.xml/JUnitStaticSuite"/>-->
+    <!--<rule ref="rulesets/junit.xml/JUnitSpelling"/>-->
+    <!--<rule ref="rulesets/junit.xml/JUnitAssertionsShouldIncludeMessage"/>-->
+    <!--<rule ref="rulesets/junit.xml/JUnitTestsShouldIncludeAssert"/>-->
+    <!--<rule ref="rulesets/junit.xml/TestClassWithoutTestCases"/>-->
+    <!--<rule ref="rulesets/junit.xml/UnnecessaryBooleanAssertion"/>-->
+    <!--<rule ref="rulesets/junit.xml/UseAssertEqualsInsteadOfAssertTrue"/>-->
+    <!--<rule ref="rulesets/junit.xml/UseAssertSameInsteadOfAssertTrue"/>-->
+
+    <!--<rule ref="rulesets/logging-java.xml/AvoidPrintStackTrace"/>-->
+    <rule ref="rulesets/logging-java.xml/LoggerIsNotStaticFinal"/>
+    <!--<rule ref="rulesets/logging-java.xml/MoreThanOneLogger"/>-->
+    <!--<rule ref="rulesets/logging-java.xml/LoggerIsNotStaticFinal"/>-->
+    <!--<rule ref="rulesets/logging-java.xml/LogBlockWithoutIf"/>-->
+    <!--<rule ref="rulesets/logging-java.xml/SystemPrintln"/>-->
+    <!--<rule ref="rulesets/logging-jakarta-commons.xml/UseCorrectExceptionLogging"/>-->
+    <!--<rule ref="rulesets/logging-jakarta-commons.xml/ProperLogger"/>-->
+
+    <!--<rule ref="rulesets/naming.xml/ShortVariable"/>-->
+    <!--<rule ref="rulesets/naming.xml/LongVariable"/>-->
+    <!--<rule ref="rulesets/naming.xml/ShortMethodName"/>-->
+    <!--<rule ref="rulesets/naming.xml/VariableNamingConventions"/>-->
+    <!--<rule ref="rulesets/naming.xml/MethodNamingConventions"/>-->
+    <!--<rule ref="rulesets/naming.xml/ClassNamingConventions"/>-->
+    <!--<rule ref="rulesets/naming.xml/AbstractNaming"/>-->
+    <!--<rule ref="rulesets/naming.xml/AvoidDollarSigns"/>-->
+    <!--<rule ref="rulesets/naming.xml/MethodWithSameNameAsEnclosingClass"/>-->
+    <!--<rule ref="rulesets/naming.xml/SuspiciousHashcodeMethodName"/>-->
+    <!--<rule ref="rulesets/naming.xml/SuspiciousConstantFieldName"/>-->
+    <!--<rule ref="rulesets/naming.xml/AvoidFieldNameMatchingTypeName"/>-->
+    <!--<rule ref="rulesets/naming.xml/AvoidFieldNameMatchingMethodName"/>-->
+    <!--<rule ref="rulesets/naming.xml/AvoidNonConstructorMethodsWithClassName"/>-->
+    <!--<rule ref="rulesets/naming.xml/NoPackage"/>-->
+    <!--<rule ref="rulesets/naming.xml/PackageCase"/>-->
+
+    <!--<rule ref="rulesets/optimizations.xml/LocalVariableCouldBeFinal"/>-->
+    <!--<rule ref="rulesets/optimizations.xml/MethodArgumentCouldBeFinal"/>-->
+    <!--<rule ref="rulesets/optimizations.xml/AvoidInstantiatingObjectsInLoops"/>-->
+    <!--<rule ref="rulesets/optimizations.xml/UseArrayListInsteadOfVector"/>-->
+    <!--<rule ref="rulesets/optimizations.xml/SimplifyStartsWith"/>-->
+    <!--<rule ref="rulesets/optimizations.xml/UseStringBufferForStringAppends"/>-->
+
+    <!--<rule ref="rulesets/strictexception.xml/AvoidCatchingThrowable"/>-->
+    <!--<rule ref="rulesets/strictexception.xml/SignatureDeclareThrowsException"/>-->
+    <!--<rule ref="rulesets/strictexception.xml/ExceptionAsFlowControl"/>-->
+    <!--<rule ref="rulesets/strictexception.xml/AvoidCatchingNPE"/>-->
+    <!--<rule ref="rulesets/strictexception.xml/AvoidThrowingRawExceptionTypes"/>-->
+    <!--<rule ref="rulesets/strictexception.xml/AvoidThrowingNullPointerException"/>-->
+
+    <!--<rule ref="rulesets/strings.xml/AvoidDuplicateLiterals"/>-->
+    <!--<rule ref="rulesets/strings.xml/StringInstantiation"/>-->
+    <!--<rule ref="rulesets/strings.xml/StringToString"/>-->
+    <!--<rule ref="rulesets/strings.xml/AvoidConcatenatingNonLiteralsInStringBuffer"/>-->
+    <!--<rule ref="rulesets/strings.xml/UnnecessaryCaseChange"/>-->
+
+    <!--<rule ref="rulesets/sunsecure.xml/MethodReturnsInternalArray"/>-->
+    <!--<rule ref="rulesets/sunsecure.xml/ArrayIsStoredDirectly"/>-->
+
+    <rule ref="rulesets/unusedcode.xml/UnusedLocalVariable"/>
+    <rule ref="rulesets/unusedcode.xml/UnusedPrivateField"/>
+    <rule ref="rulesets/unusedcode.xml/UnusedPrivateMethod"/>
+    <!--<rule ref="rulesets/unusedcode.xml/UnusedFormalParameter"/>-->
+
 </ruleset>

Modified: incubator/cxf/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/parent/pom.xml?view=diff&rev=510100&r1=510099&r2=510100
==============================================================================
--- incubator/cxf/trunk/parent/pom.xml (original)
+++ incubator/cxf/trunk/parent/pom.xml Wed Feb 21 09:00:39 2007
@@ -221,11 +221,10 @@
                 </plugin>
             </plugins>
         </pluginManagement>
-        <!--plugins>
-            This isn't quite ready yet.   Needs the snapshots released.
+        <plugins>
             <plugin>
                 <artifactId>maven-remote-resources-plugin</artifactId>
-                <version>1.0-alpha-2-SNAPSHOT</version>
+                <version>1.0-alpha-2</version>
                 <executions>
                     <execution>
                         <goals>
@@ -234,16 +233,17 @@
                         <configuration>
                             <resourceBundles>
                                 <resourceBundle>org.apache:apache-incubator-disclaimer-resource-bundle:1.0</resourceBundle>
-                                <resourceBundle>org.apache:apache-jar-resource-bundle:1.1-SNAPSHOT</resourceBundle>
+                                <resourceBundle>org.apache:apache-jar-resource-bundle:1.1</resourceBundle>
                             </resourceBundles>
                             <properties>
                                 <addLicense>true</addLicense>
+                                <projectName>Apache CXF</projectName>
                             </properties>
                         </configuration>
                     </execution>
                 </executions>
             </plugin>
-        </plugins-->
+        </plugins>
 
         <defaultGoal>install</defaultGoal>
     </build>



Mime
View raw message