Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-20029

Maven install fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Ubuntu 14.04, Java 7, Maven 3.05

    Description

      For research purposes, I need the dependencies of each module to be saved in their target/ folders. To accomplish this task, I have been running the following after checking out the project from Ambari's GitHub:
      mvn install -fn -e -DskipTests dependency:copy-dependencies

      The attached text document contains the output of running the command above.

      The version of Ambari that I was using is the following. https://github.com/apache/ambari/commit/a1f23ad4284cff716b890392c4c22a16229e16ad

      The errors I am seeing include but are not limited to the following.
      [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project ambari: Too many files with unapproved license: 1 See RAT report in: /home/user/ambari/target/rat.txt -> [Help 1]
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (psutils-compile) on project ambari-metrics-host-monitoring: An Ant BuildException has occured: exec returned: 1
      [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (python-package) on project python-client: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 2]

      Attachments

        1. mvn-install-output.txt
          4.51 MB
          Wing Lam

        Activity

          People

            Unassigned Unassigned
            winglam Wing Lam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: