Add note to building.md for avoid build error which caused by proto-schema-compatibility-maven-plugin check

Closes #35846

Signed-off-by: Tetsuhiro Hiruta <tetsuhiro.hiruta.sg@hitachi.com>
This commit is contained in:
Tetsuhiro hiruta 2024-12-12 18:10:17 +09:00 committed by GitHub
parent 8e13e761b9
commit 8d934de3cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,6 +47,16 @@ To enable it by default, add it to the `MAVEN_OPTS` environment variable:
export MAVEN_OPTS="-Dmaven.build.cache.enabled=true"
---
**NOTE**
To ensure that development in a branch does not break compatibility with existing releases, proto-schema-compatibility-maven-plugin checks may be run, which can cause builds to fail in proxy environments.
To avoid this, you can skip this check by adding the following property:
-DskipProtoLock=true
---
### Starting Keycloak
To start Keycloak during development first build as specified above, then run: