I believe in settings.xml you need to give your profile an <id>myProfile</id> then add
<activeProfiles> <activeProfile>myProfile</activeProfile> </activeProfiles> at the end of settings.xml On 25/11/05, David Jackman <[EMAIL PROTECTED]> wrote: > > This is good to know, but I still don't know why I was getting a > NullPointerException when trying to refer to the property. > > > -----Original Message----- > From: Jörg Schaible [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 24, 2005 12:21 AM > To: Maven Users List > Subject: RE: [m2] How to set a Mojo property from settings.xml > > Hi David, > > David Jackman wrote on Wednesday, November 23, 2005 6:12 PM: > > > <activeByDefault>true</activeByDefault> > > This does currently not work, see http://jira.codehaus.org/browse/MNG-1586 > > - Jörg > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
