You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason Dillon (JIRA)" <ji...@codehaus.org> on 2006/03/15 22:55:29 UTC

[jira] Created: (MSUREFIRE-79) Docs for systemProperties on website are wrong

Docs for systemProperties on website are wrong
----------------------------------------------

         Key: MSUREFIRE-79
         URL: http://jira.codehaus.org/browse/MSUREFIRE-79
     Project: Maven 2.x Surefire Plugin
        Type: Bug

    Reporter: Jason Dillon
    Priority: Critical


Site says:

{code}
<project>
  ...
  <build>
    ...
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-surefire-plugin</artifactId>
      <configuration>
        <systemProperties>
          <property>
            <name>propertyName</name>
            <value>propertyValue</value>
          </property>
        </systemProperties>
      </configuration>
    </plugin>
    ...
  </build>
  ...
</project>
{code}

Should be:

{code}
<project>
  ...
  <build>
    ...
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-surefire-plugin</artifactId>
      <configuration>
        <systemProperties>
          <propertyName>propertyValue</propertyName>
        </systemProperties>
      </configuration>
    </plugin>
    ...
  </build>
  ...
</project>
{code}

-- 
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


Re: [jira] Updated: (MSUREFIRE-79) Docs for systemProperties on website are wrong

Posted by Brett Porter <br...@apache.org>.
The "correct" version is the exploded form (for backwards
compatibility). I agree the flat version is preferred, but that's not
how it is in the current release.

- Brett

