michael-o commented on PR #1921:
URL: https://github.com/apache/maven/pull/1921#issuecomment-3902801763
The IT it not really portable because it only succeeds where the classified
artifact exists, otherwise it fails:
```
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile (compile)
on project root: Unable to resolve artifact: Missing:
----------
1) com.google.protobuf:protoc:exe:freebsd-x86_64:3.25.5
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.google.protobuf
-DartifactId=protoc -Dversion=3.25.5 -Dclassifier=freebsd-x86_64
-Dpackaging=exe -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=com.google.protobuf
-DartifactId=protoc -Dversion=3.25.5 -Dclassifier=freebsd-x86_64
-Dpackaging=exe -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.maven.its.mng8383:root:jar:1.0.0-SNAPSHOT
2) com.google.protobuf:protoc:exe:freebsd-x86_64:3.25.5
----------
```
--
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]