Example on how to automatically configure Findbugs, Checkstyle and PMD from Maven configuration
cd company-parent
mvn clean install
cd ..\qa-config
mvn clean install
- FindBugs Feature (v. 3.0.0.20140706-2cfb468, id: edu.umd.cs.findbugs.plugin.eclipse.feature.group)
- Eclipse Checkstyle Plugin (v. 5.9.0.201410282234, id: net.sf.eclipsecs.feature.group)
- PMD Plug-in (v. 4.0.5.v20141105-1906, id: net.sourceforge.pmd.eclipse.feature.group)
- m2e-code-quality plugin for eclipse
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.13</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.2</version>
</plugin>
- import project
project-parent
andqa-project
into eclipse using m2eclipse
Copyright 2014 Matthias Balke
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.