Still no luck for me, could this be multiproject related? When I echo the property in my master project, the property is set fine, but once the call goes into a subproject the property is lost. The property stays set from one project to the next if it is passed from the command line.
> -----Original Message----- > From: Oliver N�lle [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 02, 2004 10:44 AM > To: Maven Users List > Subject: Re: setting properties > > > Any pointers on how to set properties from within my maven.xml? I've > got > a > > short custom goal to set properties, then call install: > > > > <goal name="all:install"> > > <j:set var="maven.test.skip" value="true" /> > > <attainGoal name="multiproject:install-snapshot" /> > > </goal> > > I just ran into the same problem: setting a property from maven.xml before > invoking a plugin's goal (jdiff). > > I also have problems understanding the relations between jelly properties, > plugin contexts and ant properties. > However, for me the solution was to use <ant:property> instead of <j:set> > like this: > > > <ant:property name="maven.jdiff.old.tag" value="v0_3"/> > <attainGoal name="jdiff"/> > > > Maybe this helps. > > > Oliver > > > --------------------------------------------------------------------- > 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]
