[
https://issues.apache.org/jira/browse/AMBARI-18504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Doroszlai, Attila updated AMBARI-18504:
---------------------------------------
Attachment: AMBARI-18504.patch
> Build fails at verify step due to leftover findbugs html file
> -------------------------------------------------------------
>
> Key: AMBARI-18504
> URL: https://issues.apache.org/jira/browse/AMBARI-18504
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.4.0
> Reporter: Doroszlai, Attila
> Assignee: Doroszlai, Attila
> Priority: Minor
> Fix For: 3.0.0
>
> Attachments: AMBARI-18504.patch
>
>
> Maven build fails at the {{verify}} step if run without {{clean}} due to
> leftover {{findbugsXml.html}} file. The problem is that the XML to HTML
> transformation is applied to the leftover HTML, too, which is not valid XML.
> Steps to reproduce:
> {noformat}
> $ mvn -pl ambari-server -DskipTests clean verify
> ...
> [INFO] BUILD SUCCESS
> ...
> $ mvn -pl ambari-server -DskipTests verify
> ...
> [INFO] BUILD FAILURE
> [ERROR] Failed to execute goal
> org.codehaus.mojo:xml-maven-plugin:1.0:transform (default) on project
> ambari-server: Failed to transform input file
> .../ambari-server/target/findbugs/findbugsXml.html
> ...
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)