You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »


The build process of Ozone requires protoc 2.5.0 which doesn't have a version for Apple Silicon (M1, M1 Pro) machines.  When you build Ozone on macOS with M1(Pro) chip, you will get following error.


Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.1:compile (compile-protoc-2) on project hdds-interface-client: Missing:

[ERROR] ----------

[ERROR] 1) com.google.protobuf:protoc:exe:osx-aarch_64:2.5.0


So If you would like to build Ozone on your macOS with M1(Pro) chip / ARM64 CPU,  here is a simple solution.

Open your maven setting file under ~/.m2/settings.xml or your customized location, specify the the properties os.detected.classifier to be osx-x86_64 and active the profile.


<settings>
<activeProfiles>
<activeProfile>apple-silicon</activeProfile>
</activeProfiles>

<profiles>
<profile>
<id>apple-silicon</id>
<properties>
<os.detected.classifier>osx-x86_64</os.detected.classifier>
</properties>
</profile>
</profiles>
</settings>
  • No labels