[
https://issues.apache.org/jira/browse/TIKA-4549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Allison updated TIKA-4549:
------------------------------
Attachment: image-2025-12-03-21-01-04-390.png
> Fix grpc in main for Hudson/Jenkins
> -----------------------------------
>
> Key: TIKA-4549
> URL: https://issues.apache.org/jira/browse/TIKA-4549
> Project: Tika
> Issue Type: Task
> Reporter: Tim Allison
> Priority: Major
> Attachments: image-2025-12-03-21-01-04-390.png
>
>
> The main build is failing with this:
> {noformat}
> [ERROR] Failed to execute goal
> org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile (default) on
> project tika-grpc: Unable to resolve artifact: Missing:
> [ERROR] ----------
> [ERROR] 1) com.google.protobuf:protoc:exe:${os.detected.classifier}:3.25.8
> [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.25.8 -Dclassifier=${os.detected.classifier}
> -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.25.8 -Dclassifier=${os.detected.classifier}
> -Dpackaging=exe -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> [ERROR]
> [ERROR] Path to dependency:
> [ERROR] 1) org.apache.tika:tika-grpc:jar:4.0.0-SNAPSHOT
> [ERROR] 2) com.google.protobuf:protoc:exe:${os.detected.classifier}:3.25.8
> [ERROR]
> [ERROR] ----------
> [ERROR] 1 required artifact is missing. {noformat}
> [https://ci-builds.apache.org/job/Tika/job/tika-main-jdk17/1071/console]
>
> Is the `${os.detected.classifier}` not working?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)