|
@@ -1286,5 +1286,74 @@
|
|
|
</plugins>
|
|
|
</build>
|
|
|
</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>**/jsr166y/**</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>dependencies</report>
|
|
|
+ </reports>
|
|
|
+ </reportSet>
|
|
|
+ </reportSets>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </reporting>
|
|
|
+ </profile>
|
|
|
</profiles>
|
|
|
</project>
|