Menu

double WAR build

2009-06-27
2013-04-22
  • Adam Monsen

    Adam Monsen - 2009-06-27

    The MobilVox Maven JavaScript Plugin (maven-js-plugin) appears to cause our WAR to be built twice. Is this expected? Our war is rather large (60MB)--is there a way to configure maven-js-plugin to only create the WAR once?

    I haven't yet looked over the source.

    Here's our POM: http://tinyurl.com/qu97ew

     
    • A. Altemus

      A. Altemus - 2009-06-30

      Currently it uses the WAR that maven builds to find the JavaScript to compress.  Once it compresses it it builds the WAR again with the compressed JavaScript.  It does this so it can leave all development files untouched and only works in the build output directory. There are some planned updates coming to the plugin, I can look into possibly changing the implementation so the double WAR is not necessary.

       
    • A. Altemus

      A. Altemus - 2009-06-30

      Also, I forgot to mention you can add -Djs.compress.skip=true to the arguments for quicker builds.  We do this at MobilVox for developer builds and then use the compression on testing/release builds.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.