geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rex Wang <>
Subject Re: The default profile in framework/modules/pom.xml
Date Wed, 04 Aug 2010 06:17:03 GMT
(This reply is not sent to dev@geronimo)
Hi Jarck,
Thanks for the answers,
I am working on the WAS CE build. In the build script, each time sever build
will clean the m2 repo and make a clean build. So it uses the 2 profiles as
        <mvn-build name="server" mvngoal="${wasce.mvngoal}"
        <mvn-build name="server" mvngoal="${wasce.mvngoal}"
which are mutual complementary to avoid the overlap and save time.
So we need the assemble profile.

Refactor the pom and add a "assemble" profile?


2010/8/4 Jarek Gawor <>

> On Wed, Aug 4, 2010 at 12:11 AM, Rex Wang <> wrote:
> > There is a default profile in framework/modules/pom.xml.
> > Could anyone give me any clue why we need it?
> > It causes problems when I do my custom build with the following cmd:
> > mvn install -Dstage=bootstrap
> > mvn install -Dstage=assemble
> What are you trying to do? -Dstage=bootstrap builds stuff only needed
> for car-maven-plugin. It doesn't build the entire framework. But
> -Dstage=assemble looks like it wants framework to be entirely built.
> > The modules in this profile won't be built.
> > Should we remove the profile?
> The modules listed in /project/modules are always built. They
> represent the minimal/required set of modules for car-maven-plugin.
> The modules listed in the default profile are combined with
> /project/modules and represent all framework modules. By default we
> want to build all modules and when -Dstage=bootstrap is enabled we
> only want to build the minimal set.
> So yes, the default profile is needed. But again, I'm not sure what
> you are trying to do. And there might be other ways we can refactor
> the pom that will work better. Actually, maybe we want to remove the
> stage-assemble profile in root pom. It seems out-of-date and not
> really useful all that much.
> Jarek

Lei Wang (Rex)
rwonly AT

View raw message