POM reference for <properties> is incomplete and misleading
-----------------------------------------------------------

                 Key: MNGSITE-136
                 URL: http://jira.codehaus.org/browse/MNGSITE-136
             Project: Maven Project Web Site
          Issue Type: Bug
         Environment: Maven 2.2.1; RHEL 6; Java 1.6.0_24
            Reporter: David Biesack
            Priority: Minor


See 
http://jira.codehaus.org/browse/MJAVADOC-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264846#action_264846

The POM reference at http://maven.apache.org/pom.html#Properties is misleading 
- it does not document the syntax for <properties> but says "Maven properties 
are value placeholder, like properties in Ant." so I mistakenly assumed Ant 
syntax, and some examples on that page are in an <activation> element which use

        <property>
          <name>mavenVersion</name>
          <value>2.0.3</value>
        </property>

syntax, but this is misleading

Apparently, <properties> uses the syntax 

  <properties>
     <some-property-name>some-property-value</some-property-name>
     <another-property-name>another-property-value</another-property-name>
  </properties>

but the reference doc does not state this clearly, only showing

  <properties>...</properties>


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