You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by jo...@apache.org on 2015/04/28 07:37:47 UTC
incubator-nifi git commit: NIFI-271 findbugs is now available by
activating the findbugs profile. Not making required because we need to work
down a lot of warnings
Repository: incubator-nifi
Updated Branches:
refs/heads/develop e62748273 -> 6c3256e00
NIFI-271 findbugs is now available by activating the findbugs profile. Not making required because we need to work down a lot of warnings
Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/6c3256e0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/6c3256e0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/6c3256e0
Branch: refs/heads/develop
Commit: 6c3256e00a2c10f6968aef65cfec90557f8cfab2
Parents: e627482
Author: joewitt <jo...@apache.org>
Authored: Tue Apr 28 01:37:38 2015 -0400
Committer: joewitt <jo...@apache.org>
Committed: Tue Apr 28 01:37:38 2015 -0400
----------------------------------------------------------------------
nifi-nar-maven-plugin/pom.xml | 7 +++++++
nifi-parent/pom.xml | 34 ++++++++++++++++++++++++++++++++--
2 files changed, 39 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/6c3256e0/nifi-nar-maven-plugin/pom.xml
----------------------------------------------------------------------
diff --git a/nifi-nar-maven-plugin/pom.xml b/nifi-nar-maven-plugin/pom.xml
index 46dd333..765cbdf 100644
--- a/nifi-nar-maven-plugin/pom.xml
+++ b/nifi-nar-maven-plugin/pom.xml
@@ -66,6 +66,13 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <configuration>
+ <excludes>**/HelpMojo.java</excludes>
+ </configuration>
+ </plugin>
</plugins>
</build>
<dependencies>
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/6c3256e0/nifi-parent/pom.xml
----------------------------------------------------------------------
diff --git a/nifi-parent/pom.xml b/nifi-parent/pom.xml
index dbc31df..6fcf364 100644
--- a/nifi-parent/pom.xml
+++ b/nifi-parent/pom.xml
@@ -205,7 +205,18 @@
<version>6.5</version>
</dependency>
</dependencies>
- </plugin>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>3.0.1</version>
+ <configuration>
+ <xmlOutput>true</xmlOutput>
+ <effort>Max</effort>
+ <failOnError>true</failOnError>
+ <maxRank>14</maxRank>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>
@@ -335,7 +346,6 @@
</checkstyleRules>
<violationSeverity>warning</violationSeverity>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
- <excludes>**/HelpMojo.java,**/generated-sources</excludes>
</configuration>
</plugin>
<plugin>
@@ -387,5 +397,25 @@
</plugins>
</build>
</profile>
+ <profile>
+ <!-- Run findbugs. Activate with -Pfindbugs -->
+ <id>findbugs</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>run-findbugs</id>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>