From d0aaaa707b75581ba9ebf6282198d2a20a46dc3f Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Fri, 19 Apr 2024 18:20:33 +0200 Subject: [PATCH 1/3] webjar --- webapp/pom.xml | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/webapp/pom.xml b/webapp/pom.xml index 60a065f06d..bc3040b83d 100644 --- a/webapp/pom.xml +++ b/webapp/pom.xml @@ -21,6 +21,59 @@ + + org.apache.maven.plugins + maven-dependency-plugin + 3.6.1 + + + unpack-webjars + prepare-package + + unpack + + + + + org.webjars + jquery + jar + + META-INF/resources/webjars/jquery/*/*.map, + META-INF/resources/webjars/jquery/*/*.js + + + + ^META-INF/resources/webjars/jquery/[^/]+/ + ./ + + + target/${project.artifactId}-${project.version}/webjars/jquery/ + + + org.webjars + jquery-ui + jar + + META-INF/resources/webjars/jquery-ui/*/*.css, + META-INF/resources/webjars/jquery-ui/*/images/*.png, + META-INF/resources/webjars/jquery-ui/*/*.js + + + + ^META-INF/resources/webjars/jquery-ui/[^/]+/ + ./ + + + target/${project.artifactId}-${project.version}/webjars/jquery-ui/ + + + true + true + + + + maven-war-plugin @@ -38,6 +91,16 @@ + + org.webjars + jquery + 3.7.1 + + + org.webjars + jquery-ui + 1.13.2 + org.vivoweb vitro-api From 12de38077e38100c43661a7cbae4e82d8d459c6b Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Tue, 30 Apr 2024 13:50:20 +0200 Subject: [PATCH 2/3] Added DataTables dependency --- webapp/pom.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/webapp/pom.xml b/webapp/pom.xml index bc3040b83d..066ef9a03c 100644 --- a/webapp/pom.xml +++ b/webapp/pom.xml @@ -34,6 +34,21 @@ + + org.mvnpm + datatables.net + jar + + META-INF/resources/_static/datatables.net/*/js/*.js + + + + ^META-INF/resources/_static/datatables.net/[^/]+/ + ./ + + + target/${project.artifactId}-${project.version}/webjars/datatables/ + org.webjars jquery @@ -91,6 +106,11 @@ + + org.mvnpm + datatables.net + 2.0.5 + org.webjars jquery From 207f62db9efe44951880899a50448dc2a9b59277 Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Tue, 30 Apr 2024 15:35:59 +0200 Subject: [PATCH 3/3] added jquery-migrate dependency --- webapp/pom.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/webapp/pom.xml b/webapp/pom.xml index 066ef9a03c..132bcfa5d1 100644 --- a/webapp/pom.xml +++ b/webapp/pom.xml @@ -65,6 +65,21 @@ target/${project.artifactId}-${project.version}/webjars/jquery/ + + org.webjars.npm + jquery-migrate + jar + + META-INF/resources/webjars/jquery-migrate/*/dist/*.js + + + + ^META-INF/resources/webjars/jquery-migrate/[^/]+/ + ./ + + + target/${project.artifactId}-${project.version}/webjars/jquery-migrate/ + org.webjars jquery-ui @@ -106,6 +121,11 @@ + + org.webjars.npm + jquery-migrate + 3.4.1 + org.mvnpm datatables.net