You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "esselius (via GitHub)" <gi...@apache.org> on 2023/05/15 19:58:27 UTC

[GitHub] [ranger] esselius commented on pull request #106: Support Java 11 and add trino plugin

esselius commented on PR #106:
URL: https://github.com/apache/ranger/pull/106#issuecomment-1548489920

   > Hi, can anyone share how to build the Trino plugin with 2.3 release i have tried the following but no tar file was created for trino plugin.
   > 
   > mvn -Pall -DskipTests=true clean compile package install
   > 
   > mvn -Pranger-jdk11 -DskipTests=true clean compile package install
   > 
   > mvn -Pranger-jdk11 -DskipTests=true clean compile package install assembly:assembly - fails with error
   > 
   > I tried building it as explained here [issues.apache.org/jira/browse/RANGER-3755](https://issues.apache.org/jira/browse/RANGER-3755) but no luck, getting the same errors as last comment on this jira issue.
   > 
   > thanks.
   
   I wasted many days on this, but turns out you need to disable the distro linux profile and pick a few modules manually to make it work:
   
   ```
   $ mvn clean package -DskipTests -P ranger-trino-plugin,-linux -am -pl distro,plugin-trino,ranger-trino-plugin-shim,agents-installer,credentialbuilder
   ```


-- 
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: dev-unsubscribe@ranger.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org