thanks. this works though I need to include a rhino dependency specifically.

于 2013/4/4 2:06, Lenny Primak 写道:
Here is something that may help you:
This loads a replacement of tapestry-yuicompressor that bundles in the 
yuicompressor library and rhino in such a way that it doesn't conflict with any 
other version of rhino you are using.
I.e. don't include stock tapestry-yuicompressor or yuicompressor from yahoo.
Excerpts of POM file:
<properties>
         <yuicompressor.version>2.4.7-cust-tap-5.3.6</yuicompressor.version>
     </properties>

         <dependency>
             <groupId>com.yahoo.platform.yui</groupId>
             <artifactId>yuicompressor</artifactId>
             <version>${yuicompressor.version}</version>
             <scope>${war-deps.scope}</scope>
         </dependency>

     <repositories>
         <repository>
             <id>flowlogix-maven2</id>
             <url>http://flowlogix-m2.googlecode.com/svn/trunk</url>
         </repository>
     </repositories>
</project>

On Apr 1, 2013, at 8:46 PM, Rural Hunter <ruralhun...@gmail.com> wrote:

Hi,

The URL is not available any more. Can somebody send me Luck's package kindly? 
Thanks in advance.

于 2012/4/23 19:37, Luke Wilson 写道:
On 23 Apr 2012, at 11:25, netdawg wrote:

Thanks, Luke.  Yes, please...
I've uploaded the repackaged version here: 
http://viscri.co.uk/labs/tapestry/yuicompressor-rhino-bugfix-5.0.jar

net.dawg  at yahoo

Did I have to install into maven repository (would appreciate version etc)?
And/Or do I use it to compress?
     <groupId>yuicompressorbugfix</groupId>
     <artifactId>yuicompressor-rhino-bugfix</artifactId>
     <version>5.0</version>

If you don't run your own version of nexus, you'll have to install it on the 
machine that you want to build on. This is the command you need I think: 
http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html

You'll also need to exclude the yuicompressor version that tapestry pulls in:

    <dependency>
             <groupId>org.apache.tapestry</groupId>
             <artifactId>tapestry-yuicompressor</artifactId>
             <version>5.3.2</version>
             <exclusions>
                 <exclusion>
                       <groupId>com.yahoo.platform.yui</groupId>
                       <artifactId>yuicompressor</artifactId>
                 </exclusion>
             </exclusions>
         </dependency>

This should work,

Luke
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to