Hi Jeff,

The failed step is findbug's XML to HTML transformation, the problem is that it 
is not restricted by Ambari to work on XML files.  During the second and later 
builds it finds the HTML file output by the first run and bails out, since it 
is not a valid XML file.

Run mvn clean to get rid of the file, or simply delete it if you want to keep 
the other artifacts.

This is fixed in trunk:
https://issues.apache.org/jira/browse/AMBARI-18504

-Attila

From: jeff saremi <jeffsar...@hotmail.com<mailto:jeffsar...@hotmail.com>>
Reply-To: "user@ambari.apache.org<mailto:user@ambari.apache.org>" 
<user@ambari.apache.org<mailto:user@ambari.apache.org>>
Date: Sunday, February 5, 2017 at 10:05 PM
To: "user@ambari.apache.org<mailto:user@ambari.apache.org>" 
<user@ambari.apache.org<mailto:user@ambari.apache.org>>
Subject: findbugs and & issue


I'm trying to build against 2.4.0

In exactly 50% of the time, the following error shows up when building 
ambari-server. If re-run the command it will succeed. I'd like to get to the 
bottom of this:


[ERROR] Failed to execute goal org.codehaus.mojo:xml-maven-plugin:1.0:transform 
(default) on project ambari-server: Failed to transform input file 
D:\Projects\apache-ambari-2.4.0-src\ambari-server\target\findbugs\findbugsXml.html:
 The entity name must immediately follow the '&' in the entity reference. -> 
[Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.codehaus.mojo:xml-maven-plugin:1.0:transform (default) on project 
ambari-server: Failed to transform input file 
D:\Projects\apache-ambari-2.4.0-src\ambari-server\target\findbugs\findbugsXml.html:
 The entity name must immediately follow the '&' in the entity reference.

Reply via email to