On Sun, Mar 27, 2011 at 9:03 PM, Sanjiva Weerawarana <[email protected]>wrote:

> The install command triggers the deployment into the local repo- is that a
> necessary step?


It depends on the situation your in.

For example,
- your fixing an issue & if the next step is building the product to get
that change included, 'install' phase is required.
- But, if one is copying the resultant jar file manually, using 'package'
phase is quite sufficient.
- If the chance is significant & running integration tests is a must, then
'package' phase is not enough.

So, it comes down to understanding what maven life cycle[1] is doing &
choosing the appropriate phase based on the situation your in.

/sumedha

[1]
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html


>
> Sanjiva.
> --
> Sanjiva Weerawarana, Ph.D.
> Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
> email: [email protected]; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1
> 650 265 8311
> blog: http://sanjiva.weerawarana.org/
>
> Lean . Enterprise . Middleware
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to