Yes, if that's what you wanted. It's no different to a mojo in terms of 
execution, I'm just suggesting using an existing mojo that can get you started 
more quickly.

On 11/04/2011, at 10:43 PM, Anadi Misra wrote:

> Hi! 
> 
> you mean in every build In case we are running on CI ?
> 
> BR/
> Anadi Misra.
> 
> On Mon, Apr 11, 2011 at 5:22 PM, Brett Porter <br...@apache.org> wrote:
> I think this would be better as an enforcer rule - and could be very quickly 
> implemented using evaluateBeanshell. Existing scripting plugins (groovy, 
> jruby, etc.) could also do this in very few lines without a custom plugin.
> 
> - Brett
> 
> On 11/04/2011, at 6:50 PM, Anadi Misra wrote:
> 
>> Hi! 
>> 
>> wanted to know your thoughts on having a plugin that checks the size of a 
>> built artifact in case of JAR, or the exploded/built artifact in case of war 
>> archives. The reason is quite a few hosting services providers put a price 
>> on size of WAR archives being uploaded, tracking the war file size for 
>> failure of build if it becomes too large might be a good idea for such 
>> projects. We have added this plugin to our build life-cycle since in our 
>> case it is very expensive to increase the allowed exploded size from 20MB to 
>> 25MB by our CDN/Cloud computing provider. 
>> 
>> Please do let me know your comments / feedback.
>> 
>> BR/
>> Anadi Misra.
> 
> --
> Brett Porter
> br...@apache.org
> http://brettporter.wordpress.com/
> http://au.linkedin.com/in/brettporter
> 
> 
> 
> 
> 

--
Brett Porter
br...@apache.org
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter




Reply via email to