Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>From what I read, you don't configure the place from where js file should be checked or compressed (as you don't use the default configuration). You only configure the aggregation.</p> <p>For quicker response used the <a href="https://github.com/davidB/yuicompressor-maven-plugin/issues" rel="nofollow">issue tracker of yuicompressor-maven-plugin</a></p> <p>The solution (copy/paste from <a href="http://github.com/davidB/yuicompressor-maven-plugin/wiki/FAQ" rel="nofollow">project FAQ</a> )</p> <p>Because :</p> <ul> <li><p>you set <code>&lt;nosuffix&gt;true&lt;/nosuffix&gt;</code></p></li> <li><p>your script in under src/main/webapp and maven-war-plugin copy every files from src/main/webapp to target (regardless timestamp,...) and make the war (in the same execution).</p></li> </ul> <p>Workarounds :</p> <ul> <li><p>move your script dir out from webapp</p> <pre><code>&lt;plugin&gt; &lt;groupId&gt;@project.groupId@&lt;/groupId&gt; &lt;artifactId&gt;yuicompressor-maven-plugin&lt;/artifactId&gt; ... &lt;configuration&gt; &lt;!-- default ${project.build.sourceDirectory}/../js == src/main/js --&gt; &lt;sourceDirectory&gt;src/main/javascript&lt;/sourceDirectory&gt; </code></pre></li> <li><p>OR exclude "scripts" from the list of files to copy</p> <pre><code>&lt;!-- adapted from https://github.com/davidB/yuicompressor-maven-plugin/blob/master/src/it/demo01/pom.xml --&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt; &lt;configuration&gt; &lt;warSourceExcludes&gt;scripts/**&lt;/warSourceExcludes&gt; &lt;/configuration&gt; &lt;/plugin&gt; </code></pre></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload