Skip to content

Commit

Permalink
[WICKET-7068] minimizing plugin is updated (#602)
Browse files Browse the repository at this point in the history
  • Loading branch information
solomax committed Aug 24, 2023
1 parent 218e5e1 commit 363e864
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 41 deletions.
50 changes: 28 additions & 22 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
<maven-toolchains-plugin.version>3.1.0</maven-toolchains-plugin.version>
<maven-war-plugin.version>3.3.2</maven-war-plugin.version>
<yuicompressor-maven-plugin.version>1.5.1</yuicompressor-maven-plugin.version>
<resources-optimizer-maven-plugin.version>2.4.1</resources-optimizer-maven-plugin.version>

<osgi.dynamicimport.package />
<osgi.export.package>*</osgi.export.package>
Expand Down Expand Up @@ -874,24 +874,6 @@
]]></signatures>
</configuration>
</plugin>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
<version>${yuicompressor-maven-plugin.version}</version>
<configuration>
<statistics>true</statistics>
<jswarn>false</jswarn>
<suffix>.min</suffix>
<outputDirectory>${project.build.directory}/generated-res</outputDirectory>
</configuration>
<executions>
<execution>
<goals>
<goal>compress</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
Expand Down Expand Up @@ -1203,11 +1185,11 @@
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>net.alchim31.maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
<groupId>org.primefaces.extensions</groupId>
<artifactId>resources-optimizer-maven-plugin</artifactId>
<versionRange>[1.3.0,)</versionRange>
<goals>
<goal>compress</goal>
<goal>optimize</goal>
</goals>
</pluginExecutionFilter>
<action>
Expand Down Expand Up @@ -1271,6 +1253,30 @@
</lifecycleMappingMetadata>
</configuration>
</plugin>
<plugin>
<groupId>org.primefaces.extensions</groupId>
<artifactId>resources-optimizer-maven-plugin</artifactId>
<version>${resources-optimizer-maven-plugin.version}</version>
<configuration>
<suffix>.min</suffix>
<inputDir>${project.build.directory}/classes</inputDir>
<useDataUri>false</useDataUri>
<resourcesSets>
<resourcesSet>
<excludes>
<exclude>**/jquery*.js</exclude>
</excludes>
</resourcesSet>
</resourcesSets>
</configuration>
<executions>
<execution>
<goals>
<goal>optimize</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand Down
22 changes: 6 additions & 16 deletions wicket-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,11 @@ org.apache.wicket.util.tester;-noimport:=true,
org.apache.wicket.validation;-noimport:=true,
org.apache.wicket.validation.validator;-noimport:=true
</osgi.export.package>
<<<<<<< HEAD
<osgi.import.package>!java*,!kotlin*,!sun.nio.ch,!com.sun.crypto.provider,org.slf4j*;version="[1.7,3)",jakarta.servlet,jakarta.servlet.http,*</osgi.import.package>
=======
<osgi.import.package>!java*,!kotlin*,!sun.nio.ch,!com.sun.crypto.provider,org.slf4j*;version="[1.7,3)",javax.servlet,javax.servlet.http,*</osgi.import.package>
>>>>>>> d4ca66c442 ([WICKET-7068] minimizing plugin is updated (#602))
</properties>
<dependencies>
<dependency>
Expand Down Expand Up @@ -197,24 +201,10 @@ org.apache.wicket.validation.validator;-noimport:=true
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
<version>1.5.1</version>
<configuration>
<excludes>
<exclude>**/jquery*.js</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
<groupId>org.primefaces.extensions</groupId>
<artifactId>resources-optimizer-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
Expand Down
4 changes: 2 additions & 2 deletions wicket-extensions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
<build>
<plugins>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
<groupId>org.primefaces.extensions</groupId>
<artifactId>resources-optimizer-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 363e864

Please sign in to comment.