OOZIE-1793 Improve find bugs reporting for Oozie (rkanter)
Project: http://git-wip-us.apache.org/repos/asf/oozie/repo Commit: http://git-wip-us.apache.org/repos/asf/oozie/commit/ee4d8f32 Tree: http://git-wip-us.apache.org/repos/asf/oozie/tree/ee4d8f32 Diff: http://git-wip-us.apache.org/repos/asf/oozie/diff/ee4d8f32 Branch: refs/heads/oya Commit: ee4d8f324cd5fbb1bcc16c513b40a42b428d8b61 Parents: f45e1eb Author: Robert Kanter <[email protected]> Authored: Tue Sep 20 14:15:22 2016 -0700 Committer: Robert Kanter <[email protected]> Committed: Tue Sep 20 14:15:22 2016 -0700 ---------------------------------------------------------------------- pom.xml | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++- release-log.txt | 1 + 2 files changed, 65 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/oozie/blob/ee4d8f32/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 2cbc91f..b91dcbc 100644 --- a/pom.xml +++ b/pom.xml @@ -1603,6 +1603,16 @@ <artifactId>maven-bundle-plugin</artifactId> <version>2.4.0</version> </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <version>3.0.0</version> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>xml-maven-plugin</artifactId> + <version>1.0</version> + </plugin> </plugins> </pluginManagement> @@ -1620,17 +1630,70 @@ </excludes> </configuration> </plugin> + + <!-- findbugs plugin. Execute 'mvn verify' and look for target/findbugs/findbugsXml.html under each module --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <configuration> + <excludeSubProjects>false</excludeSubProjects> <xmlOutput>true</xmlOutput> <findbugsXmlOutput>true</findbugsXmlOutput> <findbugsXmlWithMessages>true</findbugsXmlWithMessages> + <effort>Max</effort> + <failOnError>false</failOnError> + <threshold>Low</threshold> + <xmlOutput>true</xmlOutput> + <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory> + </configuration> + <executions> + <execution> + <id>findbug</id> + <phase>verify</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> + <!-- xml plugin is used for transforming the findbugs xml output into a friendlier html page --> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>xml-maven-plugin</artifactId> + <configuration> + <excludeSubProjects>false</excludeSubProjects> + <transformationSets> + <transformationSet> + <dir>${project.build.directory}/findbugs</dir> + <outputDir>${project.build.directory}/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> + <executions> + <execution> + <phase>verify</phase> + <goals> + <goal>transform</goal> + </goals> + </execution> + </executions> + <dependencies> + <dependency> + <groupId>com.google.code.findbugs</groupId> + <artifactId>findbugs</artifactId> + <version>2.0.3</version> + </dependency> + </dependencies> </plugin> - <!-- checkstyle plugin. Execute 'mvn verify' and look for checkstyle-result.xml under target folder --> + <!-- checkstyle plugin. Execute 'mvn verify' and look for target/checkstyle-result.xml under each module --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> http://git-wip-us.apache.org/repos/asf/oozie/blob/ee4d8f32/release-log.txt ---------------------------------------------------------------------- diff --git a/release-log.txt b/release-log.txt index e2e5ec6..8978c37 100644 --- a/release-log.txt +++ b/release-log.txt @@ -1,5 +1,6 @@ -- Oozie 4.3.0 release (trunk - unreleased) +OOZIE-1793 Improve find bugs reporting for Oozie (rkanter) OOZIE-2572 SLA DURATION miss not shown when job is running for longer than expected time (satishsaley via puru) OOZIE-2525 SchemaChecker fails with NPE (rkanter) OOZIE-2672 SLA periodic update does not remove job from map if job is removed from database (satishsaley via puru)
