Skip to content

Commit 795fe98

Browse files
committed
[pom] let site generate for groovy sample, skip spotbugs instead
open ticket with spotbugs on this condition. rather than skip entire site only skip broken part and add note there.
1 parent 5f220f7 commit 795fe98

File tree

1 file changed

+13
-1
lines changed
  • mybatis-spring-boot-samples/mybatis-spring-boot-sample-groovy

1 file changed

+13
-1
lines changed

mybatis-spring-boot-samples/mybatis-spring-boot-sample-groovy/pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
<properties>
3030
<module.name>org.mybatis.spring.boot.sample.groovy</module.name>
3131
<groovy.version>4.0.6</groovy.version>
32-
<maven.site.skip>true</maven.site.skip> <!-- Workaround for build error -->
3332
</properties>
3433
<dependencies>
3534
<dependency>
@@ -61,6 +60,19 @@
6160
<build>
6261
<sourceDirectory>${project.basedir}/src/main/groovy</sourceDirectory>
6362
<testSourceDirectory>${project.basedir}/src/test/groovy</testSourceDirectory>
63+
<pluginManagement>
64+
<plugins>
65+
<plugin>
66+
<groupId>com.github.spotbugs</groupId>
67+
<artifactId>spotbugs-maven-plugin</artifactId>
68+
<version>${spotbugs.plugin}</version>
69+
<configuration>
70+
<!-- Skip Spotbugs as there is a bug in its bug count that breaks the reporting on groovy project City Class -->
71+
<skip>true</skip>
72+
</configuration>
73+
</plugin>
74+
</plugins>
75+
</pluginManagement>
6476
<plugins>
6577
<plugin>
6678
<groupId>org.springframework.boot</groupId>

0 commit comments

Comments
 (0)