cn.dreampie
类 MinifierMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
cn.dreampie.MinifierMojo
- 所有已实现的接口:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="minify",
defaultPhase=PROCESS_CLASSES,
requiresDependencyResolution=COMPILE)
public class MinifierMojo- extends org.apache.maven.plugin.AbstractMojo
Copyright 2011 Mark Derricutt.
Contributing authors:
Daniel Bower
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Minify JavaScript with Maven
| 从接口 org.apache.maven.plugin.Mojo 继承的字段 |
ROLE |
| 从类 org.apache.maven.plugin.AbstractMojo 继承的方法 |
getLog, getPluginContext, setLog, setPluginContext |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MinifierMojo
public MinifierMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- 抛出:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2014. All rights reserved.