You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/08-developer-guide/01-build/01-maven.md
+67-17Lines changed: 67 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,51 +41,100 @@ Choose one of the following methods to get the source code:
41
41
</TabItem>
42
42
</Tabs>
43
43
44
-
## ARM-based Apple Silicon (Apple M1 ... etc)
44
+
## Build the Project
45
+
46
+
Apache Ozone uses [Maven](https://maven.apache.org/) as its build system. The build process compiles the source code, runs tests, and creates deployable artifacts. The project supports various build configurations to accommodate different development and deployment needs.
47
+
48
+
### Additional Steps Required For ARM-based Apple Silicon Macs (M1, etc)
49
+
50
+
If you are running on an ARM-based Apple Silicon Mac, please perform the additional steps in this section.
51
+
52
+
#### Prerequisites
53
+
54
+
-[Gradle](https://gradle.org/) - Gradle 7.0 or higher
55
+
-[Compatible JVM for gRPC Java v1.71.0](https://github.com/grpc/grpc-java/blob/v1.71.0/README.md) - Compatible JVM for gRPC and Gradle
56
+
57
+
#### Compile Protobuf version 3.7.1 for ARM-based Mac
58
+
59
+
Execute the following commands to compile Protobuf version 3.7.1:
45
60
46
61
```bash
47
62
PROTOBUF_VERSION="3.7.1"
48
63
curl -sSL https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOBUF_VERSION}/protobuf-all-${PROTOBUF_VERSION}.tar.gz | tar zx
49
64
cd protobuf-${PROTOBUF_VERSION}
50
65
./configure --disable-shared
51
66
make -j
52
-
# install protoc to the local Maven repository
67
+
```
68
+
69
+
Execute the following command to install `protoc` version 3.7.1 to the local Maven repository:
#### Compile gRPC version 1.71.0 for ARM-based Mac
85
135
136
+
```bash
86
137
cd ..
87
-
# Compile grpc
88
-
# Pre-req: Manually install Gradle (version 7.0 or higher) and a compatible JVM (JDK 8 or higher) as required by gRPC Java v1.71.0. See https://github.com/grpc/grpc-java/blob/v1.71.0/README.md for details.
Execute the following commands to install `protoc-gen-grpc-java` version 1.71.0 to the local Maven repository:
105
152
106
-
Apache Ozone uses [Maven](https://maven.apache.org/) as its build system. The build process compiles the source code, runs tests, and creates deployable artifacts. The project supports various build configurations to accommodate different development and deployment needs.
0 commit comments