Java Mailing List Archive

http://www.java2.5341.com/

Home » issues.maven »

[jira] Created: (MNG-3803) System properties not working any more
with Maven 2.1

Jan Bartel (JIRA)

2008-10-27

Replies: Find Java Web Hosting

Author LoginPost Reply
System properties not working any more with Maven 2.1
-----------------------------------------------------

          Key: MNG-3803
          URL: http://jira.codehaus.org/browse/MNG-3803
        Project: Maven 2
      Issue Type: Bug
       Reporter: Amélie Deltour
       Priority: Minor


Passing system properties to surefire-plugin used to work fine with Maven 2.0.9:

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

Now I use Maven 2.1-SNAPSHOT as Embedder launched with m2eclipse.
The properties are not defined any more.

In the logs with Maven 2.0.9 in debug mode I see:
[DEBUG] Setting system property [my.property]=[my.value]
This line is not present in the logs with Maven 2.1.

This compatibility issue is quite annoying...

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


©2008 java2.5341.com - Jax Systems, LLC, U.S.A.