Hi Mick,
thanks for your comment, but maybe my question was not clear enough. It
seems that in the settings.xml, you comment the profile that you don't
want to use according to the project that you are building. My
requirement is a bit different.
In my settings.xml I have profileA and profileB. ProfileA is the active one.
Now I would like that project1 uses profileA and project2 uses profileB
but I don't want to change my settings.xml anytime. I need something to
say in the pom file of the project2 that the profile to use is profileB.
Ste
Mick Knutson wrote:
Yes.
I add this at the bottom of my settings.xml:
<activeProfiles>
<!--======= Environment Specific
=================================-->
<!--<activeProfile>local</activeProfile>-->
<activeProfile>local-baselogic</activeProfile>
<!--<activeProfile>dev</activeProfile>-->
<!--<activeProfile>prod</activeProfile>-->
<!--======= Choose one of container
===============================-->
<activeProfile>tomcat5.5</activeProfile>
</activeProfiles>
On Sat, May 31, 2008 at 7:48 AM, Stefano Nichele <[EMAIL PROTECTED]>
wrote:
Hi All,
in my setting.xml I have two profiles for two project categories. Is it
possible to select the profile to use in the pom.xml file so that for any
project there is no way to use the wrong profile ?
Thanks in advance
ste
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Stefano Nichele
Funambol Servers Tech Lead
funambol :: mobile open source :: http://www.funambol.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]