1 Star 0 Fork 0

炼成钢铁/compressDemo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Minify Maven Plugin - minify_minify.html 55.86 KB
一键复制 编辑 原始数据 按行查看 历史
炼成钢铁 提交于 2018-09-26 23:54 . minify-maven-plugin压缩
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630
<!DOCTYPE html>
<!-- saved from url=(0062)https://samaxes.github.io/minify-maven-plugin/minify-mojo.html -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="Date-Revision-yyyymmdd" content="20161129">
<meta http-equiv="Content-Language" content="en">
<title>Minify Maven Plugin -
minify:minify</title>
<link rel="stylesheet" href="./Minify Maven Plugin - minify_minify_files/apache-maven-fluido-1.5.min.css">
<link rel="stylesheet" href="./Minify Maven Plugin - minify_minify_files/site.css">
<link rel="stylesheet" href="./Minify Maven Plugin - minify_minify_files/print.css" media="print">
<script src="./Minify Maven Plugin - minify_minify_files/cb=gapi.loaded_1" async=""></script><script id="twitter-wjs" src="./Minify Maven Plugin - minify_minify_files/widgets.js"></script><script src="./Minify Maven Plugin - minify_minify_files/cb=gapi.loaded_0" async=""></script><script type="text/javascript" src="./Minify Maven Plugin - minify_minify_files/apache-maven-fluido-1.5.min.js"></script>
<script type="text/javascript" charset="utf-8" async="" src="./Minify Maven Plugin - minify_minify_files/button.3ebb4253c7cb2cc3c9eaac42044fc82c.js"></script></head>
<body class="topBarDisabled">
<a href="https://github.com/samaxes/minify-maven-plugin">
<img style="position: absolute; top: 0; right: 0; border: 0; z-index: 10000;" src="./Minify Maven Plugin - minify_minify_files/forkme_right_red_aa0000.png" alt="Fork me on GitHub">
</a>
<div class="container-fluid">
<div id="banner">
<div class="pull-left">
<div id="bannerLeft">
<h2>Minify Maven Plugin</h2>
</div>
</div>
<div class="pull-right"> </div>
<div class="clear"><hr></div>
</div>
<div id="breadcrumbs">
<ul class="breadcrumb">
<li class="">
<a href="https://samaxes.github.io/minify-maven-plugin/" title="Minify Maven Plugin">
Minify Maven Plugin</a>
<span class="divider">/</span>
</li>
<li class="active ">
minify:minify</li>
<li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2016-11-29</li>
<li id="projectVersion" class="pull-right">
Version: 1.7.6
</li>
</ul>
</div>
<div class="row-fluid">
<div id="leftColumn" class="span3">
<div class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">Overview</li>
<li>
<a href="https://samaxes.github.io/minify-maven-plugin/index.html" title="Introduction">
<span class="none"></span>
Introduction</a>
</li>
<li>
<a href="https://samaxes.github.io/minify-maven-plugin/plugin-info.html" title="Goals">
<span class="none"></span>
Goals</a>
</li>
<li>
<a href="https://samaxes.github.io/minify-maven-plugin/usage.html" title="Usage">
<span class="none"></span>
Usage</a>
</li>
<li>
<a href="https://samaxes.github.io/minify-maven-plugin/faq.html" title="FAQ">
<span class="none"></span>
FAQ</a>
</li>
<li class="nav-header">Examples</li>
<li>
<a href="https://samaxes.github.io/minify-maven-plugin/examples/basic.html" title="Basic Configuration">
<span class="none"></span>
Basic Configuration</a>
</li>
<li>
<a href="https://samaxes.github.io/minify-maven-plugin/examples/patterns.html" title="Using include/exclude patterns">
<span class="none"></span>
Using include/exclude patterns</a>
</li>
<li>
<a href="https://samaxes.github.io/minify-maven-plugin/examples/bundle.html" title="Bundle Configuration">
<span class="none"></span>
Bundle Configuration</a>
</li>
<li>
<a href="https://samaxes.github.io/minify-maven-plugin/examples/exclude.html" title="Exclude source files from WAR package">
<span class="none"></span>
Exclude source files from WAR package</a>
</li>
<li class="nav-header">Project Documentation</li>
<li>
<a href="https://samaxes.github.io/minify-maven-plugin/project-info.html" title="Project Information">
<span class="icon-chevron-right"></span>
Project Information</a>
</li>
<li>
<a href="https://samaxes.github.io/minify-maven-plugin/project-reports.html" title="Project Reports">
<span class="icon-chevron-right"></span>
Project Reports</a>
</li>
</ul>
<hr>
<div id="poweredBy">
<script type="text/javascript" src="./Minify Maven Plugin - minify_minify_files/plusone.js" gapi_processed="true"></script>
<div id="___plusone_0" style="text-indent: 0px; margin: 0px; padding: 0px; background: transparent; border-style: none; float: none; line-height: normal; font-size: 1px; vertical-align: baseline; display: inline-block; width: 50px; height: 24px;"><iframe ng-non-bindable="" frameborder="0" hspace="0" marginheight="0" marginwidth="0" scrolling="no" style="position: static; top: 0px; width: 50px; margin: 0px; border-style: none; left: 0px; visibility: visible; height: 24px;" tabindex="0" vspace="0" width="100%" id="I0_1537976028272" name="I0_1537976028272" src="./Minify Maven Plugin - minify_minify_files/fastbutton.html" data-gapiattached="true" title="G+"></iframe></div>
<div class="clear"></div>
<iframe src="./Minify Maven Plugin - minify_minify_files/like.html" scrolling="no" frameborder="0" style="border:none; width:48px; height:63px; margin-top: 10px;"></iframe>
<div class="clear"></div>
<div id="twitter">
<iframe id="twitter-widget-0" scrolling="no" frameborder="0" allowtransparency="true" class="twitter-follow-button twitter-follow-button-rendered" title="Twitter Follow Button" src="./Minify Maven Plugin - minify_minify_files/follow_button.f6c7d667d236c62537eeaba62686136d.en.html" style="position: static; visibility: visible; width: 133px; height: 20px;" data-screen-name="samaxes"></iframe>
<script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
<div class="clear"></div>
<div class="clear"></div>
<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
<img class="builtBy" alt="Built by Maven" src="./Minify Maven Plugin - minify_minify_files/maven-feather.png">
</a>
</div>
</div>
</div>
<div id="bodyColumn" class="span9">
<div class="section">
<h2>minify:minify<a name="minify:minify"></a></h2>
<p><b>Full name</b>:</p>
<p>com.samaxes.maven:minify-maven-plugin:1.7.6:minify</p>
<p><b>Description</b>:</p>
<div>Goal for combining and minifying CSS and JavaScript files.</div>
<p><b>Attributes</b>:</p>
<ul>
<li>Requires a Maven project to be executed.</li>
<li>Binds by default to the <a class="externalLink" href="http://maven.apache.org/ref/current/maven-core/lifecycles.html">lifecycle phase</a>: <tt>process-resources</tt>.</li>
</ul>
<div class="section">
<h3>Optional Parameters<a name="Optional_Parameters"></a></h3>
<table class="table table-striped" border="0">
<tbody><tr class="a">
<th>Name</th>
<th>Type</th>
<th>Since</th>
<th>Description</th>
</tr>
<tr class="b">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#bufferSize">bufferSize</a></b></td>
<td><tt>int</tt></td>
<td><tt>-</tt></td>
<td>Size of the buffer used to read source files.<br><b>Default value is</b>: <tt>4096</tt>.<br><b>User property is</b>: <tt>bufferSize</tt>.<br></td>
</tr>
<tr class="a">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#bundleConfiguration">bundleConfiguration</a></b></td>
<td><tt>String</tt></td>
<td><tt>-</tt></td>
<td>Specify aggregations in an external JSON formatted config file.<br><b>User property is</b>: <tt>bundleConfiguration</tt>.<br></td>
</tr>
<tr class="b">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#charset">charset</a></b></td>
<td><tt>String</tt></td>
<td><tt>-</tt></td>
<td>If a supported character set is specified, it will be used to read
the input file. Otherwise, it will assume that the platform's
default character set is being used. The output file is encoded
using the same character set.<br>
See the <a class="externalLink" href="http://www.iana.org/assignments/character-sets">IANA Charset
Registry</a> for a list of valid encoding types.<br><b>Default value is</b>: <tt>${project.build.sourceEncoding}</tt>.<br><b>User property is</b>: <tt>charset</tt>.<br></td>
</tr>
<tr class="a">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#closureAngularPass">closureAngularPass</a></b></td>
<td><tt>boolean</tt></td>
<td><tt>-</tt></td>
<td>Generate <tt>$inject</tt> properties for AngularJS for
functions annotated with <tt>@ngInject</tt>.<br><b>Default value is</b>: <tt>false</tt>.<br><b>User property is</b>: <tt>closureAngularPass</tt>.<br></td>
</tr>
<tr class="b">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#closureCompilationLevel">closureCompilationLevel</a></b></td>
<td><tt>CompilationLevel</tt></td>
<td><tt>-</tt></td>
<td>The degree of compression and optimization to apply to your
JavaScript.<br>
There are three possible compilation levels:
<ul>
<li><tt>WHITESPACE_ONLY</tt>: Just removes whitespace and
comments from your JavaScript.</li>
<li><tt>SIMPLE_OPTIMIZATIONS</tt>: Performs compression and
optimization that does not interfere with the interaction between
the compiled JavaScript and other JavaScript. This level renames
only local variables.</li>
<li><tt>ADVANCED_OPTIMIZATIONS</tt>: Achieves the highest level
of compression by renaming symbols in your JavaScript. When using
<tt>ADVANCED_OPTIMIZATIONS</tt> compilation you must perform
extra steps to preserve references to external symbols. See <a href="https://samaxes.github.io/closure/compiler/docs/api-tutorial3">Advanced Compilation
and Externs</a> for more information about
<tt>ADVANCED_OPTIMIZATIONS</tt>.</li>
</ul><br><b>Default value is</b>: <tt>SIMPLE_OPTIMIZATIONS</tt>.<br><b>User property is</b>: <tt>closureCompilationLevel</tt>.<br></td>
</tr>
<tr class="a">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#closureCreateSourceMap">closureCreateSourceMap</a></b></td>
<td><tt>boolean</tt></td>
<td><tt>-</tt></td>
<td>Collects information mapping the generated (compiled) source back
to its original source for debugging purposes.<br>
Please visit <a class="externalLink" href="https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit">Source
Map Revision 3 Proposal</a> for more information.<br><b>Default value is</b>: <tt>false</tt>.<br><b>User property is</b>: <tt>closureCreateSourceMap</tt>.<br></td>
</tr>
<tr class="b">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#closureDefine">closureDefine</a></b></td>
<td><tt>HashMap</tt></td>
<td><tt>-</tt></td>
<td>Override the value of variables annotated with
<tt>@define</tt>.<br>
The format is:
<div>
<pre><tt>
&lt;define&gt;
&lt;name&gt;value&lt;/name&gt;
&lt;/define&gt;
</tt>
</pre></div>
where <tt>&lt;name&gt;</tt> is the name of a
<tt>@define</tt> variable and <tt>value</tt> is a boolean,
number or string.<br><b>User property is</b>: <tt>closureDefine</tt>.<br></td>
</tr>
<tr class="a">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#closureEnvironment">closureEnvironment</a></b></td>
<td><tt>CompilerOptions$Environment</tt></td>
<td><tt>-</tt></td>
<td>Determines the set of builtin externs to load.<br>
Options: BROWSER, CUSTOM.<br><b>Default value is</b>: <tt>BROWSER</tt>.<br><b>User property is</b>: <tt>closureEnvironment</tt>.<br></td>
</tr>
<tr class="b">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#closureExterns">closureExterns</a></b></td>
<td><tt>ArrayList</tt></td>
<td><tt>-</tt></td>
<td>List of JavaScript files containing code that declares function
names or other symbols. Use <tt>closureExterns</tt> to preserve
symbols that are defined outside of the code you are compiling. The
<tt>closureExterns</tt> parameter only has an effect if you are
using a <tt>CompilationLevel</tt> of
<tt>ADVANCED_OPTIMIZATIONS</tt>.<br>
These file names are relative to <tt>webappSourceDir</tt>
directory.<br><b>User property is</b>: <tt>closureExterns</tt>.<br></td>
</tr>
<tr class="a">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#closureExtraAnnotations">closureExtraAnnotations</a></b></td>
<td><tt>ArrayList</tt></td>
<td><tt>-</tt></td>
<td>A whitelist of tag names in JSDoc. Needed to support JSDoc
extensions like ngdoc.<br><b>User property is</b>: <tt>closureExtraAnnotations</tt>.<br></td>
</tr>
<tr class="b">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#closureLanguageIn">closureLanguageIn</a></b></td>
<td><tt>CompilerOptions$LanguageMode</tt></td>
<td><tt>-</tt></td>
<td>Refers to which version of ECMAScript to assume when checking for
errors in your code.<br>
Possible values are:
<ul>
<li><tt>ECMASCRIPT3</tt>: Checks code assuming ECMAScript 3
compliance, and gives errors for code using features only present
in later versions of ECMAScript.</li>
<li><tt>ECMASCRIPT5</tt>: Checks code assuming ECMAScript 5
compliance, allowing new features not present in ECMAScript 3, and
gives errors for code using features only present in later versions
of ECMAScript.</li>
<li><tt>ECMASCRIPT5_STRICT</tt>: Like <tt>ECMASCRIPT5</tt>
but assumes compliance with strict mode (<tt>'use
strict';</tt>).</li>
<li><tt>ECMASCRIPT6</tt>: Checks code assuming ECMAScript 6
compliance, allowing new features not present in ECMAScript 5.</li>
<li><tt>ECMASCRIPT6_STRICT</tt>: Like <tt>ECMASCRIPT6</tt>
but assumes compliance with strict mode (<tt>'use
strict';</tt>).</li>
</ul><br><b>Default value is</b>: <tt>ECMASCRIPT6</tt>.<br><b>User property is</b>: <tt>closureLanguageIn</tt>.<br></td>
</tr>
<tr class="a">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#closureLanguageOut">closureLanguageOut</a></b></td>
<td><tt>CompilerOptions$LanguageMode</tt></td>
<td><tt>-</tt></td>
<td>Refers to which version of ECMAScript your code will be returned
in.<br>
It accepts the same options as <tt>closureLanguageIn</tt> and
is used to transpile between different levels of ECMAScript.<br><b>Default value is</b>: <tt>ECMASCRIPT5</tt>.<br><b>User property is</b>: <tt>closureLanguageOut</tt>.<br></td>
</tr>
<tr class="b">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#closureSortDependencies">closureSortDependencies</a></b></td>
<td><tt>boolean</tt></td>
<td><tt>-</tt></td>
<td>Enables or disables sorting mode for Closure Library
dependencies.<br>
If <tt>true</tt>, automatically sort dependencies so that a
file that <tt>goog.provides</tt> symbol X will always come
before a file that <tt>goog.requires</tt> symbol X.<br><b>Default value is</b>: <tt>false</tt>.<br><b>User property is</b>: <tt>closureSortDependencies</tt>.<br></td>
</tr>
<tr class="a">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#closureWarningLevels">closureWarningLevels</a></b></td>
<td><tt>HashMap</tt></td>
<td><tt>-</tt></td>
<td>Treat certain warnings as the specified CheckLevel:
<ul>
<li><tt>ERROR</tt>: Makes all warnings of the given group to
build-breaking error.</li>
<li><tt>WARNING</tt>: Makes all warnings of the given group a
non-breaking warning.</li>
<li><tt>OFF</tt>: Silences all warnings of the given
group.</li>
</ul>
Example:
<div>
<pre><tt>
&lt;closureWarningLevels&gt;
&lt;nonStandardJsDocs&gt;OFF&lt;/nonStandardJsDocs&gt;
&lt;/closureWarningLevels&gt;
</tt>
</pre></div>
For the complete list of diagnostic groups please visit <a class="externalLink" href="https://github.com/google/closure-compiler/wiki/Warnings">https://github.com/google/closure-compiler/wiki/Warnings</a>.<br><b>User property is</b>: <tt>closureWarningLevels</tt>.<br></td>
</tr>
<tr class="b">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#cssEngine">cssEngine</a></b></td>
<td><tt>MinifyMojo$Engine</tt></td>
<td><tt>-</tt></td>
<td>Define the CSS compressor engine to use.<br>
Possible values are:
<ul>
<li><tt>YUI</tt>: <a class="externalLink" href="http://yui.github.io/yuicompressor/">YUI Compressor</a></li>
</ul><br><b>Default value is</b>: <tt>YUI</tt>.<br><b>User property is</b>: <tt>cssEngine</tt>.<br></td>
</tr>
<tr class="a">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#cssFinalFile">cssFinalFile</a></b></td>
<td><tt>String</tt></td>
<td><tt>-</tt></td>
<td>CSS output file name.<br><b>Default value is</b>: <tt>style.css</tt>.<br><b>User property is</b>: <tt>cssFinalFile</tt>.<br></td>
</tr>
<tr class="b">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#cssSourceDir">cssSourceDir</a></b></td>
<td><tt>String</tt></td>
<td><tt>-</tt></td>
<td>CSS source directory.<br><b>Default value is</b>: <tt>css</tt>.<br><b>User property is</b>: <tt>cssSourceDir</tt>.<br></td>
</tr>
<tr class="a">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#cssSourceExcludes">cssSourceExcludes</a></b></td>
<td><tt>ArrayList</tt></td>
<td><tt>-</tt></td>
<td>CSS files to exclude. Specified as fileset patterns which are
relative to the CSS source directory.<br><b>User property is</b>: <tt>cssSourceExcludes</tt>.<br><b>Alias is</b>: <tt>cssExcludes</tt>.</td>
</tr>
<tr class="b">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#cssSourceFiles">cssSourceFiles</a></b></td>
<td><tt>ArrayList</tt></td>
<td><tt>-</tt></td>
<td>CSS source file names list.<br><b>User property is</b>: <tt>cssSourceFiles</tt>.<br><b>Alias is</b>: <tt>cssFiles</tt>.</td>
</tr>
<tr class="a">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#cssSourceIncludes">cssSourceIncludes</a></b></td>
<td><tt>ArrayList</tt></td>
<td><tt>-</tt></td>
<td>CSS files to include. Specified as fileset patterns which are
relative to the CSS source directory.<br><b>User property is</b>: <tt>cssSourceIncludes</tt>.<br><b>Alias is</b>: <tt>cssIncludes</tt>.</td>
</tr>
<tr class="b">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#cssTargetDir">cssTargetDir</a></b></td>
<td><tt>String</tt></td>
<td><tt>-</tt></td>
<td>CSS target directory. Takes the same value as
<tt>cssSourceDir</tt> when empty.<br><b>User property is</b>: <tt>cssTargetDir</tt>.<br></td>
</tr>
<tr class="a">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#debug">debug</a></b></td>
<td><tt>Boolean</tt></td>
<td><tt>-</tt></td>
<td><b>Deprecated.</b> Use <tt>verbose</tt> instead.<br><b>User property is</b>: <tt>debug</tt>.<br></td>
</tr>
<tr class="b">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#disableOptimizations">disableOptimizations</a></b></td>
<td><tt>Boolean</tt></td>
<td><tt>-</tt></td>
<td><b>Deprecated.</b> Use <tt>yuiDisableOptimizations</tt> instead.<br><b>User property is</b>: <tt>disableOptimizations</tt>.<br></td>
</tr>
<tr class="a">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#jsEngine">jsEngine</a></b></td>
<td><tt>MinifyMojo$Engine</tt></td>
<td><tt>-</tt></td>
<td>Define the JavaScript compressor engine to use.<br>
Possible values are:
<ul>
<li><tt>YUI</tt>: <a class="externalLink" href="http://yui.github.io/yuicompressor/">YUI Compressor</a></li>
<li><tt>CLOSURE</tt>: <a class="externalLink" href="https://developers.google.com/closure/compiler/">Google
Closure Compiler</a></li>
</ul><br><b>Default value is</b>: <tt>YUI</tt>.<br><b>User property is</b>: <tt>jsEngine</tt>.<br></td>
</tr>
<tr class="b">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#jsFinalFile">jsFinalFile</a></b></td>
<td><tt>String</tt></td>
<td><tt>-</tt></td>
<td>JavaScript output file name.<br><b>Default value is</b>: <tt>script.js</tt>.<br><b>User property is</b>: <tt>jsFinalFile</tt>.<br></td>
</tr>
<tr class="a">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#jsSourceDir">jsSourceDir</a></b></td>
<td><tt>String</tt></td>
<td><tt>-</tt></td>
<td>JavaScript source directory.<br><b>Default value is</b>: <tt>js</tt>.<br><b>User property is</b>: <tt>jsSourceDir</tt>.<br></td>
</tr>
<tr class="b">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#jsSourceExcludes">jsSourceExcludes</a></b></td>
<td><tt>ArrayList</tt></td>
<td><tt>-</tt></td>
<td>JavaScript files to exclude. Specified as fileset patterns which
are relative to the JavaScript source directory.<br><b>User property is</b>: <tt>jsSourceExcludes</tt>.<br><b>Alias is</b>: <tt>jsExcludes</tt>.</td>
</tr>
<tr class="a">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#jsSourceFiles">jsSourceFiles</a></b></td>
<td><tt>ArrayList</tt></td>
<td><tt>-</tt></td>
<td>JavaScript source file names list.<br><b>User property is</b>: <tt>jsSourceFiles</tt>.<br><b>Alias is</b>: <tt>jsFiles</tt>.</td>
</tr>
<tr class="b">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#jsSourceIncludes">jsSourceIncludes</a></b></td>
<td><tt>ArrayList</tt></td>
<td><tt>-</tt></td>
<td>JavaScript files to include. Specified as fileset patterns which
are relative to the JavaScript source directory.<br><b>User property is</b>: <tt>jsSourceIncludes</tt>.<br><b>Alias is</b>: <tt>jsIncludes</tt>.</td>
</tr>
<tr class="a">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#jsTargetDir">jsTargetDir</a></b></td>
<td><tt>String</tt></td>
<td><tt>-</tt></td>
<td>JavaScript target directory. Takes the same value as
<tt>jsSourceDir</tt> when empty.<br><b>User property is</b>: <tt>jsTargetDir</tt>.<br></td>
</tr>
<tr class="b">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#linebreak">linebreak</a></b></td>
<td><tt>Integer</tt></td>
<td><tt>-</tt></td>
<td><b>Deprecated.</b> Use <tt>yuiLineBreak</tt> instead.<br><b>User property is</b>: <tt>linebreak</tt>.<br></td>
</tr>
<tr class="a">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#munge">munge</a></b></td>
<td><tt>Boolean</tt></td>
<td><tt>-</tt></td>
<td><b>Deprecated.</b> Use <tt>yuiNoMunge</tt> instead.<br><b>User property is</b>: <tt>munge</tt>.<br></td>
</tr>
<tr class="b">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#nosuffix">nosuffix</a></b></td>
<td><tt>boolean</tt></td>
<td><tt>-</tt></td>
<td>Do not append a suffix to the minified output file name,
independently of the value in the <tt>suffix</tt>
parameter.<br>
<b>Warning:</b> when both the options
<tt>nosuffix</tt> and <tt>skipMerge</tt> are set to
<tt>true</tt>, the plugin execution phase needs to be set to
<tt>package</tt>, otherwise the output files will be overridden
by the source files during the packaging.<br><b>Default value is</b>: <tt>false</tt>.<br><b>User property is</b>: <tt>nosuffix</tt>.<br></td>
</tr>
<tr class="a">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#preserveAllSemiColons">preserveAllSemiColons</a></b></td>
<td><tt>Boolean</tt></td>
<td><tt>-</tt></td>
<td><b>Deprecated.</b> Use <tt>yuiPreserveSemicolons</tt> instead.<br><b>User property is</b>: <tt>preserveAllSemiColons</tt>.<br></td>
</tr>
<tr class="b">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#skipMerge">skipMerge</a></b></td>
<td><tt>boolean</tt></td>
<td><tt>-</tt></td>
<td>Skip the merge step. Minification will be applied to each source
file individually.<br><b>Default value is</b>: <tt>false</tt>.<br><b>User property is</b>: <tt>skipMerge</tt>.<br></td>
</tr>
<tr class="a">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#skipMinify">skipMinify</a></b></td>
<td><tt>boolean</tt></td>
<td><tt>-</tt></td>
<td>Skip the minify step. Useful when merging files that are already
minified.<br><b>Default value is</b>: <tt>false</tt>.<br><b>User property is</b>: <tt>skipMinify</tt>.<br></td>
</tr>
<tr class="b">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#suffix">suffix</a></b></td>
<td><tt>String</tt></td>
<td><tt>-</tt></td>
<td>The output file name suffix.<br><b>Default value is</b>: <tt>.min</tt>.<br><b>User property is</b>: <tt>suffix</tt>.<br></td>
</tr>
<tr class="a">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#verbose">verbose</a></b></td>
<td><tt>boolean</tt></td>
<td><tt>-</tt></td>
<td>Display additional informational messages and warnings.<br><b>Default value is</b>: <tt>false</tt>.<br><b>User property is</b>: <tt>verbose</tt>.<br></td>
</tr>
<tr class="b">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#webappSourceDir">webappSourceDir</a></b></td>
<td><tt>String</tt></td>
<td><tt>-</tt></td>
<td>Webapp source directory.<br><b>Default value is</b>: <tt>${basedir}/src/main/webapp</tt>.<br><b>User property is</b>: <tt>webappSourceDir</tt>.<br></td>
</tr>
<tr class="a">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#webappTargetDir">webappTargetDir</a></b></td>
<td><tt>String</tt></td>
<td><tt>-</tt></td>
<td>Webapp target directory.<br><b>Default value is</b>: <tt>${project.build.directory}/${project.build.finalName}</tt>.<br><b>User property is</b>: <tt>webappTargetDir</tt>.<br></td>
</tr>
<tr class="b">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#yuiDisableOptimizations">yuiDisableOptimizations</a></b></td>
<td><tt>boolean</tt></td>
<td><tt>-</tt></td>
<td>Disable all the built-in micro-optimizations.<br><b>Default value is</b>: <tt>false</tt>.<br><b>User property is</b>: <tt>yuiDisableOptimizations</tt>.<br></td>
</tr>
<tr class="a">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#yuiLineBreak">yuiLineBreak</a></b></td>
<td><tt>int</tt></td>
<td><tt>-</tt></td>
<td>Some source control tools don't like files containing lines longer
than, say 8000 characters. The line-break option is used in that
case to split long lines after a specific column. It can also be
used to make the code more readable and easier to debug. Specify
<tt>0</tt> to get a line break after each semi-colon in
JavaScript, and after each rule in CSS. Specify <tt>-1</tt> to
disallow line breaks.<br><b>Default value is</b>: <tt>-1</tt>.<br><b>User property is</b>: <tt>yuiLineBreak</tt>.<br></td>
</tr>
<tr class="b">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#yuiNoMunge">yuiNoMunge</a></b></td>
<td><tt>boolean</tt></td>
<td><tt>-</tt></td>
<td>Minify only. Do not obfuscate local symbols.<br><b>Default value is</b>: <tt>false</tt>.<br><b>User property is</b>: <tt>yuiNoMunge</tt>.<br></td>
</tr>
<tr class="a">
<td><b><a href="https://samaxes.github.io/minify-maven-plugin/minify-mojo.html#yuiPreserveSemicolons">yuiPreserveSemicolons</a></b></td>
<td><tt>boolean</tt></td>
<td><tt>-</tt></td>
<td>Preserve unnecessary semicolons (such as right before a '}'). This
option is useful when compressed code has to be run through JSLint.<br><b>Default value is</b>: <tt>false</tt>.<br><b>User property is</b>: <tt>yuiPreserveSemicolons</tt>.<br></td>
</tr>
</tbody></table>
</div>
<div class="section">
<h3>Parameter Details<a name="Parameter_Details"></a></h3>
<p><b><a name="bufferSize">bufferSize</a>:</b></p>
<div>Size of the buffer used to read source files.</div>
<ul>
<li><b>Type</b>: <tt>int</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>bufferSize</tt></li>
<li><b>Default</b>: <tt>4096</tt></li>
</ul><hr>
<p><b><a name="bundleConfiguration">bundleConfiguration</a>:</b></p>
<div>Specify aggregations in an external JSON formatted config file.</div>
<ul>
<li><b>Type</b>: <tt>java.lang.String</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>bundleConfiguration</tt></li>
</ul><hr>
<p><b><a name="charset">charset</a>:</b></p>
<div>If a supported character set is specified, it will be used to read
the input file. Otherwise, it will assume that the platform's
default character set is being used. The output file is encoded
using the same character set.<br>
See the <a class="externalLink" href="http://www.iana.org/assignments/character-sets">IANA Charset
Registry</a> for a list of valid encoding types.</div>
<ul>
<li><b>Type</b>: <tt>java.lang.String</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>charset</tt></li>
<li><b>Default</b>: <tt>${project.build.sourceEncoding}</tt></li>
</ul><hr>
<p><b><a name="closureAngularPass">closureAngularPass</a>:</b></p>
<div>Generate <tt>$inject</tt> properties for AngularJS for
functions annotated with <tt>@ngInject</tt>.</div>
<ul>
<li><b>Type</b>: <tt>boolean</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>closureAngularPass</tt></li>
<li><b>Default</b>: <tt>false</tt></li>
</ul><hr>
<p><b><a name="closureCompilationLevel">closureCompilationLevel</a>:</b></p>
<div>The degree of compression and optimization to apply to your
JavaScript.<br>
There are three possible compilation levels:
<ul>
<li><tt>WHITESPACE_ONLY</tt>: Just removes whitespace and
comments from your JavaScript.</li>
<li><tt>SIMPLE_OPTIMIZATIONS</tt>: Performs compression and
optimization that does not interfere with the interaction between
the compiled JavaScript and other JavaScript. This level renames
only local variables.</li>
<li><tt>ADVANCED_OPTIMIZATIONS</tt>: Achieves the highest level
of compression by renaming symbols in your JavaScript. When using
<tt>ADVANCED_OPTIMIZATIONS</tt> compilation you must perform
extra steps to preserve references to external symbols. See <a href="https://samaxes.github.io/closure/compiler/docs/api-tutorial3">Advanced Compilation
and Externs</a> for more information about
<tt>ADVANCED_OPTIMIZATIONS</tt>.</li>
</ul></div>
<ul>
<li><b>Type</b>: <tt>com.google.javascript.jscomp.CompilationLevel</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>closureCompilationLevel</tt></li>
<li><b>Default</b>: <tt>SIMPLE_OPTIMIZATIONS</tt></li>
</ul><hr>
<p><b><a name="closureCreateSourceMap">closureCreateSourceMap</a>:</b></p>
<div>Collects information mapping the generated (compiled) source back
to its original source for debugging purposes.<br>
Please visit <a class="externalLink" href="https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit">Source
Map Revision 3 Proposal</a> for more information.</div>
<ul>
<li><b>Type</b>: <tt>boolean</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>closureCreateSourceMap</tt></li>
<li><b>Default</b>: <tt>false</tt></li>
</ul><hr>
<p><b><a name="closureDefine">closureDefine</a>:</b></p>
<div>Override the value of variables annotated with
<tt>@define</tt>.<br>
The format is:
<div>
<pre><tt>
&lt;define&gt;
&lt;name&gt;value&lt;/name&gt;
&lt;/define&gt;
</tt>
</pre></div>
where <tt>&lt;name&gt;</tt> is the name of a
<tt>@define</tt> variable and <tt>value</tt> is a boolean,
number or string.</div>
<ul>
<li><b>Type</b>: <tt>java.util.HashMap</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>closureDefine</tt></li>
</ul><hr>
<p><b><a name="closureEnvironment">closureEnvironment</a>:</b></p>
<div>Determines the set of builtin externs to load.<br>
Options: BROWSER, CUSTOM.</div>
<ul>
<li><b>Type</b>: <tt>com.google.javascript.jscomp.CompilerOptions$Environment</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>closureEnvironment</tt></li>
<li><b>Default</b>: <tt>BROWSER</tt></li>
</ul><hr>
<p><b><a name="closureExterns">closureExterns</a>:</b></p>
<div>List of JavaScript files containing code that declares function
names or other symbols. Use <tt>closureExterns</tt> to preserve
symbols that are defined outside of the code you are compiling. The
<tt>closureExterns</tt> parameter only has an effect if you are
using a <tt>CompilationLevel</tt> of
<tt>ADVANCED_OPTIMIZATIONS</tt>.<br>
These file names are relative to <tt>webappSourceDir</tt>
directory.</div>
<ul>
<li><b>Type</b>: <tt>java.util.ArrayList</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>closureExterns</tt></li>
</ul><hr>
<p><b><a name="closureExtraAnnotations">closureExtraAnnotations</a>:</b></p>
<div>A whitelist of tag names in JSDoc. Needed to support JSDoc
extensions like ngdoc.</div>
<ul>
<li><b>Type</b>: <tt>java.util.ArrayList</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>closureExtraAnnotations</tt></li>
</ul><hr>
<p><b><a name="closureLanguageIn">closureLanguageIn</a>:</b></p>
<div>Refers to which version of ECMAScript to assume when checking for
errors in your code.<br>
Possible values are:
<ul>
<li><tt>ECMASCRIPT3</tt>: Checks code assuming ECMAScript 3
compliance, and gives errors for code using features only present
in later versions of ECMAScript.</li>
<li><tt>ECMASCRIPT5</tt>: Checks code assuming ECMAScript 5
compliance, allowing new features not present in ECMAScript 3, and
gives errors for code using features only present in later versions
of ECMAScript.</li>
<li><tt>ECMASCRIPT5_STRICT</tt>: Like <tt>ECMASCRIPT5</tt>
but assumes compliance with strict mode (<tt>'use
strict';</tt>).</li>
<li><tt>ECMASCRIPT6</tt>: Checks code assuming ECMAScript 6
compliance, allowing new features not present in ECMAScript 5.</li>
<li><tt>ECMASCRIPT6_STRICT</tt>: Like <tt>ECMASCRIPT6</tt>
but assumes compliance with strict mode (<tt>'use
strict';</tt>).</li>
</ul></div>
<ul>
<li><b>Type</b>: <tt>com.google.javascript.jscomp.CompilerOptions$LanguageMode</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>closureLanguageIn</tt></li>
<li><b>Default</b>: <tt>ECMASCRIPT6</tt></li>
</ul><hr>
<p><b><a name="closureLanguageOut">closureLanguageOut</a>:</b></p>
<div>Refers to which version of ECMAScript your code will be returned
in.<br>
It accepts the same options as <tt>closureLanguageIn</tt> and
is used to transpile between different levels of ECMAScript.</div>
<ul>
<li><b>Type</b>: <tt>com.google.javascript.jscomp.CompilerOptions$LanguageMode</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>closureLanguageOut</tt></li>
<li><b>Default</b>: <tt>ECMASCRIPT5</tt></li>
</ul><hr>
<p><b><a name="closureSortDependencies">closureSortDependencies</a>:</b></p>
<div>Enables or disables sorting mode for Closure Library
dependencies.<br>
If <tt>true</tt>, automatically sort dependencies so that a
file that <tt>goog.provides</tt> symbol X will always come
before a file that <tt>goog.requires</tt> symbol X.</div>
<ul>
<li><b>Type</b>: <tt>boolean</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>closureSortDependencies</tt></li>
<li><b>Default</b>: <tt>false</tt></li>
</ul><hr>
<p><b><a name="closureWarningLevels">closureWarningLevels</a>:</b></p>
<div>Treat certain warnings as the specified CheckLevel:
<ul>
<li><tt>ERROR</tt>: Makes all warnings of the given group to
build-breaking error.</li>
<li><tt>WARNING</tt>: Makes all warnings of the given group a
non-breaking warning.</li>
<li><tt>OFF</tt>: Silences all warnings of the given
group.</li>
</ul>
Example:
<div>
<pre><tt>
&lt;closureWarningLevels&gt;
&lt;nonStandardJsDocs&gt;OFF&lt;/nonStandardJsDocs&gt;
&lt;/closureWarningLevels&gt;
</tt>
</pre></div>
For the complete list of diagnostic groups please visit <a class="externalLink" href="https://github.com/google/closure-compiler/wiki/Warnings">https://github.com/google/closure-compiler/wiki/Warnings</a>.</div>
<ul>
<li><b>Type</b>: <tt>java.util.HashMap</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>closureWarningLevels</tt></li>
</ul><hr>
<p><b><a name="cssEngine">cssEngine</a>:</b></p>
<div>Define the CSS compressor engine to use.<br>
Possible values are:
<ul>
<li><tt>YUI</tt>: <a class="externalLink" href="http://yui.github.io/yuicompressor/">YUI Compressor</a></li>
</ul></div>
<ul>
<li><b>Type</b>: <tt>com.samaxes.maven.minify.plugin.MinifyMojo$Engine</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>cssEngine</tt></li>
<li><b>Default</b>: <tt>YUI</tt></li>
</ul><hr>
<p><b><a name="cssFinalFile">cssFinalFile</a>:</b></p>
<div>CSS output file name.</div>
<ul>
<li><b>Type</b>: <tt>java.lang.String</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>cssFinalFile</tt></li>
<li><b>Default</b>: <tt>style.css</tt></li>
</ul><hr>
<p><b><a name="cssSourceDir">cssSourceDir</a>:</b></p>
<div>CSS source directory.</div>
<ul>
<li><b>Type</b>: <tt>java.lang.String</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>cssSourceDir</tt></li>
<li><b>Default</b>: <tt>css</tt></li>
</ul><hr>
<p><b><a name="cssSourceExcludes">cssSourceExcludes</a>:</b></p>
<div>CSS files to exclude. Specified as fileset patterns which are
relative to the CSS source directory.</div>
<ul>
<li><b>Type</b>: <tt>java.util.ArrayList</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>cssSourceExcludes</tt></li>
<li><b>Alias</b>: <tt>cssExcludes</tt></li>
</ul><hr>
<p><b><a name="cssSourceFiles">cssSourceFiles</a>:</b></p>
<div>CSS source file names list.</div>
<ul>
<li><b>Type</b>: <tt>java.util.ArrayList</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>cssSourceFiles</tt></li>
<li><b>Alias</b>: <tt>cssFiles</tt></li>
</ul><hr>
<p><b><a name="cssSourceIncludes">cssSourceIncludes</a>:</b></p>
<div>CSS files to include. Specified as fileset patterns which are
relative to the CSS source directory.</div>
<ul>
<li><b>Type</b>: <tt>java.util.ArrayList</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>cssSourceIncludes</tt></li>
<li><b>Alias</b>: <tt>cssIncludes</tt></li>
</ul><hr>
<p><b><a name="cssTargetDir">cssTargetDir</a>:</b></p>
<div>CSS target directory. Takes the same value as
<tt>cssSourceDir</tt> when empty.</div>
<ul>
<li><b>Type</b>: <tt>java.lang.String</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>cssTargetDir</tt></li>
</ul><hr>
<p><b><a name="debug">debug</a>:</b></p>
<div><b>Deprecated.</b> Use <tt>verbose</tt> instead.</div>
<div>Show source file paths in log output.</div>
<ul>
<li><b>Type</b>: <tt>java.lang.Boolean</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>debug</tt></li>
</ul><hr>
<p><b><a name="disableOptimizations">disableOptimizations</a>:</b></p>
<div><b>Deprecated.</b> Use <tt>yuiDisableOptimizations</tt> instead.</div>
<div>Disable all the built-in micro-optimizations.</div>
<ul>
<li><b>Type</b>: <tt>java.lang.Boolean</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>disableOptimizations</tt></li>
</ul><hr>
<p><b><a name="jsEngine">jsEngine</a>:</b></p>
<div>Define the JavaScript compressor engine to use.<br>
Possible values are:
<ul>
<li><tt>YUI</tt>: <a class="externalLink" href="http://yui.github.io/yuicompressor/">YUI Compressor</a></li>
<li><tt>CLOSURE</tt>: <a class="externalLink" href="https://developers.google.com/closure/compiler/">Google
Closure Compiler</a></li>
</ul></div>
<ul>
<li><b>Type</b>: <tt>com.samaxes.maven.minify.plugin.MinifyMojo$Engine</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>jsEngine</tt></li>
<li><b>Default</b>: <tt>YUI</tt></li>
</ul><hr>
<p><b><a name="jsFinalFile">jsFinalFile</a>:</b></p>
<div>JavaScript output file name.</div>
<ul>
<li><b>Type</b>: <tt>java.lang.String</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>jsFinalFile</tt></li>
<li><b>Default</b>: <tt>script.js</tt></li>
</ul><hr>
<p><b><a name="jsSourceDir">jsSourceDir</a>:</b></p>
<div>JavaScript source directory.</div>
<ul>
<li><b>Type</b>: <tt>java.lang.String</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>jsSourceDir</tt></li>
<li><b>Default</b>: <tt>js</tt></li>
</ul><hr>
<p><b><a name="jsSourceExcludes">jsSourceExcludes</a>:</b></p>
<div>JavaScript files to exclude. Specified as fileset patterns which
are relative to the JavaScript source directory.</div>
<ul>
<li><b>Type</b>: <tt>java.util.ArrayList</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>jsSourceExcludes</tt></li>
<li><b>Alias</b>: <tt>jsExcludes</tt></li>
</ul><hr>
<p><b><a name="jsSourceFiles">jsSourceFiles</a>:</b></p>
<div>JavaScript source file names list.</div>
<ul>
<li><b>Type</b>: <tt>java.util.ArrayList</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>jsSourceFiles</tt></li>
<li><b>Alias</b>: <tt>jsFiles</tt></li>
</ul><hr>
<p><b><a name="jsSourceIncludes">jsSourceIncludes</a>:</b></p>
<div>JavaScript files to include. Specified as fileset patterns which
are relative to the JavaScript source directory.</div>
<ul>
<li><b>Type</b>: <tt>java.util.ArrayList</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>jsSourceIncludes</tt></li>
<li><b>Alias</b>: <tt>jsIncludes</tt></li>
</ul><hr>
<p><b><a name="jsTargetDir">jsTargetDir</a>:</b></p>
<div>JavaScript target directory. Takes the same value as
<tt>jsSourceDir</tt> when empty.</div>
<ul>
<li><b>Type</b>: <tt>java.lang.String</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>jsTargetDir</tt></li>
</ul><hr>
<p><b><a name="linebreak">linebreak</a>:</b></p>
<div><b>Deprecated.</b> Use <tt>yuiLineBreak</tt> instead.</div>
<div>Some source control tools don't like files containing lines longer
than, say 8000 characters. The line-break option is used in that
case to split long lines after a specific column. It can also be
used to make the code more readable and easier to debug. Specify
<tt>0</tt> to get a line break after each semi-colon in
JavaScript, and after each rule in CSS. Specify <tt>-1</tt> to
disallow line breaks.</div>
<ul>
<li><b>Type</b>: <tt>java.lang.Integer</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>linebreak</tt></li>
</ul><hr>
<p><b><a name="munge">munge</a>:</b></p>
<div><b>Deprecated.</b> Use <tt>yuiNoMunge</tt> instead.</div>
<div>Obfuscate local symbols in addition to minification.</div>
<ul>
<li><b>Type</b>: <tt>java.lang.Boolean</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>munge</tt></li>
</ul><hr>
<p><b><a name="nosuffix">nosuffix</a>:</b></p>
<div>Do not append a suffix to the minified output file name,
independently of the value in the <tt>suffix</tt>
parameter.<br>
<b>Warning:</b> when both the options
<tt>nosuffix</tt> and <tt>skipMerge</tt> are set to
<tt>true</tt>, the plugin execution phase needs to be set to
<tt>package</tt>, otherwise the output files will be overridden
by the source files during the packaging.</div>
<ul>
<li><b>Type</b>: <tt>boolean</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>nosuffix</tt></li>
<li><b>Default</b>: <tt>false</tt></li>
</ul><hr>
<p><b><a name="preserveAllSemiColons">preserveAllSemiColons</a>:</b></p>
<div><b>Deprecated.</b> Use <tt>yuiPreserveSemicolons</tt> instead.</div>
<div>Preserve unnecessary semicolons (such as right before a '}'). This
option is useful when compressed code has to be run through JSLint.</div>
<ul>
<li><b>Type</b>: <tt>java.lang.Boolean</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>preserveAllSemiColons</tt></li>
</ul><hr>
<p><b><a name="skipMerge">skipMerge</a>:</b></p>
<div>Skip the merge step. Minification will be applied to each source
file individually.</div>
<ul>
<li><b>Type</b>: <tt>boolean</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>skipMerge</tt></li>
<li><b>Default</b>: <tt>false</tt></li>
</ul><hr>
<p><b><a name="skipMinify">skipMinify</a>:</b></p>
<div>Skip the minify step. Useful when merging files that are already
minified.</div>
<ul>
<li><b>Type</b>: <tt>boolean</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>skipMinify</tt></li>
<li><b>Default</b>: <tt>false</tt></li>
</ul><hr>
<p><b><a name="suffix">suffix</a>:</b></p>
<div>The output file name suffix.</div>
<ul>
<li><b>Type</b>: <tt>java.lang.String</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>suffix</tt></li>
<li><b>Default</b>: <tt>.min</tt></li>
</ul><hr>
<p><b><a name="verbose">verbose</a>:</b></p>
<div>Display additional informational messages and warnings.</div>
<ul>
<li><b>Type</b>: <tt>boolean</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>verbose</tt></li>
<li><b>Default</b>: <tt>false</tt></li>
</ul><hr>
<p><b><a name="webappSourceDir">webappSourceDir</a>:</b></p>
<div>Webapp source directory.</div>
<ul>
<li><b>Type</b>: <tt>java.lang.String</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>webappSourceDir</tt></li>
<li><b>Default</b>: <tt>${basedir}/src/main/webapp</tt></li>
</ul><hr>
<p><b><a name="webappTargetDir">webappTargetDir</a>:</b></p>
<div>Webapp target directory.</div>
<ul>
<li><b>Type</b>: <tt>java.lang.String</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>webappTargetDir</tt></li>
<li><b>Default</b>: <tt>${project.build.directory}/${project.build.finalName}</tt></li>
</ul><hr>
<p><b><a name="yuiDisableOptimizations">yuiDisableOptimizations</a>:</b></p>
<div>Disable all the built-in micro-optimizations.</div>
<ul>
<li><b>Type</b>: <tt>boolean</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>yuiDisableOptimizations</tt></li>
<li><b>Default</b>: <tt>false</tt></li>
</ul><hr>
<p><b><a name="yuiLineBreak">yuiLineBreak</a>:</b></p>
<div>Some source control tools don't like files containing lines longer
than, say 8000 characters. The line-break option is used in that
case to split long lines after a specific column. It can also be
used to make the code more readable and easier to debug. Specify
<tt>0</tt> to get a line break after each semi-colon in
JavaScript, and after each rule in CSS. Specify <tt>-1</tt> to
disallow line breaks.</div>
<ul>
<li><b>Type</b>: <tt>int</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>yuiLineBreak</tt></li>
<li><b>Default</b>: <tt>-1</tt></li>
</ul><hr>
<p><b><a name="yuiNoMunge">yuiNoMunge</a>:</b></p>
<div>Minify only. Do not obfuscate local symbols.</div>
<ul>
<li><b>Type</b>: <tt>boolean</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>yuiNoMunge</tt></li>
<li><b>Default</b>: <tt>false</tt></li>
</ul><hr>
<p><b><a name="yuiPreserveSemicolons">yuiPreserveSemicolons</a>:</b></p>
<div>Preserve unnecessary semicolons (such as right before a '}'). This
option is useful when compressed code has to be run through JSLint.</div>
<ul>
<li><b>Type</b>: <tt>boolean</tt></li>
<li><b>Required</b>: <tt>No</tt></li>
<li><b>User Property</b>: <tt>yuiPreserveSemicolons</tt></li>
<li><b>Default</b>: <tt>false</tt></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<hr>
<footer>
<div class="container-fluid">
<div class="row-fluid">
<p>Copyright © 2009–2016
<a href="http://samaxes.com/">Samuel Santos</a>.
All rights reserved.
</p>
</div>
</div>
</footer>
<iframe scrolling="no" frameborder="0" allowtransparency="true" src="./Minify Maven Plugin - minify_minify_files/widget_iframe.f6c7d667d236c62537eeaba62686136d.html" title="Twitter settings iframe" style="display: none;"></iframe><iframe name="oauth2relay605335451" id="oauth2relay605335451" src="./Minify Maven Plugin - minify_minify_files/postmessageRelay.html" tabindex="-1" aria-hidden="true" style="width: 1px; height: 1px; position: absolute; top: -100px;"></iframe><iframe id="rufous-sandbox" scrolling="no" frameborder="0" allowtransparency="true" allowfullscreen="true" style="position: absolute; visibility: hidden; display: none; width: 0px; height: 0px; padding: 0px; border: none;" title="Twitter analytics iframe" src="./Minify Maven Plugin - minify_minify_files/saved_resource.html"></iframe></body></html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ironman1987/compressDemo.git
git@gitee.com:ironman1987/compressDemo.git
ironman1987
compressDemo
compressDemo
master

搜索帮助