配置监控信息,在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>
...
Categories | Maven Plugins |
---|---|
HomePage | https://github.com/eliayng/compress-maven-plugin |
Date | (Jun 21, 2017) |
Files | pom (7 KB) maven-plugin (95 KB) View All |
Repositories | CentralSonatypeSpring Lib MSpring Plugins |
Compile Dependencies (5)
Category/License | Group / Artifact | Version | Updates | |
---|---|---|---|---|
JS Processor Apache 2.0 | com.google.javascript » closure-compiler | v20170423 | v20210106 | |
JS Processor BSD | com.yahoo.platform.yui » yuicompressor | 2.4.8 | ✔ | |
Build Model Apache 2.0 | org.apache.maven » maven-plugin-api | 2.0 | 3.6.3 | |
Build Model Apache 2.0 | org.apache.maven » maven-project | 2.2.1 | ✔ | |
Apache 2.0 | org.apache.maven.plugin-tools » maven-plugin-annotations | 3.2 | 3.6.0 |
Provided Dependencies (6)
Category/License | Group / Artifact | Version | Updates | |
---|---|---|---|---|
Logging EPL 1.0LGPL 2.1 | ch.qos.logback » logback-core | 1.2.3 | ✔ | |
EPL 1.0LGPL 2.1 | ch.qos.logback » logback-access | 1.2.3 | ✔ | |
Logging EPL 1.0LGPL 2.1 | ch.qos.logback » logback-classic | 1.2.3 | ✔ | |
XML Processing BSD | dom4j » dom4j | 1.6.1 | ✔ | |
Java Spec CDDLGPL 2.0 | javax.servlet » javax.servlet-api | 3.0.1 | 4.0.1 | |
Logging Bridge MIT | org.slf4j » jcl-over-slf4j | 1.7.25 | 1.7.30 |
Licenses
License | URL |
---|---|
The Eliayng License, Version 1.0 | https://github.com/eliayng/compress-maven-plugin/blob/master ... |
Developers
Name | Dev Id | Roles | Organization | |
---|---|---|---|---|
yang1 | 175840715<at>qq.com | personage |