summaryrefslogtreecommitdiffstats
path: root/gui-editors/gui-editor-apex/src/main/assembly
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2020-09-15 16:13:54 +0100
committerliamfallon <liam.fallon@est.tech>2020-09-16 08:03:14 +0100
commit4ca637b2a7b31d4194380045ad64a08dedfeeb26 (patch)
tree74b3aaf665c60f322c978cd52126864f5750433c /gui-editors/gui-editor-apex/src/main/assembly
parent9a9127b65920580de8b4a69479a9983481c8faf8 (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.xml7
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