[gatein-dev] Packaging / Compiltation hints
Arnaud HERITIER
aheritier at gmail.com
Thu Oct 8 09:54:55 EDT 2009
Also with maven 2.1+, from the root directory of the project you can call :mvn
install -Ppkg-tomcat -amd
-pl org.exoplatform.portal:exo.portal.component.common
It will rebuild the component/common module and all others modules depending
on it
Less fast but more secured.
To do like Dimitri in one long command, from the root directory of gatein :
mvn install -Ppkg-tomcat
-pl org.exoplatform.portal:exo.portal.component.common,org.exoplatform.portal:exo.portal.packaging
or
mvn install -Ppkg-tomcat -pl component/common,packaging
My 2 sec of Maven best practices.
Arnaud
On Thu, Oct 8, 2009 at 11:43 AM, Dimitri BAELI <dbaeli at gmail.com> wrote:
> Hello,
> Just to clarify the compilation/packaging practice.
> If you work on a component like gatein\portal\trunk\component\common\
> To compile and package again the whole server, you just have to do :
> * mvn install in the component
> * mvn install -Ppkg-tomcat in packaging
> We'll work later on for improving the hot deployment and simplier
> packaging (like not deleting the server install and only redeploy), but this
> won't be done this week.
> Dimitri BAELI - eXo Platform SAS
>
> _______________________________________________
> gatein-dev mailing list
> gatein-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/gatein-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/gatein-dev/attachments/20091008/d9afd617/attachment.html
More information about the gatein-dev
mailing list