for your use case, you can use maven-resource-plugin to do the
placeholding prior to properties maven plugin invocation

-D



On Thu, Aug 30, 2012 at 6:21 PM,  <[email protected]> wrote:
> I'm not particularly trying to "inject properties into Maven's system
> properties", I'm simply trying to set a property (with resolution of
> placeholders) which will be available to all mojos for the rest of the Maven
> build.  My "use case" is a business requirement from my employer which
> requires me to read a properties file from an arbitrary location and use
> those properties for unit tests, etc.
>
> If you know a better way to do this, I'm all ears (eyes?).
>
>
> ----- Original Message ----- From: "Dan Tran" <[email protected]>
> To: <[email protected]>
> Sent: Wednesday, August 29, 2012 11:26 PM
>
> Subject: Re: [mojo-dev] Status of Properties Maven Plugin?
>
>
>> what is the used case to inject properties into Maven's system properties?
>>
>> -D
>>
>> On Wed, Aug 29, 2012 at 4:08 PM,  <[email protected]> wrote:
>>>
>>> I am interested in contributing to the project.   I have a specific
>>> project
>>> where I need to add properties to the System.properties collection from a
>>> file, but the properties need to have placeholders like ${mydirectory}
>>> resolved.   This plugin reads properties files, resolves placeholders,
>>> and
>>> adds system properties, but not all at the same time (unless I'm
>>> mistaken.)
>>> It's the only thing I've found in the Maven world that emulates the
>>> simple
>>> function of the Ant "properties file=filename.properties" task.
>>>
>>> In the interests of solving my own problem, and maybe getting this plugin
>>> up
>>> to version 1.0 instead of "alpha", I'd like to help.
>>>
>>> Any ideas?
>>>
>>>
>>> ----- Original Message ----- From: "Wayne Fay" <[email protected]>
>>> To: <[email protected]>
>>> Sent: Wednesday, August 29, 2012 8:41 AM
>>>
>>> Subject: Re: [mojo-dev] Status of Properties Maven Plugin?
>>>
>>>
>>>>> How would I go about finding the project owners?   The documents on the
>>>>> mojo.codehaus.org site appear to be quite out of date.
>>>>
>>>>
>>>>
>>>> What do you need to get in touch with the "project owners" about? Just
>>>> tell us what you need or are looking to do, and someone here may be
>>>> able to help -- even if we aren't the formal project owner.
>>>>
>>>> Wayne
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe from this list, please visit:
>>>>
>>>>    http://xircles.codehaus.org/manage_email
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>    http://xircles.codehaus.org/manage_email
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>

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

    http://xircles.codehaus.org/manage_email


Reply via email to