From c546545c5e5362a146e5fbbb04cd847664653e5e Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Thu, 22 Apr 2021 15:22:08 -0700 Subject: [PATCH] GUACAMOLE-773: Include NPM dependencies when considering generated LICENSE. --- guacamole/pom.xml | 109 +++++++++++++++++++++++++++++----------------- pom.xml | 5 +++ 2 files changed, 73 insertions(+), 41 deletions(-) diff --git a/guacamole/pom.xml b/guacamole/pom.xml index ed270dc2e..24cc59ed9 100644 --- a/guacamole/pom.xml +++ b/guacamole/pom.xml @@ -60,6 +60,74 @@ + + + com.github.eirslett + frontend-maven-plugin + 1.11.3 + + src/main/frontend + ${project.build.directory} + + + + install-node-and-npm + + install-node-and-npm + + + v14.16.0 + + + + npm-ci + + npm + + + ci + + + + npm-build + generate-resources + + npm + + + run build + + + + + + + + org.apache.maven.plugins + maven-resources-plugin + + + copy-npm-dependency-list + generate-resources + + copy-resources + + + ${dependency.list.directory} + + + src/main/frontend/dist + + npm-dependencies.txt + + + + + + + + org.codehaus.mojo @@ -128,47 +196,6 @@ - - - com.github.eirslett - frontend-maven-plugin - 1.11.3 - - src/main/frontend - ${project.build.directory} - - - - install-node-and-npm - - install-node-and-npm - - - v14.16.0 - - - - npm-ci - - npm - - - ci - - - - npm-build - generate-resources - - npm - - - run build - - - - - diff --git a/pom.xml b/pom.xml index 105ae5b6f..033df7507 100644 --- a/pom.xml +++ b/pom.xml @@ -236,6 +236,11 @@ maven-assembly-plugin 3.3.0 + + org.apache.maven.plugins + maven-resources-plugin + 3.2.0 + org.apache.maven.plugins maven-surefire-plugin