The current version is buggy. It does not display profiles that are
defined in the parent pom.

Stéphane

On 1/27/07, Eric Redmond <[EMAIL PROTECTED]> wrote:
Profiles should be activated in this way.

Try: "mvn help:active-profiles"
See if your profile is active.

Eric

On 1/26/07, David Jackman <[EMAIL PROTECTED]> wrote:
>
> According to the documentation at http://maven.apache.org/settings.html:
>     "Any profile id defined as an activeProfile will be active,
> reguardless of any environment settings. If no matching profile is found
> nothing will happen. For example, if env-test is an activeProfile, a
> profile in a pom.xml (or profile.xml with a corrosponding id will be
> active. If no such profile is found then execution will continue as
> normal."
>
> However, I cannot get Maven to behave this way.  Should profiles defined
> in the pom be able to be activated in this way, or are the docs
> incorrect?
>
> ..David..
>
>
>
> FASTforward '07
> The Industry's Largest Business &
> Technology Conference Focused on Search
> February 7th - 9th, San Diego, CA
> www.fastforward07.com
>
>


--
Eric Redmond
http://codehaus.org/~eredmond



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

Reply via email to