[ 
http://jira.codehaus.org/browse/MOJO-535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tony Dalbrekt updated MOJO-535:
-------------------------------

    Attachment: properties.patch

To write all project properties to file is not always desirable. The attached 
patch adds class (goal) {{WriteProperties}} which writes properties of your 
choice to {{outputFile}}. It would be nice if you committed this patch and I 
would also like to see this plugin be released in some way.

Usage:

{code:XML}
<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>properties-maven-plugin</artifactId>
    <version>1.0-SNAPSHOT</version>
    <executions>
        <execution> 
            <phase>generate-resources</phase>
            <goals>
                <goal>write-properties</goal>
            </goals>
            <configuration>
                <addBuildDate>true</addBuildDate>
                <properties>
                    <property>
                        <name>project.version</name>
                        <value>${project.version}</value>
                    </property>
                    <property>
                        <name>project.name</name>
                        <value>${project.name}</value>
                    </property>
                </properties>
                <outputFile>
                    target/classes/app.properties
                </outputFile>
            </configuration>
        </execution>
    </execusions>
</plugin>
{code}

> Submission of properties-maven-plugin
> -------------------------------------
>
>                 Key: MOJO-535
>                 URL: http://jira.codehaus.org/browse/MOJO-535
>             Project: Mojo
>          Issue Type: New Feature
>          Components: Plugin Submission
>         Environment: Platform independent
>            Reporter: Zarar Siddiqi
>         Attachments: properties-maven-plugin.zip, properties.patch, 
> ReadPropertiesMojo.java
>
>
> As posted on the Mojo-Dev and Maven-User mailing lists, I've created a 
> properties-maven-plugin which provides I/O functionality for maven 
> properties, a feature often requested on the mailing lists.
> The site for the plugin:
> http://individual.utoronto.ca/zarar/properties-maven-plugin/site/
> My mailing list posts about the plugin:
> http://www.nabble.com/properties-maven-plugin-tf2455107.html
> http://www.nabble.com/Any-interest-in-a-maven-properties-plugin--tf2454363.html
> The source for the plugin is attached.  Is it possible for this to be placed 
> in the sandbox so further development may be done on it?
> Thanks.

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