Skip to content

Commit 74187a4

Browse files
committed
Move static analysis to 'ci' profile
1 parent 01a31fa commit 74187a4

File tree

1 file changed

+34
-27
lines changed

1 file changed

+34
-27
lines changed

‎pom.xml

Lines changed: 34 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -434,33 +434,6 @@
434434
<artifactId>maven-site-plugin</artifactId>
435435
<version>4.0.0-M16</version>
436436
</plugin>
437-
438-
<plugin>
439-
<groupId>org.apache.maven.plugins</groupId>
440-
<artifactId>maven-pmd-plugin</artifactId>
441-
<executions>
442-
<execution>
443-
<id>scan</id>
444-
<phase>verify</phase>
445-
<goals>
446-
<goal>check</goal>
447-
</goals>
448-
</execution>
449-
</executions>
450-
</plugin>
451-
<plugin>
452-
<groupId>com.github.spotbugs</groupId>
453-
<artifactId>spotbugs-maven-plugin</artifactId>
454-
<executions>
455-
<execution>
456-
<id>scan</id>
457-
<phase>verify</phase>
458-
<goals>
459-
<goal>check</goal>
460-
</goals>
461-
</execution>
462-
</executions>
463-
</plugin>
464437
</plugins>
465438

466439
<pluginManagement>
@@ -722,6 +695,40 @@
722695
</reporting>
723696

724697
<profiles>
698+
<profile>
699+
<id>ci</id>
700+
<build>
701+
<plugins>
702+
<plugin>
703+
<groupId>org.apache.maven.plugins</groupId>
704+
<artifactId>maven-pmd-plugin</artifactId>
705+
<executions>
706+
<execution>
707+
<id>scan</id>
708+
<phase>verify</phase>
709+
<goals>
710+
<goal>check</goal>
711+
</goals>
712+
</execution>
713+
</executions>
714+
</plugin>
715+
<plugin>
716+
<groupId>com.github.spotbugs</groupId>
717+
<artifactId>spotbugs-maven-plugin</artifactId>
718+
<executions>
719+
<execution>
720+
<id>scan</id>
721+
<phase>verify</phase>
722+
<goals>
723+
<goal>check</goal>
724+
</goals>
725+
</execution>
726+
</executions>
727+
</plugin>
728+
</plugins>
729+
</build>
730+
</profile>
731+
725732
<profile>
726733
<id>acceptance-tests</id>
727734
<build>

0 commit comments

Comments
 (0)