Bug 1487480 - Maven Build failure at RHQ Enterprise Core GUI
Summary: Maven Build failure at RHQ Enterprise Core GUI
Keywords:
Status: ASSIGNED
Alias: None
Product: RHQ Project
Classification: Other
Component: Documentation
Version: 4.13
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-01 04:02 UTC by Tyler Kelly
Modified: 2022-04-23 08:28 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
Error_Log (2.92 MB, text/plain)
2017-09-01 04:02 UTC, Tyler Kelly
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.