Goal to allow update-properties to be run live
----------------------------------------------

                 Key: MVERSIONS-97
                 URL: http://jira.codehaus.org/browse/MVERSIONS-97
             Project: Maven 2.x Versions Plugin
          Issue Type: New Feature
            Reporter: Travis Calder
         Attachments: update-properties-live.patch

We would like a goal with functionality similar to update-properties.

However, this goal should also modify the project properties so that targets 
later in the execution can use the new values.

This goal should, preferably, be able to be triggered from inside a POM file.


Example usage:
{code}
    <build>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>versions-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>initialize</phase>
                        <goals>
                            <goal>update-properties-live</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            
            ...

        <plugins>
    </build>
{code}

I've attached a patch with a possible implementation of the feature, which I've 
tested to ensure it fulfills the functionality we require.

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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to