From cb58ec18cd72d1e721d9148f8a1ea6dd61b6aed2 Mon Sep 17 00:00:00 2001 From: Maxim Solodovnik Date: Thu, 24 Aug 2023 10:43:23 +0700 Subject: [PATCH] [WICKET-7068] minimizing plugin is updated --- pom.xml | 50 +++++++++++-------- wicket-core/pom.xml | 29 +++-------- wicket-extensions/pom.xml | 4 +- .../repeater/tree/theme/windows/theme.css | 2 +- 4 files changed, 39 insertions(+), 46 deletions(-) diff --git a/pom.xml b/pom.xml index 512958f5ede..2660302dce6 100644 --- a/pom.xml +++ b/pom.xml @@ -199,7 +199,7 @@ 3.2.1 3.1.0 3.3.2 - 1.5.1 + 2.4.1 * @@ -876,24 +876,6 @@ ]]> - - net.alchim31.maven - yuicompressor-maven-plugin - ${yuicompressor-maven-plugin.version} - - true - false - .min - ${project.build.directory}/generated-res - - - - - compress - - - - org.apache.felix maven-bundle-plugin @@ -1205,11 +1187,11 @@ - net.alchim31.maven - yuicompressor-maven-plugin + org.primefaces.extensions + resources-optimizer-maven-plugin [1.3.0,) - compress + optimize @@ -1273,6 +1255,30 @@ + + org.primefaces.extensions + resources-optimizer-maven-plugin + ${resources-optimizer-maven-plugin.version} + + .min + ${project.build.directory}/classes + false + + + + **/jquery*.js + + + + + + + + optimize + + + + diff --git a/wicket-core/pom.xml b/wicket-core/pom.xml index 7a4561643d5..bfb2204150f 100644 --- a/wicket-core/pom.xml +++ b/wicket-core/pom.xml @@ -28,11 +28,11 @@ Wicket Core Wicket is a Java web application framework that takes simplicity, - separation of concerns and ease of development to a whole new level. - Wicket pages can be mocked up, previewed and later revised using - standard WYSIWYG HTML design tools. Dynamic content processing and - form handling is all handled in Java code using a first-class - component model backed by POJO data beans that can easily be + separation of concerns and ease of development to a whole new level. + Wicket pages can be mocked up, previewed and later revised using + standard WYSIWYG HTML design tools. Dynamic content processing and + form handling is all handled in Java code using a first-class + component model backed by POJO data beans that can easily be persisted using your favorite technology. @@ -142,7 +142,7 @@ org.apache.wicket.util.template;-noimport:=true, org.apache.wicket.util.tester;-noimport:=true, org.apache.wicket.validation;-noimport:=true, org.apache.wicket.validation.validator;-noimport:=true - + !java*,!kotlin*,!sun.nio.ch,!com.sun.crypto.provider,org.slf4j*;version="[1.7,3)",javax.servlet,javax.servlet.http,* @@ -196,23 +196,10 @@ org.apache.wicket.validation.validator;-noimport:=true - - - - net.alchim31.maven - yuicompressor-maven-plugin - - - **/jquery*.js - - - - - - net.alchim31.maven - yuicompressor-maven-plugin + org.primefaces.extensions + resources-optimizer-maven-plugin diff --git a/wicket-extensions/pom.xml b/wicket-extensions/pom.xml index 5877047162c..668ea44c560 100644 --- a/wicket-extensions/pom.xml +++ b/wicket-extensions/pom.xml @@ -45,8 +45,8 @@ - net.alchim31.maven - yuicompressor-maven-plugin + org.primefaces.extensions + resources-optimizer-maven-plugin diff --git a/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/tree/theme/windows/theme.css b/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/tree/theme/windows/theme.css index fa4b9014d99..b86245f1094 100644 --- a/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/tree/theme/windows/theme.css +++ b/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/tree/theme/windows/theme.css @@ -38,7 +38,7 @@ html[dir="rtl"] .tree-theme-windows div.tree-subtree { html[dir="rtl"] .tree-theme-windows div.tree-branch-mid { background-image: url(tree-rtl.gif); - background-position-x: calc(100%/* to skip */ +/* minimizer */ 54px); + background-position-x: calc(100% + 54px); } .tree-theme-windows div.tree-branch-last {