* IDEMPIERE-6121:github action fail by tycho update => setup maven to 3.9
1. update maven to 9.3
2. step setup java generate 2 file
.m2/toolchains.xml
.m2/settings.xml
bellow case make conflict
1. setup java for java-17 => create toolchains.xml point to java-17 home
2. cache save toolchains.xml
3. update java to java-17.1 create toolchains.xml point to java-17.1 home
4. cache restore old toolchains.xml make conflict because it point to java-17 home
so change to cache only .m2/repository
* IDEMPIERE-6121:github action fail by tycho update => setup maven to 3.9
update some action, add comment
* IDEMPIERE-4360:code quality to perform automatic reviews with static analysis
update actions/setup-java to v3
update actions/checkout to v3
update codeql-action to v2
update actions/cache to v3, use separate action for restore and save
include build branch to cache key
* IDEMPIERE-4360:code quality to perform automatic reviews with static analysis
update java to 17 to adapt with IDEMPIERE-5448 2023 June Platform Update
* IDEMPIERE-4360:code quality to perform automatic reviews with static analysis
don't need complicate for master branch, in case switch from master-x to master-y, it's ok to re-build cache. not much happen this case
* IDEMPIERE-4360 add sonarcloud.io
* IDEMPIERE-4360 add sonarcloud.io (update properties)
* IDEMPIERE-4360 add sonarcloud.io (optimize)
1. when use matrix for codeql-action then job of javascript run same job of java (mvn, sonar)
so don't use matrix do define separate job let javascript job faster a lot
2. reduce maven log and sonar log from info to warn
3. move project info from pom to yml let fork central place customize CI
* IDEMPIERE-4360 turn off sonar at PR because not yet support
https://stackoverflow.com/a/39720346
* IDEMPIERE-4360 exclude generate and test code to speed up
* IDEMPIERE-4360 add sonarcloud.io (optimize)
1. parallel sonar and code QL
2. parameter for repository owner (org)
* IDEMPIERE-4360 add sonarcloud.io
* IDEMPIERE-4360 add sonarcloud.io (update properties)
* IDEMPIERE-4360 add sonarcloud.io (optimize)
1. when use matrix for codeql-action then job of javascript run same job of java (mvn, sonar)
so don't use matrix do define separate job let javascript job faster a lot
2. reduce maven log and sonar log from info to warn
3. move project info from pom to yml let fork central place customize CI
* IDEMPIERE-4360 turn off sonar at PR because not yet support
https://stackoverflow.com/a/39720346
* IDEMPIERE-4360 add sonarcloud.io
* IDEMPIERE-4360 add sonarcloud.io (update properties)
* IDEMPIERE-4360 add sonarcloud.io (optimize)
1. when use matrix for codeql-action then job of javascript run same job of java (mvn, sonar)
so don't use matrix do define separate job let javascript job faster a lot
2. reduce maven log and sonar log from info to warn
3. move project info from pom to yml let fork central place customize CI