[ 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

Reply via email to