I dont work on ear but i have similar project where starting out with
using profiles like yours, and ended up to split it into multiple
projects

   parent
       pom.xml  <--- by default to build all modules but has profile
to build specific modules
       src <-- common source
       child-1
           pom.xml
       child-2
           pom.xml

the bad thing is child's poms are very similar to each other

-D

On Sat, Nov 15, 2008 at 8:43 AM,  <[EMAIL PROTECTED]> wrote:
>
> Hi - I've got an usecase which I can't really figure out how to do:
>
> I have an ear project - w/o any profiles it will be a vanilla version not
> targeted for any specific appserverer.
>
> In this EAR I have two different profiles - for weblogic and was.
>
> It's part of a multimodule project.
>
> What I have thought of:
> -release the whole multiproject and deploy it to the repository
> -check out this tag, and run mvn clean deploy on the ear project twice -
> each with different profiles, which set different classifiers.
>
> This does not seem to be possible? Anybody got a similar setup or any
> suggestions for a solution?
>
> David
>
> --
> David J. M. Karlsen - +47 90 68 22 43
> http://www.davidkarlsen.com
> http://mp3.davidkarlsen.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to