Amélie,

You might be hitting into incompatibilities with Maven version you are using in command line and one used in Eclipse by default (you may want to report that to Maven 3.0 issue tracker).

To work around this, you can set default Maven runtime to be the same as one used in the command line. See Window / Preferences... / Maven / Installations

If that does not help, please open jira issue and provide test project that would allow to reproduce this.

 Thanks

 Eugene


Amélie wrote:
Hi,

I have configured system properties for surefire plugin:

      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <systemProperties>
            <property>
              <name>my.property</name>
              <value>my.value</value>
            </property>
          </systemProperties>
        </configuration>
      </plugin>

When I launch mvn surefire-report:report (or mvn test) from command-line it
works fine.
When I launch the same goal with the same pom.xml from Eclipse with
m2eclipse launcher, the value is not defined (null).
Any idea?
Thanks,

Amélie


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to