Robert Muir 10 лет назад
Родитель
Сommit
b462fd712a
2 измененных файлов с 0 добавлено и 88 удалено
  1. 0 20
      dev-tools/pmd/custom.xml
  2. 0 68
      pom.xml

+ 0 - 20
dev-tools/pmd/custom.xml

@@ -1,20 +0,0 @@
-<?xml version="1.0"?>
-<ruleset name="Custom ruleset"
-    xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd">
-  <description>
-  Default ruleset for elasticsearch server project
-  </description>
-  <rule ref="rulesets/java/basic.xml"/>
-  <rule ref="rulesets/java/braces.xml"/>
-  <rule ref="rulesets/java/clone.xml"/>
-  <rule ref="rulesets/java/codesize.xml"/>
-  <rule ref="rulesets/java/coupling.xml">
-     <exclude name="LawOfDemeter" />
-  </rule>
-  <rule ref="rulesets/java/design.xml"/>
-  <rule ref="rulesets/java/unnecessary.xml">
-     <exclude name="UselessParentheses" />
-  </rule>
-</ruleset>

+ 0 - 68
pom.xml

@@ -1138,73 +1138,5 @@
             </activation>
             <!-- not including license-maven-plugin is sufficent to expose default license -->
         </profile>
-        <profile>
-            <id>static</id>
-            <activation>
-                <property>
-                    <name>tests.static</name>
-                    <value>true</value>
-                </property>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>findbugs-maven-plugin</artifactId>
-                        <version>2.5.3</version>
-                    </plugin>
-                </plugins>
-            </build>
-            <reporting>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-jxr-plugin</artifactId>
-                        <version>2.3</version>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-pmd-plugin</artifactId>
-                        <version>3.0.1</version>
-                        <configuration>
-                            <rulesets>
-                                <ruleset>${basedir}/dev-tools/pmd/custom.xml</ruleset>
-                            </rulesets>
-                            <targetJdk>1.7</targetJdk>
-                            <excludes>
-                                <exclude>**/jsr166e/**</exclude>
-                                <exclude>**/org/apache/lucene/**</exclude>
-                                <exclude>**/org/apache/elasticsearch/common/Base64.java</exclude>
-                            </excludes>
-                        </configuration>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>findbugs-maven-plugin</artifactId>
-                        <version>2.5.3</version>
-                        <configuration>
-                            <xmlOutput>true</xmlOutput>
-                            <xmlOutputDirectory>target/site</xmlOutputDirectory>
-                            <fork>true</fork>
-                            <maxHeap>2048</maxHeap>
-                            <timeout>1800000</timeout>
-                            <onlyAnalyze>org.elasticsearch.-</onlyAnalyze>
-                        </configuration>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-project-info-reports-plugin</artifactId>
-                        <version>2.7</version>
-                        <reportSets>
-                            <reportSet>
-                                <reports>
-                                    <report>index</report>
-                                </reports>
-                            </reportSet>
-                        </reportSets>
-                    </plugin>
-                </plugins>
-            </reporting>
-        </profile>
     </profiles>
 </project>