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

   > > 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 finally figured out how to do this, turns out you need to disable the 
distro linux profile and pick a few modules manually to make it work:
   > 
   > ```
   > $ cd apache-ranger-2.4.0
   > $ mvn clean package -DskipTests -P ranger-trino-plugin,-linux -am -pl 
distro,plugin-trino,ranger-trino-plugin-shim,agents-installer,credentialbuilder
   > ```
   > 
   > The artifact lands @ `target/ranger-2.4.0-trino-plugin.tar.gz`
   > 
   > The problem was that the linux profile in the distro module implicitly 
activates and overrides the ranger-trino-plugin profile maven config etc
   
   Could anyone share how to build it with the 2.5 release? It does not work


-- 
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-unsubscr...@ranger.apache.org

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

Reply via email to