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

Allen Wittenauer commented on HADOOP-12257:
-------------------------------------------

As I've dug more into this, it's pretty clear that the current life cycle is 
confusing when dealing with non-Java build systems.  For example, gradle and 
autoconf require some work prior to the compile (e.g., gradlew bootstrap)  
whereas maven and ant require some work after the compile (e.g., mvn install).

As part of this patch, I want to throw out the current life cycle and rework 
it.  This is the draft I've got written up and looking for some feedback:

{code}
init
  git checkout
  check_reexec
  ...

preapply
  find_changed_files

branch
  precompile
    gradlew bootstrap, autoconf, make deps, ...
  compile
    source -> (.o, .jar, ...)
    javac, scalac
  postcompile
    ant/maven install
  postbuild
    shellcheck, eclipse, ...
    javadoc, scaladoc, ...

clean

apply
  find_changed_files
  calcdiff

patch (effectively the same as branch)
  precompile
  compile
  postcompile
  postbuild
  
runtests

report
{code}

> rework build tool support; add gradle
> -------------------------------------
>
>                 Key: HADOOP-12257
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12257
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: yetus
>    Affects Versions: HADOOP-12111
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>         Attachments: HADOOP-12257.HADOOP-12111.00.patch
>
>
> We need to rework build tool support to be pluggable as well as add gradle 
> support so that we cover more of the ecosystem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to