Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Labels:None
-
Environment:Maven 2.2.1; RHEL 6; Java 1.6.0_24
-
Number of attachments :
Description
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>
done in r1346704