Bug 1487480

Summary: Maven Build failure at RHQ Enterprise Core GUI
Product: [Other] RHQ Project Reporter: Tyler Kelly <tkelly>
Component: DocumentationAssignee: Nobody <nobody>
Status: ASSIGNED --- QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.13CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Error_Log none

Description Tyler Kelly 2017-09-01 04:02:44 UTC
Created attachment 1320806 [details]
Error_Log

Description of problem:
Maven build of JON from git sources fails at RHQ Enterprise Core GUI, no workaround has been determined at this time. 
MAY be due to variable not being called properly during build. 
SET_ME likely relates to login credentials which can be provided for the JBoss sources that can be set in the settings.xml file, however, the build will use 'SET_ME' without issue throughout the rest of the build process. 
Note: Me picking up on this keyword (SET_ME) may be a false lead on the source of the error.

How reproducible:
run docker build using files at:
https://gitlab.cee.redhat.com/tkelly/tylers_scripts/tree/master/JON_BUG3

Additional info:
Log attached is docker build of the enterprise modules only and is much shorter than the full build log.
Log of full build also stored in the repo above as log2.log (118MB)

Error has not been added here as it is long and best viewed in one of the logs included.

Comment 1 Tyler Kelly 2017-09-15 06:08:24 UTC
Error caused by incorrect setting in the maven settings.xml file

'gecko' type browser option (such as: <gwt.userAgent>gecko</gwt.userAgent>) causes build to fail as gecko is no-longer supported by GWT. Documented in Bugzilla 1487480 (https://bugzilla.redhat.com/show_bug.cgi?id=1487480).
https://stackoverflow.com/a/7992793/6328995
https://gwt.googlesource.com/gwt/+/master/user/src/com/google/gwt/useragent/UserAgent.gwt.xml

Pull Request to update settings file to remove gecko from gwt.userAgent description:
https://github.com/rhq-project/rhq/pull/325

Comment 2 Tyler Kelly 2017-09-16 07:06:03 UTC
Pull request 325 has been closed, wrong branch. New pull request on master branch: https://github.com/rhq-project/rhq/pull/326

Comment 3 Tyler Kelly 2017-09-18 00:53:19 UTC
To clarify, the error was due to the dev profile in the settings.xml being incomplete, once rectified new error was thrown regarding gwt, issue found to be resulting from the use of 'gecko' (ie Firefox 2) in the gwt.userAgent field in the dev profile. 'gecko' is no-longer supported by gwt.