Skip to content

Commit 42b47cd

Browse files
authored
Merge pull request eugenp#11677 from kwoyke/JAVA-8704
JAVA-8704: Update README with JDK9+ profiles
2 parents a151a2c + 3cd720d commit 42b47cd

File tree

1 file changed

+25
-15
lines changed

1 file changed

+25
-15
lines changed

README.md

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,26 @@ Profile based segregation
2525

2626
We 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+
2830
The projects are broadly divided into 3 lists: first, second and heavy.
2931

3032
Next, 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

4349
Building 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

5770
Building 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

Comments
 (0)