[
https://issues.apache.org/jira/browse/KNOX-3331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on KNOX-3331 started by Sandor Molnar.
-------------------------------------------
> Add Maven build option to skip Angular UI modules
> -------------------------------------------------
>
> Key: KNOX-3331
> URL: https://issues.apache.org/jira/browse/KNOX-3331
> Project: Apache Knox
> Issue Type: Improvement
> Components: Build
> Affects Versions: 2.0.0, 2.1.0, 3.0.0
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Major
> Fix For: 3.0.0
>
>
> The Apache Knox build currently always includes all Angular-based UI modules
> in the Maven reactor, even when UI artifacts are not required for
> backend/server development/testing or CI validation.
> A typical full build shows that the UI modules contribute a significant
> portion of the total build time:
>
> {noformat}
> gateway-admin-ui ................. ~26s
> knox-homepage-ui ................. ~35s
> gateway-openapi-ui ............... ~2s
> knox-token-management-ui ......... ~34s
> knox-token-generation-ui ......... ~22s
> knox-webshell-ui ................. ~21s
> Total build time:
> 03:47 min
> {noformat}
>
> The UI-related modules alone account for roughly 2 minutes of the build.
> *Proposed improvement:*
> Introduce a Maven property/profile that allows skipping all Angular-based UI
> modules during the reactor build.
> *Example usage:*
> {noformat}
> mvn clean install -DskipUi{noformat}
> *Expected behavior:*
> * All *-ui modules are excluded from the reactor
> * Non-UI modules continue to build normally
> * Default behavior remains unchanged when the flag is not provided
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)