I have a partial patch that supports basic Hive functionalities. This patch converts all the Ant tar/bin steps into Mvn assembly src/bin descriptors. All the non-jar files should now be in the Mvn tarball, with same directory location as in Ant tarballs, with directory location exactly the same. But some jars are not yet complete and need further investigation. In particular, the Hcatalog sub-project had many custom Ant steps in /hcatalog/build.xml in creating its unique directory structure, I think it will be a big effort to replicate the same in Mvn.
Issues (non-blockers) that I encountered between Ant and Mvn assemblies:
1. In src assembly, the prefixes for the .java files are different. This is because in ant, they copied over the project name. In mvn, I am using the <moduleSet>, and module names are slightly different than folder name. I don't believe this would be a big issue.
2. The java-docs are not included in src assembly, as they are not generated. This is already tracked in
Issues in running Hive so far (very basic testing), there might be more:
3. The version number is not displaying correctly on starting Beeline, because MANIFEST is not included in jar built by Beeline project. It is not related to assembly creation.
4. There is background NPE in starting SQLCompletor, because the resource file "sql-keyword.properties" has been moved to src/main/resources from org/apache/hive/beeline. Again it is not related to assembly creation.
HCatalog (must fix)
To add the hcatalog jars in the correct directory location would take a big effort, I might not be able to complete this task myself, I would appreciate if someone could help take a look!