On 9/30/05, jan_bar <[EMAIL PROTECTED]> wrote:
> Hi,
>
> how are variables handled in multiproject?
Each project has it's own set of variables.
> When I set a variable and call goals in subprojects, the variable seems to
> be ignored:
>
> <goal name="gc:test-cactus">
> <!-- skip JUnit tests -->
> <j:set var="maven.test.skip" value="true" />
> <j:set var="cactus.test.skip" value="false" />
>
> <maven:reactor
> basedir="."
> banner="Cactus testing project ...."
> includes="*/*/project.xml"
> excludes="./project.xml"
> postProcessing="false"
> goals="cactus"
> ignoreFailures="${maven.multiproject.ignoreFailures}"/>
> </goal>
Do the subprojects extend the project where this is being set up?
> Inside the subprojects the maven.test.skip is false. (There are no
> properties files with maven.test.skip). Why?
As the subprojects don't provide a value for maven.test.skip, the
value from the test plugin is used.
If you really want to override maven.test.skip for all projects, set
the system property, using:
${systemScope.put('maven.test.skip', 'true')}
> BTW, how are property files evaluated with respect to multiproject?
> Properties in subprojects override properties in root project? And what
> about "default" values that are stored in plugin properties?
>
> Is there any documentation about this topic?
Does http://maven.apache.org/reference/properties.html help?
> Thank you, Jan
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
http://www.multitask.com.au/people/dion/
"You are going to let the fear of poverty govern your life and your
reward will be that you will eat, but you will not live." - George
Bernard Shaw
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]