Jacek Laskowski wrote:
> Hi,
> 
> Could anyone explain what version is really correct. I took a look at
> PropertiesConverter from
> trunk/plexus-containers/plexus-container-default
> (http://tinyurl.com/r6rsw) and it seems systemProperties should be
> accompanied with property subelements. I've just had to change it in
> Geronimo right after it stopped working with the later (I'm pretty
> sure it's because I'm playing with maven and plexus sources and
> possibly I've got newer versions of them).
> 
> It leads to the question what's responsible for parsing the
> configuration element? How to configure it so that I won't cause any
> trouble for others.
> 
> Jacek
> 
> --
> Jacek Laskowski
> http://www.laskowski.org.pl
> 
> 2006/3/18, Brett Porter (JIRA) <ji...@codehaus.org>:
>>      [ http://jira.codehaus.org/browse/MSUREFIRE-79?page=all ]
>>
>> Brett Porter updated MSUREFIRE-79:
>> ----------------------------------
>>
>>     Fix Version: 2.2
>>
>>> Docs for systemProperties on website are wrong
>>> ----------------------------------------------
>>>
>>>          Key: MSUREFIRE-79
>>>          URL: http://jira.codehaus.org/browse/MSUREFIRE-79
>>>      Project: Maven 2.x Surefire Plugin
>>>         Type: Bug
>>>     Reporter: Jason Dillon
>>>     Priority: Critical
>>>      Fix For: 2.2
>>>
>>> Site says:
>>> {code}
>>> <project>
>>>   ...
>>>   <build>
>>>     ...
>>>     <plugin>
>>>       <groupId>org.apache.maven.plugins</groupId>
>>>       <artifactId>maven-surefire-plugin</artifactId>
>>>       <configuration>
>>>         <systemProperties>
>>>           <property>
>>>             <name>propertyName</name>
>>>             <value>propertyValue</value>
>>>           </property>
>>>         </systemProperties>
>>>       </configuration>
>>>     </plugin>
>>>     ...
>>>   </build>
>>>   ...
>>> </project>
>>> {code}
>>> Should be:
>>> {code}
>>> <project>
>>>   ...
>>>   <build>
>>>     ...
>>>     <plugin>
>>>       <groupId>org.apache.maven.plugins</groupId>
>>>       <artifactId>maven-surefire-plugin</artifactId>
>>>       <configuration>
>>>         <systemProperties>
>>>           <propertyName>propertyValue</propertyName>
>>>         </systemProperties>
>>>       </configuration>
>>>     </plugin>
>>>     ...
>>>   </build>
>>>   ...
>>> </project>
>>> {code}
>> --
>> 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
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [jira] Updated: (MSUREFIRE-79) Docs for systemProperties on website are wrong

Posted by Jacek Laskowski <el...@gmail.com>.
Hi,

Could anyone explain what version is really correct. I took a look at
PropertiesConverter from
trunk/plexus-containers/plexus-container-default
(http://tinyurl.com/r6rsw) and it seems systemProperties should be
accompanied with property subelements. I've just had to change it in
Geronimo right after it stopped working with the later (I'm pretty
sure it's because I'm playing with maven and plexus sources and
possibly I've got newer versions of them).

It leads to the question what's responsible for parsing the
configuration element? How to configure it so that I won't cause any
trouble for others.

Jacek

--
Jacek Laskowski
http://www.laskowski.org.pl

2006/3/18, Brett Porter (JIRA) <ji...@codehaus.org>:
>      [ http://jira.codehaus.org/browse/MSUREFIRE-79?page=all ]
>
> Brett Porter updated MSUREFIRE-79:
> ----------------------------------
>
>     Fix Version: 2.2
>
> > Docs for systemProperties on website are wrong
> > ----------------------------------------------
> >
> >          Key: MSUREFIRE-79
> >          URL: http://jira.codehaus.org/browse/MSUREFIRE-79
> >      Project: Maven 2.x Surefire Plugin
> >         Type: Bug
>
> >     Reporter: Jason Dillon
> >     Priority: Critical
> >      Fix For: 2.2
>
> >
> >
> > Site says:
> > {code}
> > <project>
> >   ...
> >   <build>
> >     ...
> >     <plugin>
> >       <groupId>org.apache.maven.plugins</groupId>
> >       <artifactId>maven-surefire-plugin</artifactId>
> >       <configuration>
> >         <systemProperties>
> >           <property>
> >             <name>propertyName</name>
> >             <value>propertyValue</value>
> >           </property>
> >         </systemProperties>
> >       </configuration>
> >     </plugin>
> >     ...
> >   </build>
> >   ...
> > </project>
> > {code}
> > Should be:
> > {code}
> > <project>
> >   ...
> >   <build>
> >     ...
> >     <plugin>
> >       <groupId>org.apache.maven.plugins</groupId>
> >       <artifactId>maven-surefire-plugin</artifactId>
> >       <configuration>
> >         <systemProperties>
> >           <propertyName>propertyValue</propertyName>
> >         </systemProperties>
> >       </configuration>
> >     </plugin>
> >     ...
> >   </build>
> >   ...
> > </project>
> > {code}
>
> --
> 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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MSUREFIRE-79) Docs for systemProperties on website are wrong

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSUREFIRE-79?page=all ]

Brett Porter updated MSUREFIRE-79:
----------------------------------

    Fix Version: 2.2

> Docs for systemProperties on website are wrong
> ----------------------------------------------
>
>          Key: MSUREFIRE-79
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-79
>      Project: Maven 2.x Surefire Plugin
>         Type: Bug

>     Reporter: Jason Dillon
>     Priority: Critical
>      Fix For: 2.2

>
>
> Site says:
> {code}
> <project>
>   ...
>   <build>
>     ...
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <property>
>             <name>propertyName</name>
>             <value>propertyValue</value>
>           </property>
>         </systemProperties>
>       </configuration>
>     </plugin>
>     ...
>   </build>
>   ...
> </project>
> {code}
> Should be:
> {code}
> <project>
>   ...
>   <build>
>     ...
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <propertyName>propertyValue</propertyName>
>         </systemProperties>
>       </configuration>
>     </plugin>
>     ...
>   </build>
>   ...
> </project>
> {code}

-- 
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


[jira] Commented: (MSUREFIRE-79) Docs for systemProperties on website are wrong

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSUREFIRE-79?page=comments#action_61478 ] 

Dan Tran commented on MSUREFIRE-79:
-----------------------------------

maven core plugins now has new snapshot repo, please check MSUREFIRE-80

> Docs for systemProperties on website are wrong
> ----------------------------------------------
>
>          Key: MSUREFIRE-79
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-79
>      Project: Maven 2.x Surefire Plugin
>         Type: Bug

>     Reporter: Jason Dillon
>     Priority: Critical
>      Fix For: 2.2

>
>
> Site says:
> {code}
> <project>
>   ...
>   <build>
>     ...
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <property>
>             <name>propertyName</name>
>             <value>propertyValue</value>
>           </property>
>         </systemProperties>
>       </configuration>
>     </plugin>
>     ...
>   </build>
>   ...
> </project>
> {code}
> Should be:
> {code}
> <project>
>   ...
>   <build>
>     ...
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <propertyName>propertyValue</propertyName>
>         </systemProperties>
>       </configuration>
>     </plugin>
>     ...
>   </build>
>   ...
> </project>
> {code}

-- 
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


[jira] Closed: (MSUREFIRE-79) Docs for systemProperties on website are wrong

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSUREFIRE-79?page=all ]
     
Brett Porter closed MSUREFIRE-79:
---------------------------------

      Assign To: Brett Porter
     Resolution: Won't Fix
    Fix Version:     (was: 2.2)

the web site is correct - expanded properties are what are valid in 2.1.2 and 2.1.3 (one snapshot was deployed with the "incorrect" version)

> Docs for systemProperties on website are wrong
> ----------------------------------------------
>
>          Key: MSUREFIRE-79
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-79
>      Project: Maven 2.x Surefire Plugin
>         Type: Bug

>     Reporter: Jason Dillon
>     Assignee: Brett Porter
>     Priority: Critical

>
>
> Site says:
> {code}
> <project>
>   ...
>   <build>
>     ...
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <property>
>             <name>propertyName</name>
>             <value>propertyValue</value>
>           </property>
>         </systemProperties>
>       </configuration>
>     </plugin>
>     ...
>   </build>
>   ...
> </project>
> {code}
> Should be:
> {code}
> <project>
>   ...
>   <build>
>     ...
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <propertyName>propertyValue</propertyName>
>         </systemProperties>
>       </configuration>
>     </plugin>
>     ...
>   </build>
>   ...
> </project>
> {code}

-- 
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


[jira] Commented: (MSUREFIRE-79) Docs for systemProperties on website are wrong

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSUREFIRE-79?page=comments#action_61186 ] 

Dan Tran commented on MSUREFIRE-79:
-----------------------------------

what version of sureplugin plugin do you use?

> Docs for systemProperties on website are wrong
> ----------------------------------------------
>
>          Key: MSUREFIRE-79
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-79
>      Project: Maven 2.x Surefire Plugin
>         Type: Bug

>     Reporter: Jason Dillon
>     Priority: Critical

>
>
> Site says:
> {code}
> <project>
>   ...
>   <build>
>     ...
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <property>
>             <name>propertyName</name>
>             <value>propertyValue</value>
>           </property>
>         </systemProperties>
>       </configuration>
>     </plugin>
>     ...
>   </build>
>   ...
> </project>
> {code}
> Should be:
> {code}
> <project>
>   ...
>   <build>
>     ...
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <propertyName>propertyValue</propertyName>
>         </systemProperties>
>       </configuration>
>     </plugin>
>     ...
>   </build>
>   ...
> </project>
> {code}

-- 
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


[jira] Commented: (MSUREFIRE-79) Docs for systemProperties on website are wrong

Posted by "Jason Dillon (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSUREFIRE-79?page=comments#action_61187 ] 

Jason Dillon commented on MSUREFIRE-79:
---------------------------------------

I'm not specifying a version in the pom, literally have:

{code}
<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <systemProperties>
                        <dbunit.datatype.factory>${dbunit.datatype.factory}</dbunit.datatype.factory>
                        <dbunit.connection.schema>${jdbc.schema}</dbunit.connection.schema>
                    </systemProperties>
                </configuration>
            </plugin>
{code}

Local repository has:

 * 2.1.2
 * 2.1.3-20060228.012944-10
 * 2.1.3-SNAPSHOT

> Docs for systemProperties on website are wrong
> ----------------------------------------------
>
>          Key: MSUREFIRE-79
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-79
>      Project: Maven 2.x Surefire Plugin
>         Type: Bug

>     Reporter: Jason Dillon
>     Priority: Critical

>
>
> Site says:
> {code}
> <project>
>   ...
>   <build>
>     ...
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <property>
>             <name>propertyName</name>
>             <value>propertyValue</value>
>           </property>
>         </systemProperties>
>       </configuration>
>     </plugin>
>     ...
>   </build>
>   ...
> </project>
> {code}
> Should be:
> {code}
> <project>
>   ...
>   <build>
>     ...
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <propertyName>propertyValue</propertyName>
>         </systemProperties>
>       </configuration>
>     </plugin>
>     ...
>   </build>
>   ...
> </project>
> {code}

-- 
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


[jira] Moved: (SUREFIRE-217) Docs for systemProperties on website are wrong

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SUREFIRE-217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter moved MSUREFIRE-79 to SUREFIRE-217:
------------------------------------------------

        Key: SUREFIRE-217  (was: MSUREFIRE-79)
    Project: Maven Surefire  (was: Maven 2.x Surefire Plugin)

> Docs for systemProperties on website are wrong
> ----------------------------------------------
>
>                 Key: SUREFIRE-217
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-217
>             Project: Maven Surefire
>          Issue Type: Bug
>            Reporter: Jason Dillon
>         Assigned To: Brett Porter
>            Priority: Critical
>
> Site says:
> {code}
> <project>
>   ...
>   <build>
>     ...
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <property>
>             <name>propertyName</name>
>             <value>propertyValue</value>
>           </property>
>         </systemProperties>
>       </configuration>
>     </plugin>
>     ...
>   </build>
>   ...
> </project>
> {code}
> Should be:
> {code}
> <project>
>   ...
>   <build>
>     ...
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <propertyName>propertyValue</propertyName>
>         </systemProperties>
>       </configuration>
>     </plugin>
>     ...
>   </build>
>   ...
> </project>
> {code}

-- 
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

        

[jira] Commented: (MSUREFIRE-79) Docs for systemProperties on website are wrong

Posted by "Jason Dillon (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSUREFIRE-79?page=comments#action_61184 ] 

Jason Dillon commented on MSUREFIRE-79:
---------------------------------------

I'm confused now... I was using Maven 2.0.2, and this *will not work*:

{code}
      <configuration>
        <systemProperties>
          <property>
            <name>propertyName</name>
            <value>propertyValue</value>
          </property>
        </systemProperties>
      </configuration>
{code}

I'm not proposing anything... I'm stating that I tried to find the documentation for how to configure Maven to propagate a system property, and the documentation that I found on how to use the plugin was wrong.

> Docs for systemProperties on website are wrong
> ----------------------------------------------
>
>          Key: MSUREFIRE-79
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-79
>      Project: Maven 2.x Surefire Plugin
>         Type: Bug

>     Reporter: Jason Dillon
>     Priority: Critical

>
>
> Site says:
> {code}
> <project>
>   ...
>   <build>
>     ...
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <property>
>             <name>propertyName</name>
>             <value>propertyValue</value>
>           </property>
>         </systemProperties>
>       </configuration>
>     </plugin>
>     ...
>   </build>
>   ...
> </project>
> {code}
> Should be:
> {code}
> <project>
>   ...
>   <build>
>     ...
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <propertyName>propertyValue</propertyName>
>         </systemProperties>
>       </configuration>
>     </plugin>
>     ...
>   </build>
>   ...
> </project>
> {code}

-- 
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


[jira] Commented: (MSUREFIRE-79) Docs for systemProperties on website are wrong

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSUREFIRE-79?page=comments#action_61189 ] 

Dan Tran commented on MSUREFIRE-79:
-----------------------------------

there were a brief moment where systemProperties was changed to Map ( my stupid mistake) MSUREFIRE-61, then it is reversed in
MSUREFIRE-64. You may have the snapshot that has that change.  To fixit, please fetch source from svn and build
my appology.

> Docs for systemProperties on website are wrong
> ----------------------------------------------
>
>          Key: MSUREFIRE-79
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-79
>      Project: Maven 2.x Surefire Plugin
>         Type: Bug

>     Reporter: Jason Dillon
>     Priority: Critical

>
>
> Site says:
> {code}
> <project>
>   ...
>   <build>
>     ...
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <property>
>             <name>propertyName</name>
>             <value>propertyValue</value>
>           </property>
>         </systemProperties>
>       </configuration>
>     </plugin>
>     ...
>   </build>
>   ...
> </project>
> {code}
> Should be:
> {code}
> <project>
>   ...
>   <build>
>     ...
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <propertyName>propertyValue</propertyName>
>         </systemProperties>
>       </configuration>
>     </plugin>
>     ...
>   </build>
>   ...
> </project>
> {code}

-- 
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


[jira] Commented: (MSUREFIRE-79) Docs for systemProperties on website are wrong

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSUREFIRE-79?page=comments#action_61152 ] 

Dan Tran commented on MSUREFIRE-79:
-----------------------------------

The site is correct, the current code in svn uses Properties type for systemProperties.  What you proprose is Map type (I like it better that way thou)

> Docs for systemProperties on website are wrong
> ----------------------------------------------
>
>          Key: MSUREFIRE-79
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-79
>      Project: Maven 2.x Surefire Plugin
>         Type: Bug

>     Reporter: Jason Dillon
>     Priority: Critical

>
>
> Site says:
> {code}
> <project>
>   ...
>   <build>
>     ...
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <property>
>             <name>propertyName</name>
>             <value>propertyValue</value>
>           </property>
>         </systemProperties>
>       </configuration>
>     </plugin>
>     ...
>   </build>
>   ...
> </project>
> {code}
> Should be:
> {code}
> <project>
>   ...
>   <build>
>     ...
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <propertyName>propertyValue</propertyName>
>         </systemProperties>
>       </configuration>
>     </plugin>
>     ...
>   </build>
>   ...
> </project>
> {code}

-- 
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


[jira] Commented: (MSUREFIRE-79) Docs for systemProperties on website are wrong

Posted by "Jason Dillon (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSUREFIRE-79?page=comments#action_61185 ] 

Jason Dillon commented on MSUREFIRE-79:
---------------------------------------

FYI, with the above, the debug output suggests that a property name "property" will be set to a value of null, which actually causes an exception, since you *can not* System.setProperty("property", null).

> Docs for systemProperties on website are wrong
> ----------------------------------------------
>
>          Key: MSUREFIRE-79
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-79
>      Project: Maven 2.x Surefire Plugin
>         Type: Bug

>     Reporter: Jason Dillon
>     Priority: Critical

>
>
> Site says:
> {code}
> <project>
>   ...
>   <build>
>     ...
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <property>
>             <name>propertyName</name>
>             <value>propertyValue</value>
>           </property>
>         </systemProperties>
>       </configuration>
>     </plugin>
>     ...
>   </build>
>   ...
> </project>
> {code}
> Should be:
> {code}
> <project>
>   ...
>   <build>
>     ...
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <propertyName>propertyValue</propertyName>
>         </systemProperties>
>       </configuration>
>     </plugin>
>     ...
>   </build>
>   ...
> </project>
> {code}

-- 
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


[jira] Commented: (MSUREFIRE-79) Docs for systemProperties on website are wrong

Posted by "Jorg Heymans (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSUREFIRE-79?page=comments#action_61475 ] 

Jorg Heymans commented on MSUREFIRE-79:
---------------------------------------

wouldn't it be more appropriate to just release a new snapshot instead of forcing users to build from source ?

> Docs for systemProperties on website are wrong
> ----------------------------------------------
>
>          Key: MSUREFIRE-79
>          URL: http://jira.codehaus.org/browse/MSUREFIRE-79
>      Project: Maven 2.x Surefire Plugin
>         Type: Bug

>     Reporter: Jason Dillon
>     Priority: Critical
>      Fix For: 2.2

>
>
> Site says:
> {code}
> <project>
>   ...
>   <build>
>     ...
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <property>
>             <name>propertyName</name>
>             <value>propertyValue</value>
>           </property>
>         </systemProperties>
>       </configuration>
>     </plugin>
>     ...
>   </build>
>   ...
> </project>
> {code}
> Should be:
> {code}
> <project>
>   ...
>   <build>
>     ...
>     <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <configuration>
>         <systemProperties>
>           <propertyName>propertyValue</propertyName>
>         </systemProperties>
>       </configuration>
>     </plugin>
>     ...
>   </build>
>   ...
> </project>
> {code}

-- 
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