[ https://issues.apache.org/jira/browse/OOZIE-3120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16350525#comment-16350525 ]
Artem Ervits commented on OOZIE-3120: ------------------------------------- [~gezapeti] hope I could get some insights from you, I started looking at this and this involves a lot of surgery. I see we have an empty.xml descriptor in the parent pom which is not sufficient for assembly plugin to work in versions > 2.2.1. I got it to work somewhat with example here [https://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-source-inclusion-simple.html] but it failed on sharelib. I think this will involve a lot of conversation. Could use your advice. > maven-assembly-plugin fails when bumped from 2.2.1 > -------------------------------------------------- > > Key: OOZIE-3120 > URL: https://issues.apache.org/jira/browse/OOZIE-3120 > Project: Oozie > Issue Type: Task > Affects Versions: 4.3.0 > Reporter: Artem Ervits > Assignee: Artem Ervits > Priority: Major > > maven-assembly plugin 3.1.0 is available, version 2.2.1 is old, with upgrade > to even 2.2.2 build fails with > {noformat} > [INFO] --- maven-assembly-plugin:3.1.0:single (default-cli) @ oozie-main --- > [INFO] Reading assembly descriptor: src/main/assemblies/empty.xml > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Apache Oozie Main .................................. FAILURE [ 0.972 > s] > [INFO] Apache Oozie Client ................................ SKIPPED > [INFO] Apache Oozie Share Lib Oozie ....................... SKIPPED > [INFO] Apache Oozie Share Lib HCatalog .................... SKIPPED > [INFO] Apache Oozie Share Lib Distcp ...................... SKIPPED > [INFO] Apache Oozie Core .................................. SKIPPED > [INFO] Apache Oozie Share Lib Streaming ................... SKIPPED > [INFO] Apache Oozie Share Lib Pig ......................... SKIPPED > [INFO] Apache Oozie Share Lib Hive ........................ SKIPPED > [INFO] Apache Oozie Share Lib Hive 2 ...................... SKIPPED > [INFO] Apache Oozie Share Lib Sqoop ....................... SKIPPED > [INFO] Apache Oozie Examples .............................. SKIPPED > [INFO] Apache Oozie Share Lib Spark ....................... SKIPPED > [INFO] Apache Oozie Share Lib ............................. SKIPPED > [INFO] Apache Oozie Docs .................................. SKIPPED > [INFO] Apache Oozie WebApp ................................ SKIPPED > [INFO] Apache Oozie Tools ................................. SKIPPED > [INFO] Apache Oozie MiniOozie ............................. SKIPPED > [INFO] Apache Oozie Server ................................ SKIPPED > [INFO] Apache Oozie Distro ................................ SKIPPED > [INFO] Apache Oozie ZooKeeper Security Tests .............. SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 1.872 s > [INFO] Finished at: 2017-11-10T13:38:17-05:00 > [INFO] Final Memory: 31M/437M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-assembly-plugin:3.1.0:single (default-cli) on > project oozie-main: No formats specified in the execution parameters or the > assembly descriptor. -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > ERROR, Oozie distro creation failed > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)