[ 
https://issues.apache.org/jira/browse/RANGER-3755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17534760#comment-17534760
 ] 

Aakash Nand edited comment on RANGER-3755 at 5/11/22 9:44 AM:
--------------------------------------------------------------

[~rmani] Tried using 

 
{code:java}
mvn clean compile package assembly:assembly -P ranger-trino-plugin {code}
but it is not creating tar file but the plugin build compilation is successful. 
How about we add dependency of 
{code:java}
<module>distro</module>{code}
to profile <ranger-trino-plugin>? Will it have any adverse effects?

I have tested this locally and after adding distro it is creating the required 
tar file. 

Now the only problem is that if we use jdk11 activation only for trino then 
when using JDK11, only trino profile is built. How about we create a complete 
new jdk11 profile with other modules as well? Like we have unix profile etc


was (Author: aakashnand):
[~rmani] Tried using 

 
{code:java}
mvn clean compile package assembly:assembly -P ranger-trino-plugin {code}
but it is not creating tar file but the plugin build compilation is successful. 
How about we add dependency of 
{code:java}
<module>distro</module>{code}
to profile <ranger-trino-plugin>? Will it have any adverse effects?


I have tested this locally and after adding distro it is creating the required 
tar file. 

Now the only problem is that if we use jdk11 activation only for trino then 
when using JDK11, only trino profile is built. How about we create a complete 
new jdk11 profile with other modules as well?

> Build Plugin-Trino artifacts only with JDK 11
> ---------------------------------------------
>
>                 Key: RANGER-3755
>                 URL: https://issues.apache.org/jira/browse/RANGER-3755
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: 3.0.0, 2.2.0
>            Reporter: Ramesh Mani
>            Assignee: Ramesh Mani
>            Priority: Major
>
> Plugin Trino needs jdk 11 and about to compile and build. In order to avoid 
> build issue in Apache Ranger when including Plugin Trino, we need to enable a 
> profile so that default build of Apache Ranger will use JDK 1.8 and Plugin 
> Trino and its artifacts can be build with JDK 11 profile.
> To build Plugin Trino artifacts following command can be executed.
>  mvn  clean compile package -P ranger-trino-plugin



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to