Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Erdfelt2010-05-24 18:15:48 -0400
committerJoakim Erdfelt2010-05-24 18:15:48 -0400
commitf0f1e031f30840e7d25fd7d2abee9a7a8122458a (patch)
tree96ba79eb5e5f56955a8c82fb5272ee7741d0d951
parenta7fb0f47293728b0e673d283b2e13c7284bd665d (diff)
downloadorg.eclipse.jetty.project-f0f1e031f30840e7d25fd7d2abee9a7a8122458a.tar.gz
org.eclipse.jetty.project-f0f1e031f30840e7d25fd7d2abee9a7a8122458a.tar.xz
org.eclipse.jetty.project-f0f1e031f30840e7d25fd7d2abee9a7a8122458a.zip
Adding pmd and findbugs configuration (but not wiring it up to the default build)
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1859 7e9141cc-0065-0410-87d8-b60c137991c4
-rw-r--r--pom.xml36
1 files changed, 36 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index ddec928b48..0827e4bcfc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -194,6 +194,34 @@
</dependency>
</dependencies>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>2.5</version>
+ <configuration>
+ <targetJdk>1.5</targetJdk>
+ <rulesets>
+ <ruleset>jetty/pmd_ruleset.xml</ruleset>
+ </rulesets>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.eclipse.jetty.toolchain</groupId>
+ <artifactId>jetty-build-tool-configs</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>2.3.1</version>
+ <configuration>
+ <findbugsXmlOutput>true</findbugsXmlOutput>
+ <xmlOutput>true</xmlOutput>
+ <onlyAnalyze>org.eclipse.jetty.*</onlyAnalyze>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
</build>
@@ -315,5 +343,13 @@
</plugins>
</build>
</profile>
+ <profile>
+ <!-- Run the static analysis reports for PMD and Findbugs -->
+ <id>static-analysis</id>
+ <build>
+ <plugins>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>

Back to the top