@dribble. while working on ambari 2.7.5 for suse 12, i ran into the same error. you need to make sure to get maven version right first (apache maven 3.3.9 or later).
the specific package dependency errors are fixed by editing ambari-web/pom.xml and setting the node version to version installed in building operating system.
once i did this, the build completed the ambari web steps. you may run into similar dependency failures with other packages. you can see the following recent posts for more details including specific versions: