jar

com.github.eliayng : compress-maven-plugin

Maven & Gradle

Aug 03, 2017
0 stars

compress-maven-plugin · 配置监控信息,在web.xml中添加 <filter> <description>拦截获取js与css过滤</description> <filter-name>MergeFilter</filter-name> <filter-class>com.njzxw.filter.MergeFilter</filter-class> <init-param> <!-- js合并输出路径 --> <param-name>jsDir</param-name> <param-value>${js.path}</param-value> </init-param> <init-param> <!-- css合并输出路径 --> <param-name>cssDir</param-name> <param-value>${css.path}</param-value> </init-param> </filter> 同时添加一个合并js\css对应一个merge.xml,最好放置在同级,如: <merge> <group name="sss" > <js path="js/common/common.js" /> <js path="js/common/index.js" /> <css path="css/common/animate.css" /> <css path="css/common/normalize.css" /> </group> </merge> 访问项目:xxx/sss.js xxx/sss.css 同时配合maven插件: compress-maven-plugin结合使用: <plugin> <groupId>com.github.eliayng</groupId> <artifactId>compress-maven-plugin</artifactId> <version>1.0.0</version> <executions> <execution> <phase>compile</phase> <goals> <goal>compress</goal> </goals> </execution> </executions> <configuration> <skip>${skipCompress}</skip> <poolNum>50</poolNum> <jsOutDir>${jsOutDir}</jsOutDir> <cssOutDir>${cssOutDir}</cssOutDir> <!--是否监控编译class文件--> <isCompressClass>true</isCompressClass> <!-- 是否复制资源文件 --> <isResourcesCopy>true</isResourcesCopy> </configuration> </plugin>

Table Of Contents

Latest Version

Download com.github.eliayng : compress-maven-plugin JAR file - Latest Versions:

All Versions

Download com.github.eliayng : compress-maven-plugin JAR file - All Versions:

Version Vulnerabilities Size Updated
1.0.x
M1.0.x

View Java Class Source Code in JAR file

  1. Download JD-GUI to open JAR file and explore Java source code file (.class .java)
  2. Click menu "File → Open File..." or just drag-and-drop the JAR file in the JD-GUI window compress-maven-plugin-1.0.2.jar file.
    Once you open a JAR file, all the java classes in the JAR file will be displayed.

com.njzxw.compress_maven_plugin.js

├─ com.njzxw.compress_maven_plugin.js.CompressJsYuicompress.class - [JAR]

├─ com.njzxw.compress_maven_plugin.js.MyCommandLineRunner.class - [JAR]

com.njzxw.filter

├─ com.njzxw.filter.MergeFilter.class - [JAR]

com.njzxw.compress_maven_plugin.util

├─ com.njzxw.compress_maven_plugin.util.CopyDirectory.class - [JAR]

├─ com.njzxw.compress_maven_plugin.util.DynamicCompilerUtil.class - [JAR]

├─ com.njzxw.compress_maven_plugin.util.WatchDir.class - [JAR]

com.njzxw.compress_maven_plugin

├─ com.njzxw.compress_maven_plugin.CompressAbs.class - [JAR]

├─ com.njzxw.compress_maven_plugin.CompressMojo.class - [JAR]

com.njzxw.compress_maven_plugin.compressClass

├─ com.njzxw.compress_maven_plugin.compressClass.CompressClass.class - [JAR]

com.njzxw.compress_maven_plugin.merge

├─ com.njzxw.compress_maven_plugin.merge.CompressMerge.class - [JAR]

├─ com.njzxw.compress_maven_plugin.merge.Css.class - [JAR]

├─ com.njzxw.compress_maven_plugin.merge.GroupBean.class - [JAR]

├─ com.njzxw.compress_maven_plugin.merge.Js.class - [JAR]

├─ com.njzxw.compress_maven_plugin.merge.Marge.class - [JAR]

├─ com.njzxw.compress_maven_plugin.merge.MergeBean.class - [JAR]

com.njzxw.compress_maven_plugin.html

├─ com.njzxw.compress_maven_plugin.html.CompressHtml.class - [JAR]

├─ com.njzxw.compress_maven_plugin.html.HtmlCompressor.class - [JAR]

com.google.javascript.jscomp

├─ com.google.javascript.jscomp.AbstractCommandLineRunner.class - [JAR]

com.njzxw.compress_maven_plugin.css

├─ com.njzxw.compress_maven_plugin.css.CompressCssYuicompress.class - [JAR]

├─ com.njzxw.compress_maven_plugin.css.CompressSass.class - [JAR]

Advertisement

Dependencies from Group

Discover Dependencies

gep
Jun 25, 2017
1 usages
0 stars
Jun 27, 2017
5.3k stars
Jun 22, 2017
1 usages
4 stars
Jul 15, 2023
1 usages
2 stars
Mar 22, 2021
114 stars
Mar 22, 2021
114 stars
Mar 22, 2021
2 usages
114 stars
Mar 22, 2021
2 usages
114 stars
Jun 18, 2017
5.8k stars