Skip to content

Add endpoint-tests Maven profile #3553

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,51 @@
</build>
</profile>

<profile>
<id>endpoint-tests</id>
<activation>
<property>
<name>doRelease</name>
</property>
</activation>
<properties>
<checkstyle.skip>true</checkstyle.skip>
<spotbugs.skip>true</spotbugs.skip>
<skip.unit.tests>true</skip.unit.tests>
<mdep.analyze.skip>true</mdep.analyze.skip>
<japicmp.skip>true</japicmp.skip>
<javadoc.skip>true</javadoc.skip>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven-failsafe-plugin.version}</version>
<executions>
<execution>
<phase>integration-test</phase>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
<configuration>
<!-- Sets the VM argument line used when endpoint tests are run. -->
<argLine>${argLine}</argLine>
<includes>
<include>**/*ClientEndpointTests.java</include>
<include>**/*EndpointProviderTests.java</include>
</includes>
<trimStackTrace>false</trimStackTrace>
<rerunFailingTestsCount>2</rerunFailingTestsCount>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>stability-tests</id>
<activation>
Expand Down