Skip to content

Commit 8f35f44

Browse files
committed
Added 'simple-method-integration-tests' profile, that runs only simple method integration tests. Useful for quickly identifying broken simple method integration tests.
1 parent b33fc0f commit 8f35f44

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

pom.xml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,46 @@
701701
</build>
702702
</profile>
703703

704+
<profile>
705+
<id>simple-method-integration-tests</id>
706+
<activation>
707+
<property>
708+
<name>doRelease</name>
709+
</property>
710+
</activation>
711+
<properties>
712+
<checkstyle.skip>true</checkstyle.skip>
713+
<spotbugs.skip>true</spotbugs.skip>
714+
<skip.unit.tests>true</skip.unit.tests>
715+
<mdep.analyze.skip>true</mdep.analyze.skip>
716+
</properties>
717+
<build>
718+
<plugins>
719+
<plugin>
720+
<groupId>org.apache.maven.plugins</groupId>
721+
<artifactId>maven-failsafe-plugin</artifactId>
722+
<version>${maven-failsafe-plugin.version}</version>
723+
<executions>
724+
<execution>
725+
<phase>integration-test</phase>
726+
<goals>
727+
<goal>integration-test</goal>
728+
<goal>verify</goal>
729+
</goals>
730+
<configuration>
731+
<includes>
732+
<include>**/SimpleMethodsIntegrationTest.java</include>
733+
</includes>
734+
<trimStackTrace>false</trimStackTrace>
735+
<rerunFailingTestsCount>2</rerunFailingTestsCount>
736+
</configuration>
737+
</execution>
738+
</executions>
739+
</plugin>
740+
</plugins>
741+
</build>
742+
</profile>
743+
704744
<profile>
705745
<id>public-javadoc</id>
706746
<build>

0 commit comments

Comments
 (0)