@@ -25,20 +25,26 @@ Profile based segregation
2525
2626We are using maven build profiles to segregate the huge list of individual projects we have in our repository.
2727
28+ As for now, vast majority of the modules require JDK8 to build and run correctly.
29+
2830The projects are broadly divided into 3 lists: first, second and heavy.
2931
3032Next, they are segregated further on the basis of the tests that we want to execute.
3133
32- Therefore, we have a total of 6 profiles:
34+ Additionally, there are 2 profiles dedicated for JDK9 and above builds.
35+
36+ Therefore, we have a total of 8 profiles:
3337
34- | Profile | Includes | Type of test enabled |
35- | ----------------------- | --------------------------- | -------------------- |
36- | default-first | First set of projects | * UnitTest |
37- | integration-lite-first | First set of projects | * IntegrationTest |
38- | default-second | Second set of projects | * UnitTest |
39- | integration-lite-second | Second set of projects | * IntegrationTest |
40- | default-heavy | Heavy/long running projects | * UnitTest |
41- | integration-heavy | Heavy/long running projects | * IntegrationTest |
38+ | Profile | Includes | Type of test enabled |
39+ | -------------------------- | --------------------------- | -------------------- |
40+ | default-first | First set of projects | * UnitTest |
41+ | integration-lite-first | First set of projects | * IntegrationTest |
42+ | default-second | Second set of projects | * UnitTest |
43+ | integration-lite-second | Second set of projects | * IntegrationTest |
44+ | default-heavy | Heavy/long running projects | * UnitTest |
45+ | integration-heavy | Heavy/long running projects | * IntegrationTest |
46+ | default-jdk9-and-above | JDK9 and above projects | * UnitTest |
47+ | integration-jdk9-and-above | JDK9 and above projects | * IntegrationTest |
4248
4349Building the project
4450====================
@@ -53,6 +59,13 @@ or if we want to build the entire repository with Integration Tests enabled, we
5359
5460` mvn clean install -Pintegration-lite-first,integration-lite-second,integration-heavy `
5561
62+ Analogously, for the JDK9 and above projects the commands are:
63+
64+ ` mvn clean install -Pdefault-jdk9-and-above `
65+
66+ and
67+
68+ ` mvn clean install -Pintegration-jdk9-and-above `
5669
5770Building a single module
5871====================
@@ -81,11 +94,8 @@ To run the integration tests, use the command:
8194
8295` mvn clean install -Pintegration-lite-second ` or
8396
84- ` mvn clean install -Pintegration-heavy `
85-
86- depending on the list where our module exists
87-
88-
89-
97+ ` mvn clean install -Pintegration-heavy ` or
9098
99+ ` mvn clean install -Pintegration-jdk9-and-above `
91100
101+ depending on the list where our module exists
0 commit comments