Re: Explicit Profile Activation doesn't work for me

2008-09-03 Thread Danny
Good observation, but that's not it. I had to edit the profile.xml pasted here to make it easier to follow. Besides, 'mvn validate' would have caught that. Any other ideas? -- View this message in context:

Re: Explicit Profile Activation doesn't work for me

2008-09-03 Thread Carlos Alonso
Hi Danny. I can guess that what you're missing is profile idprof1/id activation activeByDefaultfalse/activeByDefault /activation properties . . . /profile So, it's up to you to specify from command line for example, the active profile

Re: Explicit Profile Activation doesn't work for me

2008-09-03 Thread Danny
Yes, I thought about that last night, but according to the Maven 2 schema, 'false' is the default value for 'activeByDefault'. But then again, you might be on to something, since Maven apparently thinks that all three profiles are active (according to 'mvn help:active-profiles'), which seems to

Re: Explicit Profile Activation doesn't work for me

2008-09-03 Thread Danny
Carlos, the profiles are indeed active by default, which contradicts the Maven POM schema(!) Perhaps there's another schema that applies to external profiles such as in my case since I was using profiles.xml (or I'm not interpreting the schema correctly). Oh well, it doesn't really matter now.

Explicit Profile Activation doesn't work for me

2008-09-02 Thread Danny
Hi! It seems that the profile activation isn't working for me, even though I explicitly tell Maven to activate it with the -P option. Background: I have an external profile file (profiles.xml) that has some properties in each profile section: profiles profile idprof1/id properties

RE: Explicit Profile Activation doesn't work for me

2008-09-02 Thread Martin Gainty
distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. Date: Tue, 2 Sep 2008 12:51:30 -0700 From: [EMAIL PROTECTED] To: users@maven.apache.org Subject: Explicit Profile Activation doesn't work for me Hi