On Sun, 2005-09-11 at 12:54 +0200, Vincent Massol wrote: > 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?
Here's a little piece of doco that John wrote that might be of help right now: http://maven.apache.org/maven2/profiles-overview.html > Thanks for your help! > -Vincent > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org happiness is like a butterfly: the more you chase it, the more it will elude you, but if you turn your attention to other things, it will come and sit softly on your shoulder ... -- Thoreau --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]