From 4ca637b2a7b31d4194380045ad64a08dedfeeb26 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Tue, 15 Sep 2020 16:13:54 +0100 Subject: 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 --- gui-editors/gui-editor-apex/pom.xml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'gui-editors/gui-editor-apex/pom.xml') diff --git a/gui-editors/gui-editor-apex/pom.xml b/gui-editors/gui-editor-apex/pom.xml index 77ee266..5cb3036 100644 --- a/gui-editors/gui-editor-apex/pom.xml +++ b/gui-editors/gui-editor-apex/pom.xml @@ -223,7 +223,6 @@ - org.apache.maven.plugins maven-dependency-plugin @@ -247,7 +246,6 @@ - org.apache.maven.plugins maven-resources-plugin @@ -255,6 +253,19 @@ true + + org.apache.maven.plugins + maven-jar-plugin + + + **/node/** + **/node_modules/** + webapp/webpack.config.js + webapp/package.json + webapp/package-lock.json + + + org.apache.maven.plugins maven-assembly-plugin -- cgit 1.2.3-korg