JAVA-54 Create parents profile for tutorials repo (#13360)

This commit is contained in:
anuragkumawat 2023-02-03 23:23:47 +05:30 committed by GitHub
parent 706c611e99
commit 58f8225215
2 changed files with 16 additions and 1 deletions

View File

@ -33,7 +33,9 @@ Next, they are segregated further on the basis of the tests that we want to exec
Additionally, there are 2 profiles dedicated for JDK9 and above builds.
Therefore, we have a total of 8 profiles:
We also have a parents profile to build only parent modules.
Therefore, we have a total of 9 profiles:
| Profile | Includes | Type of test enabled |
| -------------------------- | --------------------------- | -------------------- |
@ -45,6 +47,7 @@ Therefore, we have a total of 8 profiles:
| integration-heavy | Heavy/long running projects | *IntegrationTest |
| default-jdk9-and-above | JDK9 and above projects | *UnitTest |
| integration-jdk9-and-above | JDK9 and above projects | *IntegrationTest |
| parents | Set of parent modules | None |
Building the project
====================

12
pom.xml
View File

@ -1283,6 +1283,18 @@
<java.version>11</java.version>
</properties>
</profile>
<profile>
<id>parents</id>
<modules>
<module>parent-boot-1</module>
<module>parent-boot-2</module>
<module>parent-spring-4</module>
<module>parent-spring-5</module>
<module>parent-java</module>
</modules>
</profile>
</profiles>
<reporting>