Skip to content

chore: Add 'localNpm' Maven build profile and 'npm.registry' Maven property to accomodate the UI build in corporate environments#5465

Open
cdprete wants to merge 1 commit into
codecentric:masterfrom
cdprete:chore/local-npm
Open

chore: Add 'localNpm' Maven build profile and 'npm.registry' Maven property to accomodate the UI build in corporate environments#5465
cdprete wants to merge 1 commit into
codecentric:masterfrom
cdprete:chore/local-npm

Conversation

@cdprete

@cdprete cdprete commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Hi.

In corporate environments the access to certain resources may be blocked, may need some proxy settings or these resources may be provided through different channels (e.g.: an internal package manager).

This PR adds the possibility to build the UI locally with the available toolchain by:

  1. executing the necessary npm steps with the exec-maven-plugin, to leverage the already installed NodeJS and NPM and already available on the PATH
  2. adding a Maven property named npm.registry which can be externally set with -Dnpm.registry=https://my.corporate.registry during the build in order to point to the corporate internal registry rather than to https://registry.npmjs.org/

@cdprete cdprete requested a review from a team as a code owner June 19, 2026 11:46
@cdprete cdprete marked this pull request as draft June 19, 2026 11:50
@cdprete cdprete marked this pull request as ready for review June 19, 2026 12:01
… already installed Node and NPM instead of downloading it since the download may be blocked (e.g.: in corporate environments) and 'npm.registry' Maven property to allow to change the registry to use
@cdprete cdprete changed the title chore: Add 'localNpm' build profile to allow to build the UI with the already installed Node and NPM instead of downloading it since the download may be blocked (e.g.: in corporate environments) already installed Node and NPM instead of downloading it since the download may be blocked (e.g.: in corporate environments) and 'npm.registry' Maven property to allow to change the registry to use chore: Add 'localNpm' Maven build profile and 'npm.registry' to accomodate corporate environments Jun 19, 2026
@cdprete cdprete changed the title chore: Add 'localNpm' Maven build profile and 'npm.registry' to accomodate corporate environments chore: Add 'localNpm' Maven build profile and 'npm.registry' Maven property to accomodate the UI build in corporate environments Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant