hello,
seems like defining system properties within the configuration of an
execution block for the surefire plugin is not propertly supported.

Consider this:

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        
        <executions>
                <execution>
                        <!-- TESTS WITH OPTIMIZATION LEVEL = NONE -->
                        <id>no-optimization</id>
                        <goals>
                                <goal>test</goal>
                        </goals>
                        <phase>test</phase>
                        <configuration>
                                <systemProperties>
                                        <property>
                                                <name>fractal.provider</name>
                                                <value>
                                                        
org.objectweb.fractal.julia.Julia
                                                </value>
                                        </property>
                                        <property>
                                                <name>julia.loader</name>
                                                <value>
                                                        
org.objectweb.fractal.julia.loader.DynamicLoader
                                                </value>
                                        </property>
                                        <property>
                                                
<name>julia.loader.gen.dir</name>
                                                <value>
                                                        
target/test-classes/generated
                                                </value>
                                        </property>
                                        <property>
                                                <name>julia.config</name>
                                                <value>julia.cfg</value>
                                        </property>
                                </systemProperties>
                        </configuration>
                </execution>

</plugin>

with the above configuration, tests fail. If I move the configuration
out of the execution element (still within the plugin), property are
correctly set, and tests pass. Since i need to configure more than 1
(say, 4) configurations for the same suite of tests, i wonder wheter
this is a bug, or a misuse from mine.

Ideas ?

Thanks,
Valerio

--
http://jroller.com/page/vschiavoni

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

Reply via email to