commit | f3d4c0796c48cc5906ef0e59a966afe60e940eab | [log] [tgz] |
---|---|---|
author | Matthias Villiger <mvi@bsi-software.com> | Thu Nov 05 13:45:02 2020 +0100 |
committer | Matthias Villiger <mvi@bsi-software.com> | Thu Nov 05 13:45:02 2020 +0100 |
tree | c1f25be7f9c74799c4fbfdf9fcea1df8eeb505f1 | |
parent | 7deb2a4d971b8e705993936100336b14befae908 [diff] |
Bug 565896 Maven fails because it installs NPM modules at wrong location The maven build fails if the @eclipse-scout/releng & pnpm modules are not installed in the expected node directory below module/target/node/node_modules. Because the scripts running later on explicitly use this directory to locate pnpm.js and releng-scripts.js Therefore use the --prefix option to ensure it is installed in the expected directory only. And do not use the frontend-maven-plugin to call npm because the argument passed to --prefix might contain special characters (e.g. white spaces) which break the command because the frontend-maven-plugin only uses one single <arguments> tag for the whole command. Quoting the prefix path does not work on some operating systems either. Instead the exec-maven-plugin is used to call npm which allows to pass every argument in a single <argument> tag which also works if such an argument contains spaces. Furthermore do not install globally (-g argument) to ensure the dependencies are always located directly below node_modules. Because when installing globally, a "lib" directory might be created on some operating systems. See https://docs.npmjs.com/cli/v6/configuring-npm/folders. This solution removes the requirement for the platform dependent properties which did not work on all systems anyway. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=565896 See https://www.eclipse.org/forums/index.php/m/1830972 274951
[Eclipse Scout] 1 is a mature and open framework for modern, service oriented business applications. It substantially boosts developer productivity and is simple to learn.
This repository Eclipse Scout Maven Master contains the master POMs for Eclipse Scout projects
The content of this repository is build on the Eclipse infrastructure and the different versions on [Eclipse Maven Repo] 2.
The easiest way to start with Eclipse Scout is to download Eclipse for Scout Developers Eclipse for Scout Developers on the [Eclipse downloads page] 3.
We welcome any kind of contributions (Bug report, documentation, code contribution...). Please read the [Eclipse Scout Contribution page] 7 to know more about it.
The contribution process of Eclipse Scout is hosted on tools deployed by the Eclipse Foundation (involing [Bugzilla] 6, Gerrit, Hudson, MediaWiki...).
External tools like the GitHub tracker and pull requests are not supported.
To get in touch with the Eclipse Scout community, please open a thread in the [Eclipse Scout Forum] 5 or send a mail to [our mailing list] 8: scout-dev@eclipse.org
[Eclipse Public License (EPL) v1.0] 9