[ 
https://issues.apache.org/jira/browse/HADOOP-12257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Allen Wittenauer updated HADOOP-12257:
--------------------------------------
    Attachment: HADOOP-12257.HADOOP-12111.00.patch

another huge patch. most of this is code movement (yay!) but it does add ~1k 
lines.

-00: 
* includes HADOOP-12336
* build systems are now pluggable with a handful of parts that are still 
hard-coded in the many body.  this means all the ant and maven code has been 
pushed into their own files from both the main code base and the plugins.
* build tool options and globals moved to their dedicated plugin files
* some tests require the plugin provide some help.  for example, java is 
compilation output is very different under ant, gradle, and maven so each 
provide a routine to help count
* build tools can set UNSUPPORTED_TEST to tell the plugin that it doesn't know 
how to do whatever was requested
* builtin-personality has been pretty much stripped.  likely merge it into 
test-patch proper in the future
* very rudimentary gradle support
* build tools can now control whether a module needs to be pushd/popd. This is 
to enable future gradle (and others?) work where the build tool stays in base 
and gives the module as a parameter.  For example, "gradlew 
samza-api:(whatever)"  will operate on just the samza-api module.
* scaladoc support in gradle and very rudimentary support in maven
* very rudimentary support for samza, kafka, and bigtop
* 12337: phases have been reworked a bit such that there is now one compilation 
phase ('compile') and the languages that need to be compiled  (javac, scalac) 
read the logs generated by that compilation phase.  This prevents a 
(compilation-log read)x(languages used) problem that was present for Kafka.
* other phase changes include new pre- and post- install steps 
* personalities changed to work on 'compile' instead of javac and/or scalac
* MVN env var renamed to MAVEN
* asflicense suppports samza's rat plugin for gradle... yay!
* headers for tests now only print if they are actually invoked
* mvn site:* and mvn eclipse tests moved to maven plugin file
* module_reset is now being called between each plugin.  

TODO:
* docs all over the place
* compute_gitdiff now ignores gradlew.bat, gradlew, and all of gradle/wrapper.  
this really should be handled better, but gradle makes life hard. :(
* much more testing
* etc etc

> rework build tool support
> -------------------------
>
>                 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