Skip to content

Commit

Permalink
feat(objectionary#200): disable spring-fat test by default
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Apr 19, 2024
1 parent 51246c0 commit f7bc16c
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,23 @@ SOFTWARE.
</includes>
</testResource>
</testResources>
<plugins>
<plugin>
<artifactId>maven-invoker-plugin</artifactId>
<configuration>
<!--
The 'spring-fat' integration test is disabled in the default profile.
It's done intentionally to speed up the build process. However, this
test is still available in the 'long' profile. So if you want to run
it, you can use the following command:
mvn clean install -Plong
-->
<pomExcludes>
<exclude>spring-fat/pom.xml</exclude>
</pomExcludes>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
Expand Down Expand Up @@ -325,5 +342,26 @@ SOFTWARE.
</plugins>
</build>
</profile>
<profile>
<id>long</id>
<!--
This profile is used to run integration tests that take a long time.
For example, the 'spring-fat' integration test is disabled in the default
profile.
-->
<build>
<plugins>
<plugin>
<artifactId>maven-invoker-plugin</artifactId>
<configuration combine.self="override">
<!--
All integration tests are enabled in the 'long' profile.
-->
<pomExcludes/>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit f7bc16c

Please sign in to comment.