Skip to content

Commit 33eaa4f

Browse files
committed
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.
1 parent dc227e3 commit 33eaa4f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

pom.xml

+18
Original file line numberDiff line numberDiff line change
@@ -851,5 +851,23 @@
851851
<module>vmware-base</module>
852852
</modules>
853853
</profile>
854+
<profile>
855+
<id>disablecheckstyle</id>
856+
<build>
857+
<plugins>
858+
<plugin>
859+
<groupId>org.apache.maven.plugins</groupId>
860+
<artifactId>maven-checkstyle-plugin</artifactId>
861+
<executions>
862+
<execution>
863+
<id>cloudstack-checkstyle</id>
864+
<phase>none</phase>
865+
<inherited>true</inherited>
866+
</execution>
867+
</executions>
868+
</plugin>
869+
</plugins>
870+
</build>
871+
</profile>
854872
</profiles>
855873
</project>

0 commit comments

Comments
 (0)