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

Alejandro Fernandez updated AMBARI-18596:
-----------------------------------------
    Description: 
The following command to build RPMs is failing because the utility project does 
not have a phase for it.

{noformat}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{noformat}


{code}
[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]
{code}

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

{noformat}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{noformat}


> rpm command broken on utility project
> -------------------------------------
>
>                 Key: AMBARI-18596
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18596
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>            Reporter: Alejandro Fernandez
>            Assignee: Alejandro Fernandez
>             Fix For: 2.5.0
>
>
> The following command to build RPMs is failing because the utility project 
> does not have a phase for it.
> {noformat}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{noformat}
> {code}
> [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]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to