diff options
author | liamfallon <liam.fallon@est.tech> | 2020-09-15 16:13:54 +0100 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2020-09-16 08:03:14 +0100 |
commit | 4ca637b2a7b31d4194380045ad64a08dedfeeb26 (patch) | |
tree | 74b3aaf665c60f322c978cd52126864f5750433c /gui-editors/gui-editor-apex/src/main/assembly | |
parent | 9a9127b65920580de8b4a69479a9983481c8faf8 (diff) |
Exclude unit test files from released artifacts
The node.js code and repos are used only during unit test and should not
be included in the released artifacts. Not having them in the released
artifacts also eliminates a number of security and licensing issues with
node.js modules.
Issue-ID: POLICY-2825
Change-Id: Icb9c0a0e3d1ebb01aa9b6346ce51f0c76c5cdd0f
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'gui-editors/gui-editor-apex/src/main/assembly')
-rw-r--r-- | gui-editors/gui-editor-apex/src/main/assembly/resources.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gui-editors/gui-editor-apex/src/main/assembly/resources.xml b/gui-editors/gui-editor-apex/src/main/assembly/resources.xml index 1716367..dc7f35e 100644 --- a/gui-editors/gui-editor-apex/src/main/assembly/resources.xml +++ b/gui-editors/gui-editor-apex/src/main/assembly/resources.xml @@ -28,6 +28,13 @@ <fileSet> <directory>target/classes/webapp</directory> <outputDirectory>editor</outputDirectory> + <excludes> + <exclude>**/node/**</exclude> + <exclude>**/node_modules/**</exclude> + <exclude>webpack.config.js</exclude> + <exclude>package.json</exclude> + <exclude>package-lock.json</exclude> + </excludes> </fileSet> </fileSets> </assembly>
\ No newline at end of file |