You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/01/06 23:55:39 UTC

[jira] Closed: (MPXDOC-74) Remove the requirement of having to use ${pom} properties in project.properties for version selection.

Message:

   The following issue has been closed.

   Resolver: Jason van Zyl
       Date: Tue, 6 Jan 2004 4:54 PM

The need for ${pom} interpolation of properties has been removed. The
<maven:property/> tag is now being used to provide a default value.
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPXDOC-74


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPXDOC-74
    Summary: Remove the requirement of having to use ${pom} properties in project.properties for version selection.
       Type: Improvement

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-xdoc-plugin

   Assignee: Jason van Zyl
   Reporter: Jason van Zyl

    Created: Tue, 6 Jan 2004 9:48 AM
    Updated: Tue, 6 Jan 2004 4:54 PM

Description:
In a lot of projects we see the following usage:

maven.xdoc.version = ${pom.currentVersion}

Which is not something which we are going to allow in future versions of Maven because of the sheer redundancy. Here we are taking a value from the POM, putting it in a property only to have it used in a plugin again. The plugin should simply use the ${pom.currentVersion} from within the plugin. If someone actually wants to specify a version than they can but we don't need the above usage at all, we can default to that value in the absence of the property being specified.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report 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