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

rpm command broken on utility project

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • None
    • None

    Description

      The following command to build RPMs is failing because the utility project does not have a phase for it.

      mvn -B -am clean package rpm:rpm -DskipTests -Dpython.ver="python >= 2.6" -pl ambari-admin,ambari-agent,utility,ambari-server,ambari-web,ambari-views
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] Ambari Main ....................................... SUCCESS [1.034s]
      [INFO] Apache Ambari Project POM ......................... SUCCESS [0.064s]
      [INFO] Ambari Web ........................................ SUCCESS [1:58.669s]
      [INFO] Ambari Views ...................................... SUCCESS [1.403s]
      [INFO] Ambari Admin View ................................. SUCCESS [1:13.669s]
      [INFO] utility ........................................... FAILURE [2.306s]
      [INFO] ambari-metrics .................................... SKIPPED
      [INFO] Ambari Metrics Common ............................. SKIPPED
      [INFO] Ambari Server ..................................... SKIPPED
      [INFO] Ambari Agent ...................................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 3:17.814s
      [INFO] Finished at: Wed Oct 12 12:48:37 UTC 2016
      [INFO] Final Memory: 35M/563M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.1.5:rpm (default-cli) on project utility: The parameters 'sourceEncoding', 'group' for goal org.codehaus.mojo:rpm-maven-plugin:2.1.5:rpm are missing or invalid -> [Help 1]
      

      Attachments

        1. AMBARI-18596.trunk.patch
          1.0 kB
          Alejandro Fernandez
        2. AMBARI-18596.branch-2.5.patch
          1.0 kB
          Alejandro Fernandez

        Issue Links

          Activity

            People

              afernandez Alejandro Fernandez
              afernandez Alejandro Fernandez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: