You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "David Biesack (JIRA)" <ji...@codehaus.org> on 2011/04/27 03:59:22 UTC
[jira] Created: (MNGSITE-136) POM reference for is
incomplete and misleading
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
[jira] (MNGSITE-136) POM reference for is incomplete
and misleading
Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MNGSITE-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy closed MNGSITE-136.
---------------------------------
Resolution: Fixed
Assignee: Herve Boutemy
done in [r1346704|http://svn.apache.org/viewvc?rev=1346704&view=rev]
> POM reference for <properties> is incomplete and misleading
> -----------------------------------------------------------
>
> Key: MNGSITE-136
> URL: https://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
> Assignee: Herve Boutemy
> 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, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira