abhinav7sinha opened a new issue, #53:
URL: https://github.com/apache/airavata-mft/issues/53

   I get the following error when I try to build the project using the script: 
`./scripts/build.sh`
   
   ```
   [ERROR] Failed to execute goal 
org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.1:compile (default) on 
project mft-common-proto: Missing:
   [ERROR] ----------
   [ERROR] 1) com.google.protobuf:protoc:exe:osx-aarch_64:3.0.2
   [ERROR] 
   [ERROR]   Try downloading the file manually from the project website.
   [ERROR] 
   [ERROR]   Then, install it using the command: 
   [ERROR]       mvn install:install-file -DgroupId=com.google.protobuf 
-DartifactId=protoc -Dversion=3.0.2 -Dclassifier=osx-aarch_64 -Dpackaging=exe 
-Dfile=/path/to/file
   [ERROR] 
   [ERROR]   Alternatively, if you host your own repository you can deploy the 
file there: 
   [ERROR]       mvn deploy:deploy-file -DgroupId=com.google.protobuf 
-DartifactId=protoc -Dversion=3.0.2 -Dclassifier=osx-aarch_64 -Dpackaging=exe 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
   [ERROR] 
   [ERROR]   Path to dependency: 
   [ERROR]      1) org.apache.airavata:mft-common-proto:jar:0.01-SNAPSHOT
   [ERROR]      2) com.google.protobuf:protoc:exe:osx-aarch_64:3.0.2
   [ERROR] 
   [ERROR] ----------
   [ERROR] 1 required artifact is missing.
   [ERROR] 
   [ERROR] for artifact: 
   [ERROR]   org.apache.airavata:mft-common-proto:jar:0.01-SNAPSHOT
   [ERROR] 
   [ERROR] from the specified remote repositories:
   [ERROR]   apache.snapshots (https://repository.apache.org/snapshots, 
releases=false, snapshots=true),
   [ERROR]   central (https://repo.maven.apache.org/maven2, releases=true, 
snapshots=false)
   ```
   This is because `com.google.protobuf:protoc:3.0.2` doesn't have support for 
Apple Silicon. 
[Here's](https://github.com/protocolbuffers/protobuf/issues/8062) the 
referenced github issue in the protobuf repo.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to