Hi,

I'll be presenting m2 at JavaZone 2005 (this coming Wednesday) and I have
some slides on settings and profiles. I'd like to ensure I do not present
false information... Could you help me in validating the following?

* Here's a slide I'd like to present that shows how to set up an
environment-dependent property: 
http://people.apache.org/~vmassol/m2-env-dependent-property-cargo.jpg

- Is that correct?

- Should the file put in samples/java be named profiles.xml instead of
settings.xml? If so, how do I tell m2 to activate a profile by default (I'm
currently using the <activeProfile> tag which belongs to settings.xml)?

- ATM I don't think that settings.xml file located in project directories
are read. Is that going to be supported in the future? If not where do I put
project-specific environment-dependent stuff?

BTW I have found that default profile in the pom is not working and I have
opened a JIRA issue for this: http://jira.codehaus.org/browse/MNG-835

* Why do we have both profiles.xml and settings.xml files? When to use one
over the another?

* Does someone knows what's already implemented from
http://docs.codehaus.org/display/MAVEN/Build+Profiles and what's left to do?

Thanks for your help!
-Vincent


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

Reply via email to