frontend-maven-plugin reads skip.yarn on its own, so -Dskip.yarn=true switches
off every yarn invocation in the project at once. That is the right shortcut for
a local backend build, but it is too blunt for CI: it also silences the
msa/js-executor sandbox tests, which are the only yarn-driven tests worth
keeping.
skip.ui.build is declared once in the root pom and defaults to ${skip.yarn}. It
is wired into the frontend-maven-plugin configuration of ui-ngx and msa/web-ui,
and into the pkg.skip.zip of msa/web-ui, whose Windows ZIP bundles the launcher
that `yarn run pkg` produces. It is deliberately NOT wired into
msa/js-executor: with -Dskip.ui.build=true that module still runs its yarn
install, its `yarn run pkg` and its sandbox tests.
Behaviour:
no flags everything builds and is tested as before
-Dskip.ui.build=true ui-ngx and msa/web-ui skip;
msa/js-executor still builds and runs its tests
-Dskip.yarn=true everything skips, exactly as before
The <skip> element is declared at plugin level rather than per execution so that
it also covers the executions contributed by the yarn-build and yarn-start
profiles, and so that node/yarn itself is no longer downloaded when there is
nothing to run.
The yarn test execution in msa/js-executor declared its own skip flag,
which overrode the mojo default of ${skip.yarn}, so a build run with
-Dskip.yarn=true still invoked yarn run test with no node_modules
installed. The two JS packaging modules had the same gap: the ZIP
assembly requires a launcher binary produced by yarn run pkg, so it
failed on a missing file rather than being skipped along with the yarn
work that would have produced it.
Both now follow skip.yarn while continuing to honour maven.test.skip.
Mobile apps derive the scheme from their package name, which may contain
an underscore. It cannot introduce an authority, so accepting it keeps
the rule as strong as the RFC 3986 grammar.
The user was looked up by email across the whole platform, so a client
belonging to one tenant could resolve a user of another. New users were also
placed in the tenant named by the provider response rather than in the tenant
that owns the client.
Both now follow the client's own tenant. System clients keep the platform-wide
behaviour they rely on.
A rejected deep link is otherwise invisible to support. AdminController
reuses the prevUri parameter and cookie names instead of its own copies,
and its redirect target moves into a helper so the read side is covered
by a test.
The scheme is restored from the oauth2_auth_request cookie, which the
client can replace, so checking it only while the authorization request
is built still let a forged cookie point the token redirect at any host.
Both handlers now re-check it on read, sharing the rule with
OAuth2AppTokenFactory.
The success handler keeps prevUri out of the base URL as well, so the
error redirect no longer appends /login to an in-app path.