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

Srimanth Gunturi commented on AMBARI-6835:
------------------------------------------

{code}mvn -B clean install package rpm:rpm -DskipTests{code} 
Builds RPM without any views as before

{code}mvn -B clean install package rpm:rpm -Dviews -DskipTests{code}
Builds RPM with all views

{code}mvn -B clean install package rpm:rpm --projects 
ambari-web,ambari-project,ambari-views,ambari-admin,contrib/views/files,contrib/views/pig,ambari-server,ambari-agent,ambari-client,ambari-shell
 -Dviews -DskipTests{code}
Builds RPM with HDFS and PIG views. *Note* that the order of projects has to be 
correct for build to succeed. Views should be built after _ambari_views_ 
module, and before _ambari_server_ module, so that the JARs end up in 
_ambari_server.rpm_.

> View Packaging: create a way to package views into Ambari by default using 
> build time parameters
> ------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-6835
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6835
>             Project: Ambari
>          Issue Type: Task
>          Components: build
>    Affects Versions: 1.7.0
>            Reporter: Srimanth Gunturi
>            Assignee: Srimanth Gunturi
>             Fix For: 1.7.0
>
>
> This is driven by the need to package Jobs view into Ambari for HDP 
> distribution.
> Implement a way to package selected views into the Ambari package.
> The views to bundle together should be selected at build time and not hard 
> coded as we don't want to give any one of "contrib" views any special
> treatment (for example, Jobs view is no more special than other contrib 
> views; it's just that from HDP-packaged Ambari, we want to bundle it together 
> by default).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to