This doesn't appear to scale if you have both dev, test, prod environments
and multiple app server environments e.g. jboss, tomcat, oc4j, weblogic.

I'd like to be able to do:   mvn -Pdev,tomcat   or mvn -Pdev,oc4j without
having to set up m * n resource folders.

___________________________

 

David Beckedorff

Senior Developer

CellExchange, Inc.

[EMAIL PROTECTED]

Office: (617)528-2196

Cell:   (781)820-0567

 


-----Original Message-----
From: Kees de Kooter [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 14, 2006 6:06 AM
To: Maven Users List
Subject: Re: overwrite when changing profile

Anyway, this is my workaround:

  <build>
    <outputDirectory>target/${profile.name}</outputDirectory>

Every profile is built in its own directory.

---------------------------------------------------------------------
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