You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by lg...@apache.org on 2016/12/25 18:47:19 UTC
mina-sshd git commit: [SSHD-724] Initial definition of Findbugs Maven
plugin and profile
Repository: mina-sshd
Updated Branches:
refs/heads/master 4f0f4dc9b -> 14c1a31e9
[SSHD-724] Initial definition of Findbugs Maven plugin and profile
Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/14c1a31e
Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/14c1a31e
Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/14c1a31e
Branch: refs/heads/master
Commit: 14c1a31e9a3c01d31f1259aa52b08c1cdeed2cc3
Parents: 4f0f4dc
Author: Lyor Goldstein <ly...@gmail.com>
Authored: Sun Dec 25 20:46:13 2016 +0200
Committer: Lyor Goldstein <ly...@gmail.com>
Committed: Sun Dec 25 20:47:22 2016 +0200
----------------------------------------------------------------------
pom.xml | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++
sshd-core/pom.xml | 1 -
2 files changed, 72 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/14c1a31e/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index be81ff7..8b192f7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -121,6 +121,37 @@
<maven>${min.required.maven.version}</maven>
</prerequisites>
+ <profiles>
+ <profile>
+ <id>quick</id>
+ <properties>
+ <skipTests>true</skipTests>
+ <maven.javadoc.skip>true</maven.javadoc.skip>
+ </properties>
+ </profile>
+ <profile>
+ <id>findbugs</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>run-findbugs</id>
+ <!-- Note: phase must be AFTER detection of workspace root dir -->
+ <phase>compile</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
<dependencyManagement>
<dependencies>
<dependency>
@@ -565,6 +596,47 @@
</dependency>
</dependencies>
</plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>3.0.4</version>
+ <!-- see https://www.petrikainulainen.net/programming/maven/findbugs-maven-plugin-tutorial/ -->
+ <configuration>
+ <effort>Max</effort>
+ <threshold>Low</threshold>
+ <xmlOutput>true</xmlOutput>
+ <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>com.google.code.findbugs</groupId>
+ <artifactId>findbugs</artifactId>
+ <version>3.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy</artifactId>
+ <version>${groovy.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-ant</artifactId>
+ <version>${groovy.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-xml</artifactId>
+ <version>${groovy.version}</version>
+ </dependency>
+ <!-- referenced indirectly by groovy-all -->
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant</artifactId>
+ <version>${ant.version}</version>
+ </dependency>
+ </dependencies>
+ </plugin>
</plugins>
</pluginManagement>
http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/14c1a31e/sshd-core/pom.xml
----------------------------------------------------------------------
diff --git a/sshd-core/pom.xml b/sshd-core/pom.xml
index fdbe0d8..b170d13 100644
--- a/sshd-core/pom.xml
+++ b/sshd-core/pom.xml
@@ -245,5 +245,4 @@
</build>
</profile>
</profiles>
-
</project>