Skip to content

Commit

Permalink
Remove build profile running code quality checks
Browse files Browse the repository at this point in the history
These checks are not specific to the project but reflect general
guidelines. The should be configured and executed by some code quality
checker.
  • Loading branch information
cboehme committed Feb 2, 2015
1 parent 3e54663 commit 58446ad
Showing 1 changed file with 0 additions and 87 deletions.
87 changes: 0 additions & 87 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -328,92 +328,5 @@
</plugins>
</build>
</profile>
<profile>
<id>hudson</id>
<activation>
<property>
<name>BUILD_NUMBER</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.6</version>
<configuration>
<configLocation>${basedir}/quality_assurance/checkstyle_rules.xml</configLocation>
<propertyExpansion>basedir=${basedir}</propertyExpansion>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>checkstyle</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<formats>
<format>xml</format>
</formats>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>cobertura</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<threshold>High</threshold>
<failOnError>false</failOnError>
<findbugsXmlOutput>true</findbugsXmlOutput>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.0</version>
<configuration>
<linkXRef>true</linkXRef>
<rulesets>
<ruleset>${basedir}/quality_assurance/pmd_rules.xml</ruleset>
</rulesets>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>pmd</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 58446ad

Please sign in to comment.