Skip to content

Commit b5ad37d

Browse files
committed
add check-go profile
1 parent 9fcecbe commit b5ad37d

1 file changed

Lines changed: 23 additions & 3 deletions

File tree

pom.xml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ under the License.
9090
<!-- these are TestNG groups used for excluding / including groups of tests. See profiles section. -->
9191
<testng.generate-java-files>generate_java_files</testng.generate-java-files>
9292
<testng.check-cpp-files>check_cpp_files</testng.check-cpp-files>
93+
<testng.check-go-files>check_go_files</testng.check-go-files>
9394
<testng.check-cpp-historical-files>check_cpp_historical_files</testng.check-cpp-historical-files>
9495

9596
<!-- System-wide properties -->
@@ -623,7 +624,7 @@ under the License.
623624
<artifactId>maven-surefire-plugin</artifactId>
624625
<configuration>
625626
<groups>${testng.generate-java-files}</groups>
626-
<excludedGroups>${testng.check-cpp-files},${testng.check-cpp-historical-files}</excludedGroups>
627+
<excludedGroups>${testng.check-cpp-files},${testng.check-go-files},${testng.check-cpp-historical-files}</excludedGroups>
627628
</configuration>
628629
</plugin>
629630
</plugins>
@@ -642,7 +643,26 @@ under the License.
642643
<artifactId>maven-surefire-plugin</artifactId>
643644
<configuration>
644645
<groups>${testng.check-cpp-files}</groups>
645-
<excludedGroups>${testng.generate-java-files},${testng.check-cpp-historical-files}</excludedGroups>
646+
<excludedGroups>${testng.generate-java-files},${testng.check-go-files},${testng.check-cpp-historical-files}</excludedGroups>
647+
</configuration>
648+
</plugin>
649+
</plugins>
650+
</pluginManagement>
651+
</build>
652+
</profile>
653+
654+
<profile>
655+
<id>check-go-files</id>
656+
<build>
657+
<pluginManagement>
658+
<plugins>
659+
<plugin>
660+
<!-- Apache Parent pom, pluginManagement-->
661+
<groupId>org.apache.maven.plugins</groupId>
662+
<artifactId>maven-surefire-plugin</artifactId>
663+
<configuration>
664+
<groups>${testng.check-cpp-files}</groups>
665+
<excludedGroups>${testng.generate-java-files},${testng.check-cpp-files},${testng.check-cpp-historical-files}</excludedGroups>
646666
</configuration>
647667
</plugin>
648668
</plugins>
@@ -661,7 +681,7 @@ under the License.
661681
<artifactId>maven-surefire-plugin</artifactId>
662682
<configuration>
663683
<groups>${testng.check-cpp-historical-files}</groups>
664-
<excludedGroups>${testng.generate-java-files},${testng.check-cpp-files}</excludedGroups>
684+
<excludedGroups>${testng.generate-java-files},${testng.check-go-files},${testng.check-cpp-files}</excludedGroups>
665685
</configuration>
666686
</plugin>
667687
</plugins>

0 commit comments

Comments
 (0)