You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2015/12/23 16:07:22 UTC
[43/51] [abbrv] ambari git commit: AMBARI-14458. Generate html
findbugs report for ambari-server (Ajit Kumar via smohanty)
AMBARI-14458. Generate html findbugs report for ambari-server (Ajit Kumar via smohanty)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/0f4c98cc
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0f4c98cc
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0f4c98cc
Branch: refs/heads/branch-dev-patch-upgrade
Commit: 0f4c98ccbfa2648e1b9a4bdb2b7bb7ea61751b97
Parents: b613c33
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Tue Dec 22 21:21:36 2015 -0800
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Tue Dec 22 21:30:05 2015 -0800
----------------------------------------------------------------------
ambari-server/pom.xml | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/0f4c98cc/ambari-server/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
index 56d9e44..17d3aae 100644
--- a/ambari-server/pom.xml
+++ b/ambari-server/pom.xml
@@ -1231,6 +1231,8 @@
<version>3.0.3</version>
<configuration>
<failOnError>false</failOnError>
+ <threshold>Low</threshold>
+ <findbugsXmlOutputDirectory>${project.basedir}/target/findbugs</findbugsXmlOutputDirectory>
</configuration>
<executions>
<execution>
@@ -1242,6 +1244,41 @@
</executions>
</plugin>
<plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>xml-maven-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+ <execution>
+ <phase>verify</phase>
+ <goals>
+ <goal>transform</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <transformationSets>
+ <transformationSet>
+ <dir>${project.basedir}/target/findbugs</dir>
+ <outputDir>${project.basedir}/target/findbugs</outputDir>
+ <stylesheet>fancy-hist.xsl</stylesheet>
+ <fileMappers>
+ <fileMapper
+ implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper">
+ <targetExtension>.html</targetExtension>
+ </fileMapper>
+ </fileMappers>
+ </transformationSet>
+ </transformationSets>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>com.google.code.findbugs</groupId>
+ <artifactId>findbugs</artifactId>
+ <version>2.0.0</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>