Hi all

 

I just started with maven. I wonder, if during the build process it is possible to complete resources stored as properties with variables.

 

Example: My resource file Resouce.properties contains the following line:

 

    application.description = The really full long description of my application

 

This data is set in the project.xml too:

 

    <project>

        …

        <description>

            The really full long description of my application

        </description>

        ...

    </project>

 

In my resource file, I would like to be able to do something like:

 

    application.description = ${mave.project.description} // or something similar

 

When the original resource file is copied to the target directory, maven should replace these variables. Does somebody know how to do this?

 

Tanks,

Daniel Frey

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to