Add a profile that disables checkstyle completely for the project.

Activate this profile in your IDE if you're having problems with checkstyle when switching branches. Please ensure that you at least compile once with checkstyle enabled before committing.
This commit is contained in:
Hugo Trippaers 2014-01-22 10:29:07 +01:00
parent dc227e3384
commit 33eaa4f633

18
pom.xml
View File

@ -851,5 +851,23 @@
<module>vmware-base</module>
</modules>
</profile>
<profile>
<id>disablecheckstyle</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<id>cloudstack-checkstyle</id>
<phase>none</phase>
<inherited>true</inherited>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>